diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-04-05 19:08:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-04-05 19:08:44 +0000 |
commit | 75d865954da2b699157a6420b07f7a2cbbd7dd76 (patch) | |
tree | c43ecc8ded890c245ccf883c3c710450568c7daf /4.3.3 | |
parent | add some hunks to update the yacc code that we will re-run (diff) | |
download | gcc-patches-75d865954da2b699157a6420b07f7a2cbbd7dd76.tar.gz gcc-patches-75d865954da2b699157a6420b07f7a2cbbd7dd76.tar.bz2 gcc-patches-75d865954da2b699157a6420b07f7a2cbbd7dd76.zip |
update pedwarn() invocation #254355
Diffstat (limited to '4.3.3')
-rw-r--r-- | 4.3.3/gentoo/69_all_gcc43-pr39013.patch | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/4.3.3/gentoo/69_all_gcc43-pr39013.patch b/4.3.3/gentoo/69_all_gcc43-pr39013.patch index 1f94f0f..0b868b7 100644 --- a/4.3.3/gentoo/69_all_gcc43-pr39013.patch +++ b/4.3.3/gentoo/69_all_gcc43-pr39013.patch @@ -11,7 +11,7 @@ http://bugs.gentoo.org/254355 --- gcc/c-decl.c.jj 2009-01-26 15:24:44.000000000 +0100 +++ gcc/c-decl.c 2009-01-30 15:59:22.000000000 +0100 -@@ -781,14 +781,19 @@ pop_scope (void) +@@ -781,14 +781,18 @@ pop_scope (void) error ("nested function %q+D declared but never defined", p); undef_nested_function = true; } @@ -29,8 +29,7 @@ http://bugs.gentoo.org/254355 + with an inline function specifier ... shall also be defined + in the same translation unit." */ + if (!flag_gnu89_inline) -+ pedwarn (input_location, 0, -+ "inline function %q+D declared but never defined", p); ++ pedwarn ("inline function %q+D declared but never defined", p); + if (!DECL_EXTERNAL (p)) + DECL_EXTERNAL (p) = 1; + } |