1 |
vapier 09/04/05 19:08:44 |
2 |
|
3 |
Modified: 69_all_gcc43-pr39013.patch |
4 |
Log: |
5 |
update pedwarn() invocation #254355 |
6 |
|
7 |
Revision Changes Path |
8 |
1.2 src/patchsets/gcc/4.3.3/gentoo/69_all_gcc43-pr39013.patch |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.3.3/gentoo/69_all_gcc43-pr39013.patch?rev=1.2&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.3.3/gentoo/69_all_gcc43-pr39013.patch?rev=1.2&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.3.3/gentoo/69_all_gcc43-pr39013.patch?r1=1.1&r2=1.2 |
13 |
|
14 |
Index: 69_all_gcc43-pr39013.patch |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.3.3/gentoo/69_all_gcc43-pr39013.patch,v |
17 |
retrieving revision 1.1 |
18 |
retrieving revision 1.2 |
19 |
diff -u -r1.1 -r1.2 |
20 |
--- 69_all_gcc43-pr39013.patch 22 Feb 2009 01:18:43 -0000 1.1 |
21 |
+++ 69_all_gcc43-pr39013.patch 5 Apr 2009 19:08:44 -0000 1.2 |
22 |
@@ -11,7 +11,7 @@ |
23 |
|
24 |
--- gcc/c-decl.c.jj 2009-01-26 15:24:44.000000000 +0100 |
25 |
+++ gcc/c-decl.c 2009-01-30 15:59:22.000000000 +0100 |
26 |
-@@ -781,14 +781,19 @@ pop_scope (void) |
27 |
+@@ -781,14 +781,18 @@ pop_scope (void) |
28 |
error ("nested function %q+D declared but never defined", p); |
29 |
undef_nested_function = true; |
30 |
} |
31 |
@@ -29,8 +29,7 @@ |
32 |
+ with an inline function specifier ... shall also be defined |
33 |
+ in the same translation unit." */ |
34 |
+ if (!flag_gnu89_inline) |
35 |
-+ pedwarn (input_location, 0, |
36 |
-+ "inline function %q+D declared but never defined", p); |
37 |
++ pedwarn ("inline function %q+D declared but never defined", p); |
38 |
+ if (!DECL_EXTERNAL (p)) |
39 |
+ DECL_EXTERNAL (p) = 1; |
40 |
+ } |