]> gcc.gnu.org Git - gcc.git/commit
c-decl.c (grokdeclarator): If -Wc++-compat, warn about a global variable with an...
authorIan Lance Taylor <iant@google.com>
Fri, 19 Jun 2009 15:25:16 +0000 (15:25 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 19 Jun 2009 15:25:16 +0000 (15:25 +0000)
commit88eeff6f5a1347dc09de33c26a68648c4dea7f80
treefc52468ac72e4ed7eef097489864a842fdb17db4
parent28a876a42966c74582188b6c124c790f0b724535
c-decl.c (grokdeclarator): If -Wc++-compat, warn about a global variable with an anonymous type.

./: * c-decl.c (grokdeclarator): If -Wc++-compat, warn about a global
variable with an anonymous type.
fortran/:
* cpp.c (struct gfc_cpp_option_data): Give this struct, used for
the global variable gfc_cpp_option, a name.
testsuite/:
* gcc.dg/Wcxx-compat-16.c: New testcase.

From-SVN: r148708
gcc/ChangeLog
gcc/c-decl.c
gcc/fortran/ChangeLog
gcc/fortran/cpp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wcxx-compat-16.c [new file with mode: 0644]
This page took 0.062113 seconds and 5 git commands to generate.