Re: [xml] undefined reference to _imp__xmlFree error on mingw with msys for 2.6.5



mgrushinskiy comcast net wrote:
Igor,

Your latest suggestion fixes the problem on msys too.
Same should be done for libxslt libxslt/xsltexports.h libexslt/exsltexports.h
I hope it will be submitted to CVS before next release.

Thanks,
--MG

/* Windows platform with GNU compiler (Mingw) */
#if defined(_WIN32) && defined(__MINGW32__)
   #undef XMLPUBVAR
   #ifdef __cplusplus
     #define XMLPUBVAR extern
   #else
     #define XMLPUBVAR
   #endif
   #if !defined _REENTRANT
     #define _REENTRANT
   #endif
#endif

Okay, I commited this.

Ciao,
Igor




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