Hi,
I'm trying to compile the latest hg source but I have these errors :
$ /usr/bin/avr-g++ -c -mmcu=atmega328p -I. -DF_CPU=16000000
-Iarduino/hardware/arduino/cores/arduino -Iarduino/hardware/libraries/ -ITVout
-Os TVout/pollserial.cpp -o TVout/pollserial.o
TVout/pollserial.cpp:43:6: error: #elif with no expression
TVout/pollserial.cpp:78:6: error: #elif with no expression
TVout/pollserial.cpp:86:6: error: #elif with no expression
TVout/pollserial.cpp:96:6: error: #elif with no expression
TVout/pollserial.cpp:135:6: error: #elif with no expression
I fixed that using "else" instead of "elif".
$ /usr/bin/avr-g++ -v
Using built-in specs.
COLLECT_GCC=/usr/bin/avr-g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/avr/4.5.1/lto-wrapper
Target: avr
Configured with: ../configure --disable-libssp --disable-nls
--enable-languages=c,c++ --infodir=/usr/share/info --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --prefix=/usr --target=avr
--with-gnu-as --with-gnu-ld --with-as=/usr/bin/avr-as --with-ld=/usr/bin/avr-ld
Thread model: single
gcc version 4.5.1 (GCC)
Original issue reported on code.google.com by quaero.galileo@gmail.com on 28 Oct 2010 at 12:45
Original issue reported on code.google.com by
quaero.galileo@gmail.com
on 28 Oct 2010 at 12:45