This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Some extra decorations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]