Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-05-05 06:36:22


On Thu, May 05, 2005 at 12:24:08PM +0100, Jonathan Wakely wrote:

> On Tue, May 03, 2005 at 10:43:36PM +0200, Thorsten Ottosen wrote:
>
> > Hi,
> >
> > When I look at something like
> >
> > http://tinyurl.com/9v2as
> >
> > I assume the error is not in my library. Should/Can we do anything to fix it?
> > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
> A number of tests have this error when running with _GLIBCXX_DEBUG:
> http://www.redi.uklinux.net/src/boost/status/cs-Linux-links.html#assign-multi_index_container-gcc-debug-mode
>
> That is because there is a fwd decl of a std type, which causes problems
> in debug mode since std::vector is really declared in another namespace
                      ^^^^^^^^^^^
                      (or whatever type is fwd decl'd)
                       
> and pulled into std with GCC's "strong using" extension.
>
> You can fix the problem by not using the fwd decl if _GLIBCXX_DEBUG (or
> _GLIBCPP_DEBUG for GCC 3.3) is defined. Just include the relevant
> header instead of the fwd decl (if someone's running with debug mode on
> they are concerned about performance, since debug mode violates the
       ^^^
       are NOT concerned

> performance guarantess of the std lib anyway)

Sorry for the typos!

jon

-- 
"Until they become conscious they will never rebel,
 and until after they have rebelled they cannot become conscious."
	- 1984, George Orwell

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk