[Bug c++/13544] New: [3.3.3 regression] "conflicting types" for enums in different scopes
debian-gcc at lists dot debian dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 2 11:23:00 GMT 2004
[forwarded from http://bugs.debian.org/225663]
this regression was introduced between 20031206 and 20031229 on the 3.3 branch.
the following example
enum Enum1
{
None
};
namespace Test
{
enum Enum2
{
None
};
}
int main()
{
}
compiles withtest.cpp:11: error: conflicting types for `None'
test.cpp:4: error: previous declaration as `Enum1 None'
--
Summary: [3.3.3 regression] "conflicting types" for enums in
different scopes
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13544
More information about the Gcc-bugs
mailing list