2011/8/2 Romain Geissler <romain.geiss...@gmail.com>: > Hi, > > For now, plugins can't compare types. This patch allows > c-tree.h to be installed as a plugin header, allowing > plugins to see "comptypes" (among other things). > > Romain Geissler > > > 2011-08-02 Romain Geissler <romain.geiss...@gmail.com> > > * Makefile.in (PLUGIN_HEADERS): Add C_TREE_H. > > > Index: gcc/Makefile.in > =================================================================== > --- gcc/Makefile.in (revision 176741) > +++ gcc/Makefile.in (working copy) > @@ -4584,7 +4584,7 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $ > $(GGC_H) $(TREE_DUMP_H) $(PRETTY_PRINT_H) $(OPTS_H) $(PARAMS_H) plugin.def \ > $(tm_file_list) $(tm_include_list) $(tm_p_file_list) $(tm_p_include_list) \ > $(host_xm_file_list) $(host_xm_include_list) $(xm_include_list) \ > - intl.h $(PLUGIN_VERSION_H) $(DIAGNOSTIC_H) \ > + intl.h $(PLUGIN_VERSION_H) $(DIAGNOSTIC_H) ${C_TREE_H} \ > $(C_COMMON_H) c-family/c-objc.h $(C_PRETTY_PRINT_H) \ > tree-iterator.h $(PLUGIN_H) $(TREE_FLOW_H) langhooks.h incpath.h debug.h \ > $(EXCEPT_H) tree-ssa-sccvn.h real.h output.h $(IPA_UTILS_H) \ >
Ping.