gcc 5 C++ string issue

Kevin Kofler kevin.kofler at chello.at
Wed Feb 25 00:22:20 UTC 2015


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



More information about the devel mailing list