This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Some extra decorations
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: libstdc++ at gcc dot gnu dot org, Benjamin Kosnik <bkoz at redhat dot com>
- Date: Sun, 03 May 2009 18:46:28 +0200
- Subject: Re: Some extra decorations
- References: <20090503162856.GA14670@kam.mff.cuni.cz>
Hi,
> I am now looking if I can get the warnings into low enough noise so it
> can be used by default. There are some problems with that, in
> particular stuff in throw_condtioinally defined in throw-allocator.h
> It seems to be plain externally visible function that is defined in
> system header. Why we do so?
> It don't seem to be exported from libstdc++ nor useful in application
> (i.e. if I include throw-allocator in multiple source files I get link
> error). How these headers are supposed to be used?
>
Benjamin probably knows better about this allocator, certainly, as-is,
you are right there is something wrong with those functions, because
defined out-of-line.
Patch is ok, thanks!
Paolo.