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 declaration as `Enum1 None'


g++-3.2 compiles without any problem.

                        


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux terra.sol.org 2.4.23-1-k7 #1 Mon Dec 1 00:05:09 EST 2003 i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages g++-3.3 depends on:
ii  gcc-3.3                    1:3.3.3-0pre1 The GNU C compiler
ii  gcc-3.3-base               1:3.3.3-0pre1 The GNU Compiler Collection (base 
ii  libc6                      2.3.2.ds1-10  GNU C Library: Shared libraries an
ii  libstdc++5-3.3-dev         1:3.3.3-0pre1 The GNU Standard C++ Library v3 (d

-- no debconf information



Reply via email to