You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, first time here, I can't figure out how to apply labels, I think "Component: IDE user interface" and "Type: Bug" would be appropriate.
Description:
an error generated in the main tab is reported as an error in last open tab:
Error report
Please observe "W_I_P_Functions:9": line 9 doesn't even exist, "9" is the wrong line in the main tab
Arduino: 1.6.7 (Windows 7), Board: "Arduino/Genuino Uno"
WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'
F:\Elettronica\ArduinoPrgs\sketch_jan27b\W_I_P_Functions.ino: In function 'void setup()':
W_I_P_Functions:9: error: 'Error' was not declared in this scope
exit status 1
'Error' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
View
Main Tab
actually the error is line 9, calling an "Error" variable that doesn't exist,
line 2 is Highlighted instead.
W_I_P Tab
No errors on this tab, BUT
error on line 7 is highlighted,
error on unexistent line 9 is reported,
The text was updated successfully, but these errors were encountered:
I have reported this issue a week ago at arduino/arduino-builder#99. Until the bug is fixed the workaround is to either manually declare the function prototypes for any function defined after the first tab, so you would add the lines:
void someFunction();
void here(byte INvar);
to the top of the sketch_jan27b tab or you can use Arduino IDE 1.6.6(or previous) which doesn't have this bug.
Thank you, your workaround works!
If my understanding of post labels is correct you should mark your post with "Component: IDE user interface" and "Type: Bug"...
I'd have done the same but I don't know how to do that... sorry.
Sorry, first time here, I can't figure out how to apply labels, I think "Component: IDE user interface" and "Type: Bug" would be appropriate.
Description:
an error generated in the main tab is reported as an error in last open tab:
Error report
Please observe "W_I_P_Functions:9": line 9 doesn't even exist, "9" is the wrong line in the main tab
View
Main Tab
actually the error is line 9, calling an "Error" variable that doesn't exist,

line 2 is Highlighted instead.
W_I_P Tab
No errors on this tab, BUT

error on line 7 is highlighted,
error on unexistent line 9 is reported,
The text was updated successfully, but these errors were encountered: