[xml] Re: Link warning on xmlFree in Visual Studio link
- From: Igor Zlatkovic <igor zlatkovic com>
- To: Israel Ganor <ganor softlink com>, xml gnome org
- Subject: [xml] Re: Link warning on xmlFree in Visual Studio link
- Date: Sat, 28 Feb 2004 16:52:38 +0100
Israel Ganor wrote:
Hi,
I'm developing an application using a static lib libxml (libxml2_a.lib) in
Visual Studio 6.0.
Everything goes fine except for a warning that appears on every build:
LINK : warning LNK4049: locally defined symbol "_xmlFree" imported
(LNK4049: The symbol was both exported from and imported to the program)
Any ideas how to eliminate it?
I compile with VC all the time and don't have that warning. Your project
file probably doesn't define everything the makefile in win32/ does.
Check the win32/Makefile.msvc and make sure that every /D switch there
is reflected in your project file.
If that fails, then read win32/readme.txt and compile from the command
line. If you still get the same error, then post back, it's a bug.
Ciao,
Igor
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]