Closed GoogleCodeExporter closed 9 years ago
I tried the same approach of redefining PROGMEM, and found that it has the same
problem as declaring the variable extern before defining it: both are illegal
to use for declaring variables inside functions. The best way is to upgrade the
compiler. My attempt to compile avr-gcc 4.6.2 so far failed though.
See
https://savannah.nongnu.org/bugs/index.php?28837
https://savannah.nongnu.org/bugs/index.php?34680
Original comment by gooc...@top.geek.nz
on 30 Oct 2011 at 8:52
I'm not seeing most of these. Maybe some were fixed by other patches?
Original comment by dmel...@gmail.com
on 30 Dec 2011 at 11:19
Just did a clean build on a fresh pull. Build output attached. Turn on -Wall
-Werror to see them all.
Original comment by maniac...@ymail.com
on 31 Dec 2011 at 12:27
Attachments:
I fixed most of these:
https://github.com/arduino/Arduino/commit/c441bc1a0df2b07422cc1fe0c2ec8b3dc027d2
53
https://github.com/arduino/Arduino/commit/cce4ef7c6932c8d93c180ce7990261223e490d
63
Honestly, though, most of them weren't even showing up for me at all (even with
-Wall) so I probably skipped some.
Original comment by dmel...@gmail.com
on 2 Jan 2012 at 6:10
Original comment by dmel...@gmail.com
on 21 May 2012 at 4:00
Original issue reported on code.google.com by
maniac...@ymail.com
on 22 Oct 2011 at 9:13Attachments: