I was able to modify ./libs/openFrameworksCompiled/project/makefileCommon/config.linux.common.mk and comment out the logic there to determine the PLATFORM_CFLAGS and hard code it to PLATFORM_CFLAGS = -Wall -std=c++11. Is there a better way to do this?
no not really, we specify c++14 cause that’s already supported in gcc since some versions ago and anyway it’s backwards compatible so we haven’t taken into account that someone would need to change it to something older. we could move it to the optimization flags or to it’s own flag and allow to override from config.make. why do you need to change it?
I have a second platform I also need to build the project for whose ceiling is c++11. I need to avoid any c++14 features. It’s nice when the compiler can tell me I’ve used something not supported in c++11 on the main target (that could support it) rather than when I compile on the other platform. It helps me avoid having to go back and rework c++14 code after the fact.