This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66254] New: Member function shadowing enum classes
- From: "vini.ipsmaker at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 May 2015 18:34:26 +0000
- Subject: [Bug c++/66254] New: Member function shadowing enum classes
- Auto-submitted: auto-generated
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.