Re: Anyone remember what AC_PROG_GCC_TRADITIONAL was testing for?

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

 



On Sun, Apr 2, 2023, at 5:17 PM, Paul Eggert wrote:
> That macro dates back to /usr/include header files that would play 
> tricks like this
>
>       #define _IO(n, x) (('n'<<8)+x) 
>
>       #define TIOCFOO _IO(T, 1) 

Yeah, I thought it had to be something like that...

> AC_PROG_GCC_TRADITIONAL has not been needed for thirty years, and was 
> declared obsolescent in Autoconf 2.60 (2006-06-05). Also, the Autoconf 
> manual (as of the next version) states Autoconf assumes C89 or later. So 
> if there's any issue with AC_PROG_GCC_TRADITIONAL at all, I suggest 
> replacing its definition with:
>
>    AU_DEFUN([AC_PROG_GCC_TRADITIONAL])

Done (more or less) in the patchset I just posted.

zw




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

  Powered by Linux