This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Some extra decorations
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: paolo dot carlini at oracle dot com, libstdc++ at gcc dot gnu dot org
- Date: Sun, 3 May 2009 17:46:44 +0100
- Subject: Re: Some extra decorations
- References: <20090503162856.GA14670@kam.mff.cuni.cz>
2009/5/3 Jan Hubicka:
> Hi,
> re-merging to pretty-ipa shown that there are few extra simple cases
> where I missed to add annotations.
>
> 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?
I suspect it's simply broken :-)
It's used in the libstdc++ testsuite, but in that context it's only
ever included in a single translation unit.
The throw_allocator members should be declared inline.
Jonathan