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

Added -std=gnu++11 flag to atmelsam #601

wants to merge 1 commit into
base: develop


None yet
3 participants

klenov commented Mar 29, 2016

Hello! Thanks for a splendid project!

At this moment the following code will not compile for Due or Zero boards. But the same code will compile in Arduino IDE (1.6.8).

void setup() {
  char *foo = nullptr; // check if c++11 is available

void loop() {

I'm not sure if my change is not in conflict with something else. There is also the same flag for Zero in


This comment has been minimized.


ivankravets commented Mar 29, 2016

Thanks a lot!

@valeros please CHECK all flags between PlatformIO development platforms and Arduino IDE.

@ivankravets ivankravets added this to the 2.8.7 milestone Mar 29, 2016

@valeros valeros closed this in da7ee2c Mar 30, 2016

NAzT pushed a commit to cmmakerclub/platformio that referenced this pull request Apr 11, 2016

ivankravets added a commit that referenced this pull request Apr 28, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment