Default GCC -std= option on ARM Crossworks
Using Arm Crossworks 2.3.5 (GCC4.7), we'd like to use scoped enums, which we can't because GCC requires -std=c++11.
However, adding -std=c++11 to the project's "additional C++ options" is ineffective, because Crosstudio is adding -std=c++98 to the command line and overriding us. I suspect that the fact it's after our additional options means that it takes precedence.
So:
* Is this -std=c++98 hard-coded in the Crossstudio binaries, or can I change it somewhere (I couldn't find it by grepping, other than in various .EXEs)?
* Would it be possible for 'additional options' to be at the end of the command line, so that they provide a means to override existing options?
Please sign in to leave a comment.
Comments
1 comment