Boo0ns / arduino

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

arduino-0022: WInterrupts.c still references legacy avr/delay.h #480

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using avr-libc 1.7.0, it is not possible to build a sketch with -Werror 
because there are still files that reference the legacy avr/delay.h. See 
attached output.

Patches are appended that update two files to use util/delay.h. Note that I 
have not actually tested the change to ATmegaBOOT.c but the change to 
wiring_private.h eliminates the warning.

Original issue reported on code.google.com by craigle...@gmail.com on 16 Feb 2011 at 7:03

Attachments:

GoogleCodeExporter commented 9 years ago
This is a duplicate of issue 208

It was fixed by the patch applied on Oct 10, 2011

https://github.com/arduino/Arduino/commit/ca671fdc05bf2c7b0edd28788577f4fd95134d
1a

Original comment by paul.sto...@gmail.com on 14 Oct 2011 at 9:38

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 14 Oct 2011 at 5:49