Package: g++-4.7
Version: 4.7.2-5
Severity: normal

Dear Maintainer,

Please upgrade gcc to 4.7.3, I keep writing code that hits a regression
in 4.7.2 (see below).



// compile with g++ -std=c++0x bug.cpp
// works with: gcc 4.6.4, gcc 4.7.3, gcc 4.8.2
// fails with: gcc 4.7.2
struct Foo
{
    template<unsigned long n>
    Foo(const char (&)[n]) {}
};

int main()
{
    Foo arr[] =
    {
        "foo",
        "bar",
    };
}


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140325034436.6876.53147.reportbug@joyplim

Reply via email to