------- Comment #1 from pinskia at gmail dot com 2010-04-08 17:25 ------- Subject: Re: New: [gcc-plugin] c++ based plugins doesn't work.
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" <gcc-bugzi...@gcc.gnu.org > wrote: > 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 <gcc-plugin.h> } > > > -- > Summary: [gcc-plugin] c++ based plugins doesn't work. > Product: gcc > Version: 4.5.0 > Status: UNCONFIRMED > Severity: normal > Priority: P3 > Component: other > AssignedTo: unassigned at gcc dot gnu dot org > ReportedBy: pluto at agmk dot net > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43693 > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43693