This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/54545] New: diagnostic overflow


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

             Bug #: 54545
           Summary: diagnostic overflow
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: igodard@pacbell.net


This code:

enum class d(a,b,c};

gets you this:

s3:~/ootbc/personal/ivan$ g++ -std=c++0x  foo.cc
foo.cc:1:1: warning: elaborated-type-specifier for a scoped enum must not use
the Ãclassà keyword [enabled by default]
foo.cc:1:12: error: use of enum Ãdà without previous declaration
foo.cc:1:15: error: expected Ã)Ã before Ã,Ã token
foo.cc:1:17: error: invalid type in declaration before Ã,Ã token
foo.cc:1:19: error: expected initializer before Ã}Ã token
foo.cc:1:19: error: expected declaration before Ã}Ã token


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]