dgerman:
Due to the inclusion by the IDE of#include "Arduino.h"as well as function headers for
setup,loopand every defined function,
error and warning messages reference a line number different than the line in the.inosource.
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 scopethe error in the oid source file is actually on line 10.
For warnings the message (subtlety) references the.cppfile and is off by the number of functions defined in the sketch! for example:oid.cpp:20: warning: comparison between signed and unsigned integer expressionsCan this be corrected??
example source file at http://Real-World-Systems.com/docs/arduino/oid.ino
I tested your file and the error appears over the correct line (highlighted). Maybe it is something with version 1.0 fixed on 1.0.1 ?
