Boost logo

Boost Users :

Subject: Re: [Boost-users] linking for release, has debug baggage
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-05-17 03:02:09


On Sun, May 16, 2010 at 9:25 PM, Dan Bloomquist <danb_at_[hidden]> wrote:
>
> Hi,
> I have a large project and for what ever reason if I add xpressive.hpp in my
> precompiled header, it completly kills intelligence. So I figured I'd move
> the stuff I want to use off to a lib. Works fine in debug but if I build the
> release, this lib tries to link in the Microsoft debug libs.
>
> In my project:
> 1>mfcs90.lib(nolib.obj) : warning LNK4098: defaultlib 'mfc90d.lib' conflicts
> with use of other libs; use /NODEFAULTLIB:library
> 1>mfcs90.lib(nolib.obj) : warning LNK4098: defaultlib 'mfcs90d.lib'
> conflicts with use of other libs; use /NODEFAULTLIB:library
> and just this one in the test solution:
> 1>msvcrt.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrtd.lib'
> conflicts with use of other libs; use /NODEFAULTLIB:library
>
> I have been able to recreate the problem in a small solution that should not
> dependent on my directories other than setting the boost path:
>
> <http://lakeweb.net/downloads/RaVpath.zip>
> (20k) vc 2008 (9.0) boost 1_42
>
> And I don't know, this may have nothing to do with boost, but I have other
> dlls and libs without this problem. It is coming from 'boost::filesystem' as
> best as I can determine.
>
> And maybe someone has seen this before and knows off the top of their head.

That is because the default Intellisense in VisualStudio has a *LOT*
of issues with templates. I find Visual Assist (an add-on for VS by
WholeTomato) works *SO* much better. It is not cheap, but it truly
makes Visual Studio incomparable to any other IDE once installed.

No I am not an ad, I just like to mention products I love; Visual
Assist Addon is the one and *only* one reason I primarily program on
Windows, if Linux had any product anywhere near as good, I would
switch in a heartbeat.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net