Package: g++-3.4
Version: 3.4.2-2
Severity: important

Hi,

the following code doesn't compile. It's related to my BR #233548


Andr�


struct Dummy
{
    void foo();
};

const bool g_bAlways = false;

int main()
{
    bool test;
    if (g_bAlways)
    {
        if (Dummy* dummy = 0)
        {
            if (!test)
            {
                int d;
                d = 1;
            }
            dummy->foo();
         }
     }

     return 0;
}
                                                                                
                                            

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages g++-3.4 depends on:
ii  gcc-3.4                     3.4.2-2      The GNU C compiler
ii  gcc-3.4-base                3.4.2-2      The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libstdc++6-dev              3.4.2-2      The GNU Standard C++ Library v3 (d

-- no debconf information


Reply via email to