as well as function headers for setup,loop and every defined function,
error and warning messages reference a line number different than the line in the .ino source.
For errors it seems that the line number as displayed in the compilation window is only off by one.
For example: oid:9: error: 'xx' was not declared in this scope the error in the oid source file is actually on line 10.
For warnings the message (subtlety) references the .cpp file and is off by the number of functions defined in the sketch! for example: oid.cpp:20: warning: comparison between signed and unsigned integer expressions
as well as function headers for setup,loop and every defined function,
error and warning messages reference a line number different than the line in the .ino source.
For errors it seems that the line number as displayed in the compilation window is only off by one.
For example: oid:9: error: 'xx' was not declared in this scope the error in the oid source file is actually on line 10.
For warnings the message (subtlety) references the .cpp file and is off by the number of functions defined in the sketch! for example: oid.cpp:20: warning: comparison between signed and unsigned integer expressions