Hi all,
is there a specific place to ask questions about the arduino sketch compiler?
I want to know if there is a way to check for unused variables, and unused declarations.
I tried verbose output (under preferences) but it didn't tell me about the unused variables i included.
Also, when I go to File>Examples the examples open in new windows. How can i get them to open in new tabs instead?
I can accept that I will have to upgrade to a different compiler. I usually use geany as a front end.
What I want to know is how to upload code to the arduino from a different compiler. A terminal command would be just fine with me.
If you enable verbose compilation in the newest IDE, it should give you warnings (which include unused variables, etc). The compiler is gcc 4.3.2 (actually avr-gcc), and if you go into <ARDUINO_DIR>/hardware/tools and move the avr directory, the IDE will try to find avr-gcc in your PATH (so you could write a script called avr-gcc that passes all arguments except -w and adds -Wall to the real avr-gcc if you don't want to use verbose mode).
conradin:
I can accept that I will have to upgrade to a different compiler. I usually use geany as a front end.
What I want to know is how to upload code to the arduino from a different compiler. A terminal command would be just fine with me.