danni.coy Posted August 4, 2011 Share Posted August 4, 2011 In the plugin code example (C++ api). The example function prototype for update in class MyPlugin is virtual void update(); the implementation is int MyPlugin::update() { Log::warning("MyPlugin::update(): called\n"); return 1; } This will fail on newer versions of GCC at least. The implementation should read void MyPlugin::update() { Log::warning("MyPlugin::update(): called\n"); } documentation should be updated edit: implementation needs to change not prototype since that would conflict with inherited function. Link to comment
Recommended Posts