Skip to content

Update c++ compilation standard to 2014 from 2011 #196

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

Merged
merged 2 commits into from
Jan 19, 2018

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Jan 13, 2018

Requires a recent arm toolchain to be used.

Based on PR #191 proposed by @xloem
Updated using @lacklustrlabs suggestion:
Make the '-std=gnu++14' flag a variable using 'compiler.cpp.flags' variable.
This way it is easy to change the -std setting in platform.local.txt without
overriding anything else.

platform.local.txt:
compiler.cpp.std=gnu++11

Signed-off-by: Frederic Pillon [email protected]

Requires a recent arm toolchain to be used.

Based on PR stm32duino#191 proposed by @xloem
Updated using @lacklustrlabs suggestion:
Make the '-std=gnu++14' flag a variable using 'compiler.cpp.flags' variable.
This way it is easy to change the -std setting in platform.local.txt without
overriding anything else.

platform.local.txt:
compiler.cpp.std=gnu++11

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm self-assigned this Jan 15, 2018
@fpistm fpistm added the enhancement New feature or request label Jan 15, 2018
@fpistm fpistm merged commit acb82a5 into stm32duino:master Jan 19, 2018
@fpistm fpistm deleted the cpp_std branch January 19, 2018 09:26
benwaffle pushed a commit to benwaffle/Arduino_Core_STM32 that referenced this pull request Apr 10, 2019
Update c++ compilation standard to 2014 from 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants