Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

C++ version #79

Closed
torenrl opened this issue Oct 22, 2019 · 1 comment
Closed

C++ version #79

torenrl opened this issue Oct 22, 2019 · 1 comment
Labels
type: enhancement New feature or request

Comments

@torenrl
Copy link

torenrl commented Oct 22, 2019

Arduino is using the c++11 by default, and a manual compiler flag change is needed if c++14 or c++17 is needed. Could a more modern c++ version be set as the default, or could it be made easier to change it through the preferences?

@torenrl torenrl added the type: enhancement New feature or request label Oct 22, 2019
@per1234
Copy link
Contributor

per1234 commented Feb 18, 2021

This is something that would need to be implemented in the Arduino boards platform. The platform system allows each platform author the flexibility to define how it needs to work for their boards, which could have very different requirements depending on the architecture and toolchain. It is certainly possible to do via the existing platform framework, easily configurable by the user via a custom board option menu (e.g., Tools > C++ Standard). You can get see a working implementation of exactly that here:
MCUdude/MightyCore#205

@per1234 per1234 closed this as completed Feb 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants