]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/21668 (gratuitous warning about "extern const" with initializer)
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Wed, 23 Nov 2005 07:07:33 +0000 (07:07 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Wed, 23 Nov 2005 07:07:33 +0000 (07:07 +0000)
commitb8b47f42511415601638a9efde76b54c39729c32
tree57cdce0dac387244542b1a40a789f1005b4896da
parent638c5a49dade942b12af632d1d298986a3cadb74
re PR c/21668 (gratuitous warning about "extern const" with initializer)

        PR c/21668
        * c-decl.c (grokdeclarator): Don't warn for 'extern const' when
        compiling at the intersection of C and C++.

testsuite/
        PR c/21668
        * gcc.dg/Wc++-compat.c: New.
        * gcc.dg/Wno-c++-compat.c: New.

From-SVN: r107401
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wc++-compat.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Wno-c++-compat.c [new file with mode: 0644]