[MacPorts] #22112: Link error when linking with boost program options in the debug variant
MacPorts
noreply at macports.org
Fri Oct 16 07:20:39 PDT 2009
#22112: Link error when linking with boost program options in the debug variant
--------------------------------+-------------------------------------------
Reporter: raphael@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: boost
--------------------------------+-------------------------------------------
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.
--
Ticket URL: <http://trac.macports.org/ticket/22112>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list