badzz / arduino-tvout

Automatically exported from code.google.com/p/arduino-tvout
0 stars 0 forks source link

TVout/pollserial.cpp:43:6: error: #elif with no expression #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Oops, seems like "An error occurred" meant "your issue have been submitted".
Sorry for the duplicate.

Original comment by quaero.galileo@gmail.com on 28 Oct 2010 at 12:47

GoogleCodeExporter commented 9 years ago

Original comment by mdmetzle@gmail.com on 28 Oct 2010 at 3:34

GoogleCodeExporter commented 9 years ago

Original comment by mdmetzle@gmail.com on 28 Oct 2010 at 3:34