Jeffrey Walton <noloa...@gmail.com> writes:

> -Wconversion should be included. That's because -1 > 1 after promotion:

>     signed int i = -1;
>     unsigned int j = 1;

>     if(i > j)
>         printf("-1 > 1 !!!\n");

> I understand its going to be a pain point for those who don't pay
> attention to details.

-Wconversion produces (or at least produced; I've not rechecked recently)
unfixable warnings for most network code due to macro expansion.  See:

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488884

The pattern explained in that bug is still present in the current glibc
headers.

-- 
Russ Allbery (ea...@eyrie.org)              <http://www.eyrie.org/~eagle/>

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to