This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/44317] ,##__VA_ARGS__ comma not eaten with -std=c++0x
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 May 2013 07:30:36 +0000
- Subject: [Bug preprocessor/44317] ,##__VA_ARGS__ comma not eaten with -std=c++0x
- Auto-submitted: auto-generated
- References: <bug-44317-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44317
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Because the eating of comma is a GNU extension. So it is enabled in GNU
compilation modes (the default, for C -std=gnu89, -std=gnu99, -std=gnu11, for
C++ -std=gnu++98, -std=gnu++03, -std=gnu++11, -std=gnu++0x, -std=gnu++1y) but
not in the more strict standard modes (-std=c{89,99,11},
-std=c++{98,03,11,0x,1y}).