ceu-lang / ceu-arduino

Arduino binding for Céu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile error in util/serial.cpp

mschuldt opened this issue · comments

I'm getting this error:
util/serial.cpp: In function ‘int serial_if()’:
util/serial.cpp:8:12: error: cannot convert ‘HardwareSerial’ to ‘int’ in return

Everything compiles fine after removing the function `serial_if'.

some of my version numbers:
gcc: 4.6.3
avr-gcc: 4.5.3
avrdude: 5.11.1
ubuntu: 12.04, 64bit

How are you trying to compile? (The directory/command line.)

In ceu-arduino I run 'make'

Thanks.
I removed the function (in the "sim" branch, which I'll merge back into master soon).