This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37276] Trouble with some (C99?) math builtins and namespace std
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2008 14:25:15 -0000
- Subject: [Bug c++/37276] Trouble with some (C99?) math builtins and namespace std
- References: <bug-37276-16141@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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