Closed KurtE closed 7 years ago
Fixed. Thanks.
Thanks I synced up and I am still seeing this issue? Do I need to do something else to clear it.
Thanks again
Kurt
Edit -
Sort of never mind. I edited the file and did a save and then it builds. So probably it had cached the conversion of .ino to .cpp and just used it.
.ino files cannot be compiled by compiler, and the .ino files are combined to one .cpp file before build. To save time, If no .ino file changed, the soft do not do the combine and use the last combined .cpp file. Thanks.
I am on Windows 10, Arduino 1.8.2 and Teensyduino 1.36 (just released), have Teensy 3.2 selected as board type. I am up to sync with your current stuff.
I found yesterday with a test program, that when I changed a function from having no parameters, to one where I passed a reference to the display object (experimenting supporting multiple displays in library), that the compile using Stino failed... It compiles fine using Arduino... This morning I tried doing it again with a different library (one installed with Teensyduino) and was able to replicate the issue.
It also fails when I change the function to take a pointer instead of a reference:
Edit: Forgot to show the errors and how they make no sense with line numbers... These are from the one using pointers