Michalis Giannakidis <mgiannaki...@gmail.com> writes: > I am trying your plugin to to warn about surplus includes: > http://gcc.gnu.org/ml/gcc/2010-05/msg00418.html
You should probably e-mail Bernhard Reutner-Fischer, who wrote the plugin. > I have some problems compiling against gcc v4.5.1. > > ~/local/gcc-4.5.1/bin/g++ -I`~/local/gcc-4.5.1/bin/gcc > -print-file-name=plugin`/include -fPIC -shared -O2 rm_includes.cpp -o > plugin.so By naming the plugin rm_includes.cpp you are compiling it as a C++ file. That is probably not what you want to do. Ian