URL:
<http://savannah.nongnu.org/bugs/?34560>
Summary: math.h error while compiling
Project: AVR C Runtime Library
Submitted by: cnobile
Submitted on: Sat 15 Oct 2011 11:32:19 PM GMT
Category: Header
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Header files
Status: None
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 1.7.1
Fixed Release: None
_______________________________________________________
Details:
The error below appeared after updating from Kubuntu 11.04 to 11.10. This went
from AVR version 1.6.7 to 1.7.1. The error itself happened while compiling
code in the Arduino 0022 IDE. It made no difference what code I compiled I get
this error every time.
In file included from
/usr/lib/gcc/avr/4.5.3/../../../avr/include/util/delay.h:44:0,
from
/usr/lib/gcc/avr/4.5.3/../../../avr/include/avr/delay.h:37,
from
/opt/arduino-0022/hardware/arduino/cores/arduino/wiring_private.h:30,
from
/opt/arduino-0022/hardware/arduino/cores/arduino/WInterrupts.c:34:
/usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected
identifier or ‘(’ before ‘double’
/usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected
‘)’ before ‘>=’ token
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?34560>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev