Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Jun 16, 2015 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant