Boost logo

Boost-Build :

From: Steven Zhou (szhou98_at_[hidden])
Date: 2004-04-30 12:46:21


John,

Thanks for the help. Using the verbose mode, I was
able to track down to the compiler switch /MD.
As a matter of fact, it is further narrowed down to
the macro _DLL. If this macro is defined, it compiles,
otherwise, it does not.

Also, when I use vc7.1, it worked without defining
_DLL explicitly.

Obviously, yours worked. I wonder if
--- John Maddock <john_at_[hidden]> wrote:
> > Is there anyone in boost build community able to
> shed some light
> > on the cause of that compilation error, and why
> bjam build was
> > successful?
> >
> > I am using VC++ 6 on Windows XP.
> >
> > The command line that I used is as follows:
> >
> > cl -c -GX -Od -Ic:\devtools\boost_1_31_0
> fstream_test.cpp
>
> Worked for me with:
>
> $ cl -GX -c -I../../../ *.cpp
> Microsoft (R) 32-bit C/C++ Optimizing Compiler
> Version 13.10.3077 for 80x86
> Copyright (C) Microsoft Corporation 1984-2002. All
> rights reserved.
>
> convenience_test.cpp
> default_name_check_test.cpp
> fstream_test.cpp
> operations_test.cpp
> path_test.cpp
> Generating Code...
>
> John.
>

__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk