Skip to content

Set standard c++ version to 17 instead of 11 #430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
FredM67 opened this issue Jun 30, 2021 · 4 comments
Closed

Set standard c++ version to 17 instead of 11 #430

FredM67 opened this issue Jun 30, 2021 · 4 comments
Assignees
Labels
conclusion: invalid Issue/PR not valid conclusion: off topic Off topic for this repository type: enhancement Proposed improvement

Comments

@FredM67
Copy link

FredM67 commented Jun 30, 2021

In the file "platform.txt", replace "-std=gnu++11" with "-std=gnu++17" to support the latest features of C++.

@FredM67 FredM67 added the type: enhancement Proposed improvement label Jun 30, 2021
@per1234
Copy link
Contributor

per1234 commented Jun 30, 2021

Hi @FredM67. Thanks for your interest in this open source project.

This repository contains the code for the Arduino IDE. There is no platform.txt here, only the code for a GUI. The author of each boards platform can chose to use any compiler compiler flags they like, so the Arduino IDE has no influence over which C++ standard is used for a given board.

@Ebola-Chan-bot
Copy link

Ebola-Chan-bot commented Nov 14, 2021

Hi @FredM67. Thanks for your interest in this open source project.

This repository contains the code for the Arduino IDE. There is no platform.txt here, only the code for a GUI. The author of each boards platform can chose to use any compiler compiler flags they like, so the Arduino IDE has no influence over which C++ standard is used for a given board.

So which repository contains that? Or how can I contact the author of a board platform?

@per1234
Copy link
Contributor

per1234 commented Nov 14, 2021

which repository contains that?

There are multiple repositories. It depends on which board you are using. You can see a fairly comprehensive list here:
https://github.com/per1234/ino-hardware-package-list/blob/master/ino-hardware-package-list.tsv

@FredM67
Copy link
Author

FredM67 commented Nov 14, 2021

That should be at least this one:
https://github.com/arduino/ArduinoCore-avr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid conclusion: off topic Off topic for this repository type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants