gcc 5 C++ string issue

Orion Poplawski orion at cora.nwra.com
Wed Feb 25 04:03:20 UTC 2015


On 02/24/2015 05:22 PM, Kevin Kofler wrote:
> Orion Poplawski wrote:
>> Getting:
>>
>> /builddir/build/BUILD/mrpt-1.0.2/libs/base/include/mrpt/utils/mrpt_macros.h:296:150:
>> error: no match for 'operator<<' (operand types are
>> 'std::basic_ostream<char>' and 'std::ostringstream {aka
>> std::__cxx11::basic_ostringstream<char>}')
>>    #define ASSERT_NOT_EQUAL_( __A, __B)  { if (__A==__B) {
>>    #std::ostringstream
>> s;s<<"ASSERT_NOT_EQUAL_("<<#__A<<","<<#__B<<") failed with\n"<<#__A<<"="
>> <<__A <<"\n"<<#__B<<"="<<__B; THROW_EXCEPTION(s.str()) } }
>>
>>
>> Any idea what wrong here?
>
> Your dependency needs to be rebuilt against the new g++ 5 ABI first before
> you can rebuild the dependent package.
>
> (This only affects Rawhide because the new ABI is disabled by default on
> F22.)
>
>          Kevin Kofler
>

I'm not so sure about that.  I've seen errors before that did indicate 
that before (undefined symbols with std::__cxx11....), but this involves 
std::basic_ostream<> and std::ostringstream which I would have put in 
the the std c++ library.  But if you are correct, I have no idea what 
library would need to be rebuilt.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the devel mailing list