This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix decl_plugin.c testcase


Hi!

I'm getting
UNRESOLVED: decl_plugin.c compilation, -I. -I/usr/src/gcc/gcc/testsuite -I/usr/src/gcc/gcc/testsuite/../../gcc -I/usr/src/gcc/obj773/gcc/testsuite/g++/../../../gcc  -I/usr/src/gcc/gcc/testsuite/../../include -I/usr/src/gcc/gcc/testsuite/../../libcpp/include -I/usr/src/gcc/obj773/gcc/testsuite/g++/../../../intl  -DIN_GCC -fPIC -shared
on the recently added decl_plugin.c testcase, because there is no prototype
for warning.  Fixed thusly, committed as obvious to trunk after testing on
x86_64-linux.

2011-08-18  Jakub Jelinek  <jakub@redhat.com>

	* g++.dg/plugin/decl_plugin.c: Include diagnostic.h.

--- gcc/testsuite/g++.dg/plugin/decl_plugin.c.jj	2011-08-18 10:05:35.000000000 +0200
+++ gcc/testsuite/g++.dg/plugin/decl_plugin.c	2011-08-18 15:53:50.249421561 +0200
@@ -8,6 +8,7 @@
 #include "tree.h"
 #include "tree-pass.h"
 #include "intl.h"
+#include "diagnostic.h"
 
 int plugin_is_GPL_compatible;
 

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]