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++/66254] New: Member function shadowing enum classes


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66254

            Bug ID: 66254
           Summary: Member function shadowing enum classes
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vini.ipsmaker at gmail dot com
  Target Milestone: ---

Created attachment 35600
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35600&action=edit
The test code to trigger the error

The attached code compiles fine on clang, but fails with GCC. C++11 mode is
required to compile the code.


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