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
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
2 matches
Mail list logo