Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 3 months ago.
Using compiler flag -std=c++17 with "yt build" bbc micro:bit
Maybe it is just me, but I am trying to understand the complicated layers of wrappers of software around the yotta build system.
Top to bottom:
make-yotta-cmake-ninja-gcc
My question is: Where in this stack, do I add the compiler argument "-std=c++17" so it passes to the gcc compiler ? I would like to use std::visit in my code. It works using the current arm-none-eabi-gcc compiler
Also how do I install the current gcc compiler (version 9.1) to use with yotta ?
Thank you
Bob Wilmes