From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10526 invoked by alias); 30 Aug 2008 14:26:40 -0000 Received: (qmail 8764 invoked by alias); 30 Aug 2008 14:25:15 -0000 Date: Sat, 30 Aug 2008 14:26:00 -0000 Message-ID: <20080830142515.8763.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/37276] Trouble with some (C99?) math builtins and namespace std In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenther at suse dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg02443.txt.bz2 ------- 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