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