On Mon, Jun 9, 2008 at 4:07 PM, Manuel López-Ibáñez <[EMAIL PROTECTED]> wrote: > 2008/6/9 Richard Guenther <[EMAIL PROTECTED]>: >> On Mon, Jun 9, 2008 at 3:46 PM, Vincent Lefevre <[EMAIL PROTECTED]> wrote: >>> Is there any reason why "gcc -Wall" doesn't emit warnings by default >>> on some useless extensions such as pointer arithmetic on (void *)? >> >> Use -pedantic to warn about extensions. It doesn't make sense to >> warn for extensions if they are not deprecated. After all they are >> extensions. > > Nonetheless, I think that the part about -Wc++-compat not warning > about pointer of type 'void *' used in arithmetic is a valid > criticism. Don't you agree?
Yes. But -Wc++-compat is far from complete. Richard.