Re: AC_*/AM_* macros for options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeffrey Walton <noloader@xxxxxxxxx> 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 (eagle@xxxxxxxxx)              <http://www.eyrie.org/~eagle/>

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




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux