]> gcc.gnu.org Git - gcc.git/commit
c-decl.c (grokdeclarator): In C99 mode...
authorJoseph Myers <jsm28@cam.ac.uk>
Mon, 12 Feb 2001 17:31:42 +0000 (17:31 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 12 Feb 2001 17:31:42 +0000 (17:31 +0000)
commitf43b27955c8481056c36a99ea05f7d5523169e49
tree1198d5daa5758bb57dfd972c4736717092539847
parentc6b33a47ea7d36d3e9eb4de227778332b179704d
c-decl.c (grokdeclarator): In C99 mode...

* c-decl.c (grokdeclarator): In C99 mode, give the more specific
"return type defaults" warning for functions with return type
defaulting to int.
* c-lang.c (c_init): In C99 mode, enable warnings for implicit
function declarations by default rather than only when pedantic.

testsuite:
* gcc.dg/c99-impl-int-1.c: Use stricter error string for implicit
return type.
* gcc.dg/cpp/digraphs.c: Declare puts.

From-SVN: r39608
gcc/ChangeLog
gcc/c-decl.c
gcc/c-lang.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c99-impl-int-1.c
gcc/testsuite/gcc.dg/cpp/digraphs.c
This page took 0.056519 seconds and 5 git commands to generate.