bearophile wrote:

> This is a little C program that compiles with no errors and not even warnings (with -Wall) with GCC 4.5.1:
>
> int main() {
>     int x;
>     x = 10, 20;
>     return 0;
> }

This is totally off topic but gcc's -Wall does not mean "all warning options":

  http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

I can't test it now, but -Wunused-value seems to be the option for the case above.

Ali

Reply via email to