|
Boost : |
Subject: Re: [boost] Can't build boost 1.48 with STLport 5.2.1
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2012-02-16 11:12:12
Hi Robert,
On Wednesday, 15. February 2012 14:47:39 Robert Dailey wrote:
> On Wed, Feb 15, 2012 at 3:43 AM, Jürgen Hunold <jhunold_at_gmx.eu> wrote:
> > Hi Robert,
Flags used by Boost.Build for building Boost:
> > > /Z7
> > > /Od
> > > /Ob0
> > > /W4
> > > /GR
> > > /MDd
> > > /Zc:forScope
> > > /Zc:wchar_t
> > > /Wp64
> > > /GB
> > > /Op
> > > /wd4675
> > > /EHs
> > > -c
> > >
> > > -DBOOST_ALL_NO_LIB=1
> > >
> > > "-I."
> >
> > for compiling the Boost libraries.
> >
> > The questions remains: Which flags uses STLport?
> Here is the debug command that STLport make scripts use on VS 2008 for the
> debug library:
>
> cl /nologo /W4 /EHsc /Zm800 /MTd /Zi /DWINVER=0x0501 /GS /DWIN32
> /D_WINDOWS /D_DEBUG /D_STLP_DEBUG /I../../stlport /c
> /Foobj\vc9\static-stlg\allocators.o
> /Fdobj\vc9\static-stlg\stlportstld_static.pdb ../../src\allocators.cpp
>
> Based on this information, can you identify the problem? I see
> that /Zc:wchar_t is missing, but according to MSDN documentation, this is
> the default anyway.
Yes, explicit wchar_t was introduced for older msvc compiler. Obsolete
nowadays.
My best guess is the /D_STLP_DEBUG define which enables enhanced debugging
magic (iterator validation etc.) which might not be binary compatible with
Boost. Try to add "define=_STLP_DEBUG" on your commandline an see if this
helps.
And maybe look up /GR vs. /GS and most probably /MDd vs. /MTd
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold_at_gmx.eu !
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk