Boost Users :
Subject: Re: [Boost-users] boost::asio cross-library link issue
From: Miloslav Marik (miloslav.marik_at_[hidden])
Date: 2016-10-05 03:11:54
As far as I can remember, the complete problem with asio ABI compatibility
sits in the asio/detail/atomic_count.hpp and the problem is different size
of std::atomic<long> and boost::detail::atomic_count. You may probably use
BOOST_ASIO_DISABLE_STD_ATOMIC option to make non c++11 ASIO and c++11 ASIO
ABI compatible but I never tested it. We strictly use c++11.
2016-10-04 20:51 GMT+02:00 <friesens_at_[hidden]>:
> From: Maarten de Vries <maarten_at_[hidden]>
> To: boost-users_at_[hidden],
> Date: 10/04/2016 01:42 PM
> Subject: Re: [Boost-users] boost::asio cross-library link issue
> Sent by: "Boost-users" <boost-users-bounces_at_[hidden]>
> On 4 October 2016 at 14:00, Stanley Friesen <*friesens_at_[hidden]*
> <friesens_at_[hidden]>> wrote:
> Sigh. I thought so. I am having a dickens of a time getting libpcl to
> compile with the --std=c++11 flag. It seems that libvtk, used heavily by
> PCL, doesn't like C++11. (We can't compile our library without the flag
> since we actually use many C++11 features). I will continue to work on
> Thanks, this discussion has at least pointed me in the direction I need to
> âI have no problem compiling PCL 1.8.0 and VTK 7.0.0 with C++11 support .
> In the past VTK 6 (not sure on the exact version) and PCL 1.7.2 also worked
> The VTK wiki seems to indicate VTK 6.1 is compatible with C++11 .
> Maybe it is an issue with the compiler you're using. Some GCC versions had
> incomplete C++11 support iirc.
> Quite right, as soon as I got VTK 7.0, the PCL library compiled fine (we
> only had 5.8 and 6.0 until earlier today). Now my problem is purely with
> our own library.
> VTK 6.0 still had the issue in vtkMath.h where it used 'using namespace
> std' and then tried to call isinf or isnan. VTK7.0 correctly omits the
> using directive and calls std::isinf and std::isnan. It is possible this
> was actually fixed in 6.2 or 6.3.
>  *http://www.vtk.org/Wiki/VTK/Wrapping_C%2B%2B11_Code[vtk.org]*
> Boost-users mailing list
> This is an e-mail from General Dynamics Land Systems. It is for the
> intended recipient only and may contain confidential and privileged
> information. No one else may read, print, store, copy, forward or act in
> reliance on it or its attachments. If you are not the intended recipient,
> please return this message to the sender and delete the message and any
> attachments from your computer. Your cooperation is appreciated.
> Boost-users mailing list
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net