Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::asio cross-library link issue
From: Miloslav Marik (miloslav.marik_at_[hidden])
Date: 2016-10-04 06:32:43


The problem is with --std=c++11. I posted similar problem several years
ago and kindly asked to state that asio builds with and
without cxxflags="-std=c++11" create classes with different ABI.
Add cxxflags="-std=c++11" to boost build.


2016-10-03 21:27 GMT+02:00 Stanley Friesen <friesens_at_[hidden]>:

> I managed to get the compiler options from the two builds. Other than -I
> options, there are few differences. None of them directly control structure
> packing. The PCL build has -fPIE (and also a matching -fPIC) and
> -DBOOST_DISABLE_ASSERTS. Our compile options include -mtune=<arch> (along
> with a matching -march), --std=c++11, -Dx86_64, and -g (though both have
> -O3
> as well).
> In typing this, it occurs to me the issue may be the --std=c++11. I will
> test that ASAP. (I already tested the -DBOOST_DISABLE_ASSERT to no effect).
> --
> View this message in context: http://boost.2283326.n4.
> Sent from the Boost - Users mailing list archive at
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at