F'up of avr-gcc: New Features?
I would like to see a lot more warnings. We get away with way too much.The simplest example I can think of is
int i; char c = i;
This feature is already there, but you have to use it:
- foo.c: In function 'f':
char c = i;
^
char c = i;
^
- avr-gcc --help=warnings
"¢ Options Controlling C++ Dialect
"¢ C and Objective-C-only Warning Options
"¢ Options for Debugging Your Program or GCC
"¢ ...