Re: [Bug other/43693] New: [gcc-plugin] c++ based plugins doesn't work.

2010-04-08 Thread Andrew Pinski
Iirc this is on purpose. You need to build gcc with the c++ compiler if you want c++ plugins. Sent from my iPhone On Apr 8, 2010, at 10:12 AM, "pluto at agmk dot net" > wrote: during loading c++ based plugin we get undefined runtime symbols, e.g.: undefined symbol: _Z28plugin_default_v

[Bug other/43693] New: [gcc-plugin] c++ based plugins doesn't work.

2010-04-08 Thread pluto at agmk dot net
during loading c++ based plugin we get undefined runtime symbols, e.g.: undefined symbol: _Z28plugin_default_version_checkP18plugin_gcc_versionS0_ undefined symbol: _Z17register_callbackPKciPFvPvS1_ES1_ known workaround: extern "C" { #include } -- Summary: [gcc-plugin] c++ bas