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
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev

Reply via email to