g++ -c the attached example with 4.0 gives the above error. Is this expected
behaviour ?

-- 
           Summary: error: '<anonymous enum>' is/uses anonymous type'
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: caolanm at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to