Pages: [1]   Go Down
Author Topic: compiler warnings (-Wall)  (Read 712 times)
0 Members and 1 Guest are viewing this topic.
Norway
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In Arduino Uno Punto Zero, I would like to see better handling of compiler warnings, (-Wall) (more precise line error/warning handling).

And, I would like to give a big thank you to all making this possible (ide, hardware designers, gcc, atmel, etc. for creating arduino possible ) keep up the good work, I've have a lot of fun and inspiring work with this stuff THANX!



Logged

Ross-on-Wye (UK)
Offline Offline
Newbie
*
Karma: 0
Posts: 29
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I also echo this sentiment. Especially for all core code. There is a thread noting warnings in core code elsewhere in the forum. I believe all warnings may be eliminated upon careful examination. In C/C++ explicit casting can usually accomplish this, and other techniques are also available, each situation/solution having its own merits. In my experience warnings are like bug-eggs waiting to hatch, and when they do, the little blood-suckers come and byte me!

I also understand this is probably very confusing for beginners, so default verify/upload (build) should continue to suppress warnings.

I would suggest only turning on all warnings (compiler option -Wall) when the shift key is used with the verify/upload buttons/menu-items. The warnings are then identifiable with the compiler call/module to which they relate. (There should be two additional menu items Ctrl+Shift+U and Ctrl+Shift+R to complement the button bar functionality).

I would like to make this an official change request. Is this forum the way to proceed? If not, may someone point us in the right direction?

Many thanks for all the work already done on Arduino, I love it, I want more.
Logged

Pages: [1]   Go Up
Jump to: