This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51888] [C++11]warn comma at end of enumerator list with -pedantic
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Jan 2012 04:01:47 +0000
- Subject: [Bug c++/51888] [C++11]warn comma at end of enumerator list with -pedantic
- Auto-submitted: auto-generated
- References: <bug-51888-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51888
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic, rejects-valid
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.7.0
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-18 04:01:47 UTC ---
Already fixed for 4.7.0:
2011-11-04 Magnus Fromreide <magfr@lysator.liu.se>
* parser.c (cp_parser_enumerator_list): Do not warn about
trailing commas in C++0x mode.