Re: [libxml++] Win32 link error (v0.24.0 + msvc patch)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Mardi 24 Juin 2003 17:14, Ephraim Vider a écrit :
> Ok, I have found the problem,

Great !

> The prebuilt libxml2 2.5.7 was compiled with thread support (as opposed to
> 2.5.4) so the "globals" are accessed differently.
>
> You need to add _REENTRANT  to the libxml++ project preprocessor
> definitions in order to activate the thread support in the header and have
> access to the global variables.
>

So we'll have the same problem on unixboxes when libxml is compiled with 
thread support.
Question for autotools gurus:
- - Is there a way at configure time to now wether or not libxml2 has been 
compiled with thread-support ?
subquestion:
- - Does defining _REENTRANT and link against a libxml2 without threads will be 
a problem ? I don't think so but we need to test.

Cheers,

Christophe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE++HAiB+sU3TyOQjARAmflAKCYpmbs+REvFCoAjgk693H+t3nncACeNC1u
0jSz6DiOR77XLgYLVE/WhKU=
=Xpij
-----END PGP SIGNATURE-----





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