-
-
Notifications
You must be signed in to change notification settings - Fork 114
Another Preprocessor error #28
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
Comments
Another example this the same error. Might be two separat issues, I dont know whats behind the code. So I post it here, pretending its the same reason which causes this: void setup() {}
void loop() {
int8_t newData = adalight();
}
//#define ADALIGHT_USE_TEMPLATE
#ifdef ADALIGHT_USE_TEMPLATE
#error
#else
// commenting this header makes the sketch compile
int8_t adalight();
#endif
int8_t adalight()
{
return 0;
} |
In your second sketch, |
Your first sketch still doesn't compile, unless you rename |
More info at http://linux.die.net/man/1/ctags, scroll down to "Operational Details" |
So this is intended? |
No, it's a known limitation of ctags. We have to either fix it or get used to it. Maybe this one will help us |
Error in code above, should be self explaining.
The text was updated successfully, but these errors were encountered: