Go Down

Topic: Compiler errors not shown (Read 629 times) previous topic - next topic

Barney Hilken

Whenever I have an error in a #include file, the Arduino IDE turns red, but doesn't show the error text returned by the compiler correctly. Sometimes it shows part of it, sometimes nothing.

I'm using Arduino 13 on Mac OS X v 10.5.6. This problem happens both with the included avr-gcc-4.3.0, and with avr-gcc-4.3.2 (from AVRMacPac).


rodmac

You realise you can scroll that window? It's not immediately obvious. The errors may be there,but hidden.

Barney Hilken

Yes I do realise that, and no the errors are not there. Once I got the output:

7.

and nothing else. Not very informative! I think this is the same problem as mentioned here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1233044085.

I can reproduce this problem very easily: simply create a syntax error in any library code (either my own or built in) and it happens.

This is just to link in these other threads, which are about the same thing:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1242122448
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1235432803
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1233044085
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1225145000

Go Up