[xml] warning LNK4217: locally defined symbol xmlCheckVersion imported in function main



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?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]