jung6717 / arduino

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

Patch to remove compiler warnings #208

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The attached patch (against rev 883) fixes a number of compiler warnings in
the Arduino library source.  The Arduino environment suppresses compiler
warnings (probably not a good idea), so these don't normally show up in the
IDE.

Original issue reported on code.google.com by Alan.Bur...@gmail.com on 21 Feb 2010 at 6:00

Attachments:

GoogleCodeExporter commented 9 years ago
I for one would like the ability to generate a warning or error along the lines 
of
http://gcc.gnu.org/onlinedocs/gcc-4.3.4/cpp/Diagnostics.html

I recently implemented digitalWriteFast (see issue 140) as a library (really 
just a
header file). I'd like, at least for private use, to be able to generate a 
warning
when it defaults to the slower digitalWrite because the pin number wasn't known 
at
compile time. This could save a lot of time looking for where the performance 
went.

Original comment by johnrain...@gmail.com on 8 Mar 2010 at 11:42

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 24 Dec 2010 at 9:58

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 8 Jan 2011 at 5:34

GoogleCodeExporter commented 9 years ago
Should it be <util/delay.h> not <avr/util/delay.h>?  
http://www.nongnu.org/avr-libc/user-manual/group__util__delay.html

Original comment by dmel...@gmail.com on 23 Feb 2011 at 3:10

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 24 Aug 2011 at 6:50

GoogleCodeExporter commented 9 years ago
Here is another patch, to fix warnings in Stream

Original comment by paul.sto...@gmail.com on 2 Oct 2011 at 4:08

Attachments:

GoogleCodeExporter commented 9 years ago
This patch fixes compiler warnings in Ethernet.

Original comment by paul.sto...@gmail.com on 2 Oct 2011 at 9:05

Attachments:

GoogleCodeExporter commented 9 years ago
Even more compiler warnings, fixed.

Original comment by paul.sto...@gmail.com on 2 Oct 2011 at 4:14

Attachments:

GoogleCodeExporter commented 9 years ago
these patches fix issues 656, 657, 658

Original comment by paul.sto...@gmail.com on 2 Oct 2011 at 4:46

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 10 Oct 2011 at 3:29

GoogleCodeExporter commented 9 years ago
Issue 656 has been merged into this issue.

Original comment by dmel...@gmail.com on 10 Oct 2011 at 3:31

GoogleCodeExporter commented 9 years ago
Issue 657 has been merged into this issue.

Original comment by dmel...@gmail.com on 10 Oct 2011 at 3:31

GoogleCodeExporter commented 9 years ago
Issue 658 has been merged into this issue.

Original comment by dmel...@gmail.com on 10 Oct 2011 at 3:32

GoogleCodeExporter commented 9 years ago
https://github.com/arduino/Arduino/commit/85c109f255c44ca2bb89af0f6503ca9ab675b1
6a
https://github.com/arduino/Arduino/commit/965480f148b2b37374f3d81df741be67455d1c
61
https://github.com/arduino/Arduino/commit/ca671fdc05bf2c7b0edd28788577f4fd95134d
1a

Original comment by dmel...@gmail.com on 10 Oct 2011 at 3:32

GoogleCodeExporter commented 9 years ago
Issue 567 has been merged into this issue.

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

GoogleCodeExporter commented 9 years ago
Issue 480 has been merged into this issue.

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