Bug#225663: g++-3.3: conflicting types for enums in different scopes

2003-12-31 Thread Andre Woebbeking
Package: g++-3.3 Version: 1:3.3.3-0pre1 Severity: important Tags: sid Hi, the following example enum Enum1 { None }; namespace Test { enum Enum2 { None }; } int main() { } compiles with test.cpp:11: error: conflicting types for `None' test.cpp:4: error: previous

Bug#225663: g++-3.3: conflicting types for enums in different scopes

2003-12-31 Thread Falk Hueffner
Andre Woebbeking [EMAIL PROTECTED] writes: test.cpp:11: error: conflicting types for `None' test.cpp:4: error: previous declaration as `Enum1 None' I cannot reproduce this with g++-3.3 (GCC) 3.3.2 (Debian), so it must have been introduced recently. -- Falk