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  <ja...@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

Reply via email to