Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How the "configure wrapper for libsv" is supposed to work ? #16

Open
JonathanGirardeau opened this issue May 14, 2024 · 0 comments
Open

Comments

@JonathanGirardeau
Copy link

I'm trying to build with MSVC, after solving some problems I have unresolved symbols like rasqal_sv_new.
And I am stuck at understanding these lines:

#define sv_new rasqal_sv_new
#define sv_free rasqal_sv_free
#define sv_set_option rasqal_sv_set_option
#define sv_get_line rasqal_sv_get_line
#define sv_get_header rasqal_sv_get_header
#define sv_parse_chunk rasqal_sv_parse_chunk

https://github.com/dajobe/rasqal/blob/ce52f41f06069b9fb3e5d4ebe6171da206c02d06/src/sv_config.h#L38C16-L38C29

sv_new is declared and defined in libsv so in sv_config.h you are trying to redirect sv_new to rasqal_sv_new ?
However rasqal_sv_new is not defined.

I can imagine that you are trying to do the opposite: redirect rasqal_sv_new to sv_new. However rasqal_sv_new is not used anywhere and I think the code in sv_config.h should be #define rasqal_sv_new sv_new.

@JonathanGirardeau JonathanGirardeau changed the title How the configure wrapper for libsv is supposed to work ? How the "configure wrapper for libsv" is supposed to work ? May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant