I am trying to compile AMB (master from
https://github.com/otcshare/automotive-message-broker) on Fedora 21.
It fails with
~/automotive-message-broker/plugins/common/dbusplugin.cpp:27:1: error:
expected initializer before βstdβ
std::map<std::string, std::string> DBusSink::dbusConfig;
^
~/automotive-message-broker/plugins/common/dbusplugin.cpp:29:2: error:
expected unqualified-id before β:β token
:AbstractDBusInterface("org.automotive."+propertyName, propertyName,
connection),
^
g++ is version 4.9.2
This issue is this constructor definition:
DBusSink::DBusSink(string propertyName, AbstractRoutingEngine* engine,
GDBusConnection* connection, map<string, string> config)
std::map<std::string, std::string> DBusSink::dbusConfig;
:AbstractDBusInterface("org.automotive."+propertyName,
propertyName, connection),
AbstractSink(engine, dbusConfig)
{
....
}
Thanks,
Rudi
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev