Boost logo

Boost :

Subject: Re: [boost] [config] libs not supporting std::u16stringandstd::u32string.
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-10-08 04:53:25


>>>> Could we add a macro |BOOST_NO_CXX11_HDR_STRING||| (c++11 is not
>>>> completely provided) or the two more specific
>>>> |||BOOST_NO_CXX11_U16STRING||| and |||BOOST_NO_CXX11_U32STRING|||
>>>> for these cases?
>>>
>>> Oh :(
>>>
>>> Would you like to provide a patch?
>>>
>>>
>>
> I have started to add BOOST_NO_CXX11_U16STRING and
> BOOST_NO_CXX11_U32STRING (see attached patch) and at the end I'm getting
> an error for gcc-4.7.0 -std=c++0x which has nothing to be with my
> modifications.
>
> boost_no_cxx11_hdr_mutex.ipp: In function ‘int
> boost_no_cxx11_hdr_mutex::test()’:
> boost_no_cxx11_hdr_mutex.ipp:21:14: error: ‘std::timed_mutex’ has not
> been declared
> boost_no_cxx11_hdr_mutex.ipp:22:14: error: ‘std::recursive_timed_mutex’
> has not been declared

I assume you mean config_test.cpp ?

Current Trunk works for me with gcc-4.7.0 in C++0x mode. Testing matrix
suggests 4.7.1-0x is OK too.

> In addition I'm unable to build the docs
>
> quickbook.quickbook-to-boostbook
> ../../../bin.v2/libs/config/doc/darwin-4.2.1/debug/config.xml
> Generating Output File:
> ../../../bin.v2/libs/config/doc/darwin-4.2.1/debug/config.xml
> /Users/viboes/boost/trunk/libs/config/doc/config.qbk:1: warning: Invalid
> attributes for 'article document info': purpose, category, dirname
> /Users/viboes/boost/trunk/libs/config/doc/macro_reference.qbk:700:
> error: Syntax Error near column 2.
> /Users/viboes/boost/trunk/libs/config/doc/macro_reference.qbk:700:
> error: Syntax Error near column 3.
> /Users/viboes/boost/trunk/libs/config/doc/macro_reference.qbk:700:
> error: Syntax Error near column 3.
> /Users/viboes/boost/trunk/libs/config/doc/guidelines.qbk:131: warning:
> in column:75, [br] and \n are deprecated.
> /Users/viboes/boost/trunk/libs/config/doc/guidelines.qbk:131: warning:
> in column:79, [br] and \n are deprecated.
> /Users/viboes/boost/trunk/libs/config/doc/guidelines.qbk:135: warning:
> in column:25, [br] and \n are deprecated.
> /Users/viboes/boost/trunk/libs/config/doc/guidelines.qbk:135: warning:
> in column:29, [br] and \n are deprecated.
> /Users/viboes/boost/trunk/libs/config/doc/guidelines.qbk:136: warning:
> in column:77, [br] and \n are deprecated.
> /Users/viboes/boost/trunk/libs/config/doc/guidelines.qbk:136: warning:
> in column:81, [br] and \n are deprecated.
> /Users/viboes/boost/trunk/libs/config/doc/guidelines.qbk:138: warning:
> in column:103, [br] and \n are deprecated.
> /Users/viboes/boost/trunk/libs/config/doc/guidelines.qbk:138: warning:
> in column:107, [br] and \n are deprecated.
> config.qbk: error: Error count: 3.
>
> are these know issues?

That's weird, builds OK for me on Win32.

John.


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