This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug c++/37276] Trouble with some (C99?) math builtins and namespace std



------- Comment #10 from rguenther at suse dot de  2008-08-30 14:25 -------
Subject: Re:  Trouble with some (C99?) math builtins and
 namespace std

On Fri, 29 Aug 2008, paolo dot carlini at oracle dot com wrote:

> ------- Comment #9 from paolo dot carlini at oracle dot com  2008-08-29 18:46 -------
> FWIW, this kind of contortion appear to work, but really I'd rather prefer not
> using it...

So from the previous replies I gather that if one adds a symbol
to the std:: namespace the new additions are not mangled if their
unmangled name is used by a GNU extension?  For what reason?
At least I would miss a warning here that atanh is re-declared in
a different namespace or so.

Richard.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37276


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