Re: [xml] undefined reference to _imp__xmlFree error on mingw with msys for 2.6.5
- From: Igor Zlatkovic <igor zlatkovic com>
- To: mgrushinskiy comcast net
- Cc: xml gnome org
- Subject: Re: [xml] undefined reference to _imp__xmlFree error on mingw with msys for 2.6.5
- Date: Mon, 02 Feb 2004 19:12:26 +0100
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 just remember some bug reports and posts claiming that part to
be exactly as it was, saying it won't compile otherwise. However, I see
it working. And I think that Cygwin should be treated the same, but that
I cannot test.
I'll play with it a but more and commit if I find no showstoppers.
Ciao,
Igor
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]