You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Radovan Chytracek <ra...@gmail.com> on 2005/05/09 20:48:19 UTC
Fwd: Linker warning LNK4006 problem...
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. <da...@d-a-s.com>
Date: May 9, 2005 8:18 PM
Subject: Re: Linker warning LNK4006 problem...
To: radovan.chytracek@gmail.com
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:Radovan.Chytracek@cern.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
Re: Linker warning LNK4006 problem...
Posted by Gollum <mo...@gmail.com>.
To disable this, use command /IGNORE:4006 in project poperties -> linker
That's all
Stuck with M$VC6 wrote:
>
> I managed to fix this by removing some of the dependencies between static
> libraries. Even though you may want some libraries built in a specific
> order, just including the necessary header file is often enough. Go to
> Project->Dependencies and uncheck some of the tick boxes. Recompile and
> you'll see the number of warnings of type LNK4006 have reduced. Keep
> unchecking the boxes that cause these warnings and you can get them down
> to zero quite easily HTH.
>
>
>
--
View this message in context: http://www.nabble.com/Fwd%3A-Linker-warning-LNK4006-problem...-tp20631p20465093.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
Re: Linker warning LNK4006 problem...
Posted by Stuck with M$VC6 <di...@medphys.ucl.ac.uk>.
I managed to fix this by removing some of the dependencies between static
libraries. Even though you may want some libraries built in a specific
order, just including the necessary header file is often enough. Go to
Project->Dependencies and uncheck some of the tick boxes. Recompile and
you'll see the number of warnings of type LNK4006 have reduced. Keep
unchecking the boxes that cause these warnings and you can get them down to
zero quite easily HTH.
--
View this message in context: http://www.nabble.com/Fwd%3A-Linker-warning-LNK4006-problem...-tf7282.html#a12795625
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org