I am using MPC to generate my makefiles. I generate successfully the Makefile but when I run make I get the following error:
error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
My question is, how to add build flags (eg:-std=c++11) to my MPC?
For completion here is my MPC file:
project(Makefile) : dcpsexe, dcps_tcp {
requires += no_opendds_safety_profile
exename = start
after += *idl
TypeSupport_Files {
Communication.idl
}
Source_Files {
ListenerReader.cpp
Publisher.cpp
Subscriber.cpp
main.cpp
}
}
Aucun commentaire:
Enregistrer un commentaire