Pages: [1]   Go Down
Author Topic: Compiler errors not shown  (Read 590 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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).

Logged

Flurieu Peninsula, South Aust.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: