Re: [xml] undefined reference to _imp__xmlFree error on mingw with msys for 2.6.5
- From: mgrushinskiy comcast net
- To: Igor Zlatkovic <igor zlatkovic com>
- 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:01:44 +0000
I can confirm that cygwin worked as-is. So I wouldn't change this section for cygwin. Only mingw section
needs this fix.
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
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]