Ticket #22112 (closed defect: fixed)
Link error when linking with boost program options in the debug variant
|Reported by:||raphael@…||Owned by:||nox@…|
The current approach of supporting debugging iterators in the +debug variant of boost (see #20478) has a drawback: You get a linker error if you try to link some program that was compiled without -D_GLIBCXX_DEBUG (i. e. without debugging iterators) with the boost program options library compiled with the +debug variant. This is the case for both the normal library libboost_program_options-mt.dylib and the debugging library libboost_program_options-mt-d.dylib.
I propose to add a new variant for debugging iterators and remove define=_GLIBCXX_DEBUG from the +debug variant.