Boost logo

Boost :

Subject: Re: [boost] Can't build boost 1.48 with STLport 5.2.1
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2012-02-15 15:47:39


On Wed, Feb 15, 2012 at 3:43 AM, Jürgen Hunold <jhunold_at_gmx.eu> wrote:

> Hi Robert,
>
> On Tuesday, 14. February 2012 17:16:22 Robert Dailey wrote:
> > On Mon, Feb 13, 2012 at 11:27 AM, Robert Dailey <rcdailey_at_[hidden]>
> wrote:
> > > On Fri, Feb 10, 2012 at 4:10 PM, Andrey Semashev <
>
> > > Thanks I found the setting. Yes I'm seeing wchar_t. Here are a couple
> of
> > > random functions:
> > >
> > > void * stlpd_std::basic_filebuf<wchar_t,class
> > > stlpd_std::char_traits<wchar_t> >::fd(void)
> > > wchar_t const * stlpd_std::ctype<wchar_t>::narrow(wchar_t const
> *,wchar_t
> > > const *,char,char *)
> > >
> > > Any idea where to go from here? stlportstld.5.2.dll symbols seem to use
> > > wchar_t.
>
> The question might be which incarnation of wchar_t is present in the dll
>
> > Any updates?
>
> Boost.Build uses the following settings (from one of your last mails, my
> answer seems to be lost somehow...)
>
> > file
> >
> bin.v2\libs\regex\build\msvc-7.1\debug\link-static\threading-multi\c_regex_t
> > raits.obj.rsp "libs\regex\build\..\src\c_regex_traits.cpp"
> >
> -Fo"bin.v2\libs\regex\build\msvc-7.1\debug\link-static\threading-multi\c_re
> > gex_traits.obj" -TP
> > /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?
>
> We have abandoned STLport ages ago (read: last was 4.2 or so), so I'm
> guessing
> wild right now.

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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk