public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29018]  New: empty enum accepted
@ 2006-09-11 16:02 amylaar at gcc dot gnu dot org
  2006-09-11 16:09 ` [Bug c++/29018] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-09-11 16:02 UTC (permalink / raw)
  To: gcc-bugs

The c++ parser accepts:

enum { };

which is specifically listed in clause 7 paragraph 3 of the C++ standard as
ill-formed.


-- 
           Summary: empty enum accepted
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29018


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <bug-29018-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-10-11  0:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-11 16:02 [Bug c++/29018] New: empty enum accepted amylaar at gcc dot gnu dot org
2006-09-11 16:09 ` [Bug c++/29018] " pinskia at gcc dot gnu dot org
2006-09-15 16:46 ` sje at cup dot hp dot com
2007-01-21 18:24 ` manu at gcc dot gnu dot org
2007-01-24  0:34 ` sje at cup dot hp dot com
2007-01-24  1:31 ` manu at gcc dot gnu dot org
2007-01-24 16:06 ` sje at cup dot hp dot com
2007-09-04 16:52 ` pcarlini at suse dot de
2007-09-04 17:47 ` pcarlini at suse dot de
2007-09-04 17:53 ` pcarlini at suse dot de
2007-09-17 19:18 ` pcarlini at suse dot de
     [not found] <bug-29018-4@http.gcc.gnu.org/bugzilla/>
2012-10-11  0:34 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).