http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43824
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|NEW |RESOLVED
--- Comment #6 from jason at gcc dot gnu dot org 2010-09-10 18:29 ---
Subject: Bug 43824
Author: jason
Date: Fri Sep 10 18:28:59 2010
New Revision: 164201
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164201
Log:
PR c++/43824
* error.c (maybe_warn_cpp0x): Add new
--- Comment #5 from rodrigorivascosta at gmail dot com 2010-07-26 09:59
---
Created an attachment (id=21313)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21313action=view)
Patch to add pedantic warning to inline namespaces in C++98
I think that this tiny patch should do the
--- Comment #2 from redi at gcc dot gnu dot org 2010-04-21 09:40 ---
Right, this is a GNU extension used to implement the library, which was later
standardised. We also support 'long long' in C++03 mode.
GCC is not intended to be a strict ANSI C++ verification tool, so doesn't
reject
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-04-21 16:54 ---
(In reply to comment #2)
Right, this is a GNU extension used to implement the library, which was later
standardised. We also support 'long long' in C++03 mode.
Yes but with -pedantic we do warn about long long:
--- Comment #4 from redi at gcc dot gnu dot org 2010-04-21 17:04 ---
good point
then #pragma GCC system_header must disable the warning, so we can use inline
namespaces and variadic templates in the standard library
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43824
--- Comment #1 from paolo dot carlini at oracle dot com 2010-04-21 00:24
---
This new feature of C++0x has been pioneered by GCC, used for the
implementation of the special modes of the C++ library (eg, debug-mode, then
parallel-mode, etc). I'm not sure how much we can tighten the