This is the mail archive of the gcc@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]

Miss head file diagnostic.h in plugin.h?


Hi,

When I try to build my plugin, I get such errors,

In file included from ../../gcc-vcg-plugin/vcg-plugin/gcc-function.c:27:0:
/home/eric/install/trunk/lib/gcc/i686-pc-linux-gnu/4.6.0/plugin/include/plugin.h:35:65:
error: expected ‘)’ before ‘*’ token
In file included from ../../gcc-vcg-plugin/vcg-plugin/vcg-plugin.h:27:0,
                 from ../../gcc-vcg-plugin/vcg-plugin/gcc-function.c:30:
/home/eric/install/trunk/lib/gcc/i686-pc-linux-gnu/4.6.0/plugin/include/gimple.h:31:26:
fatal error: hard-reg-set.h: No such file or directory
compilation terminated.

The first error occurs due to that using diagnostic_context in the
plugin.h without including diagnostic.h. The second error is about
missing hard-reg-set.h.

GCC trunk revision: 167194

Thanks,
Mingjie


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