I have been contacted already by two other guys having the same
problem as I still do have. Does anybody in XercesX community knows
how to fix that?
Thanks
Radovan
---------- Forwarded message ----------
From: Dale Newcomb, Jr. <[EMAIL PROTECTED]>
Date: May 9, 2005 8:18 PM
Subject: Re: Linker warning LNK4006 problem...
To: [EMAIL PROTECTED]
Hi, I ran across your message (below) while searching for a solution to
the exact same problem...how to get rid of all of my LNK4006 warnings.
Did you ever find a resolution to this? If so, I would be very grateful
if you could let me know how you were able to fix your problem...these
builds are taking me hours due to all of the warnings. :(
Thanks,
Dale
--- Original Message ---
Re: Linker warning LNK4006 problem...
Radovan Chytracek
Fri, 18 Mar 2005 01:43:04 -0800
Hi Alberto,
I took official XercesC zip distribution and compiled using MsDev
solution which BTW needed to be converted to the latest format. Once
having these XercesC libraries in place I created my new solution and
static library project for my sources and tried to build. I knew the
issues with mixing run-times from the past so I paid attention and set
them different for Debug and Release builds.
Looking at the MSDN I have found that these warnings may come due to
/Gy function level linking switch. I saw this is being used by
executable targets in XercesC examples but setting it off or on in my
static library project had no effect.
What are the recommended settings to build a client library using
XercesC lib files? I saw some preprocessor definitions to switch
dllexport or dllimport and I remember using these in our project
settings from the past with MsDev VC++ 6.0 now with MsDev .NET 2003
VC++ 7.1 I used them as well but not a big success. I get my library
built, it just takes a long time till MsDev dumps out all the warning
messages.
Cheers
Radovan
--
Radovan Chytracek CERN IT/ADC
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]