print warning if the plugin cannot be loaded as it is lacking an interface

This commit is contained in:
Dane Springmeyer 2011-11-30 18:10:10 -08:00
parent c731797c53
commit 2626f81a45

View file

@ -226,6 +226,10 @@ void datasource_cache::register_datasources(const std::string& str)
#endif
registered_=true;
}
else
{
std::clog << "Problem loading plugin library '" << itr->path().string() << "' (plugin is lacking compatible interface" << std::endl;
}
}
else
{