[xml] RE: Link warning on xmlFree in Visual Studio link
- From: Israel Ganor <ganor softlink com>
- To: 'Igor Zlatkovic' <igor zlatkovic com>, "'xml gnome org'" <xml gnome org>
- Subject: [xml] RE: Link warning on xmlFree in Visual Studio link
- Date: Sun, 29 Feb 2004 11:07:15 +0200
Igor,
Excellent idea. I compare my project with the makefile and found that /D
LIBXML_STATIC was missing.
After adding it to VC the warning disappeared.
Thanks
Israel Ganor
-----Original Message-----
From: Igor Zlatkovic [mailto:igor zlatkovic com]
Sent: Saturday, February 28, 2004 5:53 PM
To: Israel Ganor; xml gnome org
Subject: Re: Link warning on xmlFree in Visual Studio link
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]