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

Arduino IDE 1.6.6 does not compile code with namespaces #4075

Closed
bmitov opened this issue Nov 4, 2015 · 5 comments
Closed

Arduino IDE 1.6.6 does not compile code with namespaces #4075

bmitov opened this issue Nov 4, 2015 · 5 comments
Assignees
Milestone

Comments

@bmitov
Copy link

bmitov commented Nov 4, 2015

I am testing this simple code with a namespace, and I am getting "sketch_nov03a:8: error: 'namespaceTest' does not name a type" error.
This works perfectly fine in any older version of the IDE . How to enable Arduino IDE 1.6.6 to compile namespaces? I need them for my project.

namespace Test
{
}

void setup() {
// put your setup code here, to run once:
}

void loop() {
// put your main code here, to run repeatedly:
}

@Chris--A
Copy link
Contributor

Chris--A commented Nov 4, 2015

Confirmed in hourly build 22/10/2015

@SalvorinFex
Copy link

Confirmed in Win 7 and win 8 with the release version.

@ffissore
Copy link
Contributor

ffissore commented Nov 4, 2015

I confirm the regression. I fear you'll have to stick to 1.6.5 for now. I'll work on it and fix will be available through hourly builds asap

@ffissore
Copy link
Contributor

ffissore commented Nov 4, 2015

This issue was moved to arduino/arduino-builder#44

@ffissore ffissore closed this as completed Nov 4, 2015
@ffissore
Copy link
Contributor

ffissore commented Nov 4, 2015

Fixed in latest hourly build. http://www.arduino.cc/en/Main/Software#hourly

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

No branches or pull requests

4 participants