warning LNK4217: locally defined symbol xmlCheckVersion imported in function main
Pro Turm via xml <[email protected]> Fri, 11 Dec 2020 15:35:00 +0100
| Newsgroups | gmane.comp.gnome.lib.xml.general |
|---|---|
| Message-ID | <CADC9rU-XsXhMm6SRr8P1Q6aQDx+9ZC6ep69ayRDmsu3b2HLa9Q@mail.gmail.com> |
Windows/libxml2 latest. The goal: compile libxml2 dll with MSVS. I'm having trouble identifying the root cause for this message. I found this in xmlversion.h /* * use those to be sure nothing nasty will happen if * your library and includes mismatch */ #ifndef LIBXML2_COMPILING_MSCCDEF XMLPUBFUN void XMLCALL xmlCheckVersion(int version); #endif /* LIBXML2_COMPILING_MSCCDEF */ And the definition in parserInternals.c And nothing else, not even in the dependent libs. Has anybody encountered similar problems? Additionally how do you generate config.h for Windows in this project? _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] https://mail.gnome.org/mailman/listinfo/xml