rtv / Stage

Mobile robot simulator
rtv.github.com/Stage
GNU General Public License v2.0
399 stars 175 forks source link

InterfaceModel::Subscribe(QueuePointer&) undefined #18

Closed richmattes closed 12 years ago

richmattes commented 12 years ago

In libstageplugin/p_driver.h, the following functions are declared as part of the InterfaceModel class:

InterfaceModel::Subscribe(QueuePointer&)  
InterfaceModel::Unsubscribe(QueuePointer&) 

However, no definition exists for these calls in either p_driver.h or p_driver.cpp. This causes a build failure in newer Linux distributions.

If these methods are really meant to override the base class and do nothing, then they should be given an empty definition. Otherwise, the declarations should probably be removed.

rtv commented 12 years ago

I've removed the prototypes from the header. Thanks for the report.