Hello!
The following code generates a warning:
--cut--
int i;
void foo(void) {
switch(i) {
default:
}
}
--cut--
Compiling this code with: gcc -c foo.c gives:
foo.c: In function 'foo':
foo.c:7: warning: deprecated use of label at end of compound statement
Is the warning correct?
Thank you,
Gunther Nikl