Boost logo

Boost Users :

Subject: Re: [Boost-users] Compiling boost with optional _GLIBCXX_DEBUG support
From: John Maddock (jz.maddock_at_[hidden])
Date: 2017-10-06 17:06:17


On 06/10/2017 14:48, Jayesh Badwaik via Boost-users wrote:
> Hi,
>
> How to compile boost so that compilation of user programs both with
> _GLIBCXX_DEBUG and without _GLIBCXX_DEBUG is supported?
>
> Currently, if I compile boost with _GLIBCXX_DEBUG then I cannot compile
> my programs without this flag, and vice versa. The actual error comes
> from program_options attached in a file.
>
> I gather from the interweb that the error is well known, however, I
> could not find instructions to compile boost such that both options are
> supported.

I don't believe it's actually possible to support both options - as I
understand it, whether the option is set or not changes the std lib ABI,
so it's a whole program thing - everything with _GLIBCXX_DEBUG or
everything without it.

John.

---
This email has been checked for viruses by AVG.
http://www.avg.com

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