i don't know if this is my fault or what
but why would the compiler have a bunch of errors about the report functions and invalid conversion from int to int* (*) ()?
any help would be nice thankyou
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I had the same errors. What helped for me was renaming some used names.
While I believe only one #define collision existed, I will tell you all I've renamed:
1) all occurrences of "errno" into something more inconspicuous ( "errnr" did it for me).
errno exists as a function, so the variablename is actually read as a function pointer, that's why we see * (*)() in there..
while i think this should do it, i've left my other renames in:
2) "on_error" into "onError"
3) "report" into "report2"
i don't think the 2. and 3. renames are necessary.. I will probably change "report2" back to "report", but with these changes it compiles for me.
Good luck!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i don't know if this is my fault or what
but why would the compiler have a bunch of errors about the report functions and invalid conversion from int to int* (*) ()?
any help would be nice thankyou
Hi!
I had the same errors. What helped for me was renaming some used names.
While I believe only one #define collision existed, I will tell you all I've renamed:
1) all occurrences of "errno" into something more inconspicuous ( "errnr" did it for me).
errno exists as a function, so the variablename is actually read as a function pointer, that's why we see * (*)() in there..
while i think this should do it, i've left my other renames in:
2) "on_error" into "onError"
3) "report" into "report2"
i don't think the 2. and 3. renames are necessary.. I will probably change "report2" back to "report", but with these changes it compiles for me.
Good luck!
thanks it compiles fine
is this meant to be compiled to a static library and then linked into other code?
When I initialy wrote XMLSP, I wanted it to be embedded in my projects, just like the one file version of sqlite.