Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

klenov
Copy link

@klenov 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 arduino.py:266
https://github.com/platformio/platformio/blob/develop/platformio/builder/scripts/frameworks/arduino.py#L266

@ivankravets
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants