[xml] Handling MSVC exports (was Release of libxml2-2.4.21)
- From: "Vakoc, Mark" <Mark_Vakoc jdedwards com>
- To: "'Igor Zlatkovic'" <izlatkovic daenet de>, xml gnome org
- Subject: [xml] Handling MSVC exports (was Release of libxml2-2.4.21)
- Date: Thu, 2 May 2002 11:19:00 -0600
Sure. This would export all functions, even static ones, but
who cares?
I do. /Zg reports the static keyword, so those functions can be filtered
out.
What is more important a flaw, it would not export variables. In the
default configuration, xmlFree is a pointer to a function and pointers
are variables.
Yes but all exported variables are already declared as LIBXML_DLL_IMPORT. A
simple change to the definition of that to be __declspec(dllimport) when
building against libxml2, and __declspec(dllexport) when building libxml2
takes care of the variables. No .def.src needed.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]