http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48425
Summary: installed plugin headers fail to compile, include non-existent files Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: plugins AssignedTo: unassig...@gcc.gnu.org ReportedBy: bo...@kolpackov.net Since gcc 4.6.0, installed plugin headers for the C++ language (i.e., those in /usr/lib/gcc/x86_64-linux-gnu/4.6/plugin/include/cp/) include a number of files as "c-family/..." (e.g, cp/cp-tree.h includes "c-family/c-common.h"), however, those headers do not exist in the c-family/ subdirectory. Instead, they all seem to be installed into the /usr/lib/gcc/x86_64-linux-gnu/4.6/plugin/include/ directory. Here is the error message I get when trying to build my plugin: /usr/lib/gcc/x86_64-linux-gnu/4.6.1/plugin/include/cp/cp-tree.h:43:31: fatal error: c-family/c-common.h: No such file or directory Manually removing the c-family/ prefix from the include directives in header files in the cp/ subdirectory fixed the problem for me.