This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: fixincl recently broken, char_macro_def/char_macro_use don't work
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: fixincl recently broken, char_macro_def/char_macro_use don't work
- From: Bruce Korb <bkorb at sco dot COM>
- Date: Mon, 15 May 2000 16:34:49 -0700
- CC: egcs-bugs at egcs dot cygnus dot com, bkorb at sco dot COM, Zack Weinberg <zack at wolery dot cumb dot org>
- Organization: Santa Cruz Operations
- References: <200005152245.SAA10261@caip.rutgers.edu>
"Kaveh R. Ghazi" wrote:
>
> Hi Bruce,
>
> Recent CVS fixincl doesn't apply char_macro_def or
> char_macro_use to (most?) any headers on SunOS4.
>
> For reference, I know the relevant fixincl stuff worked back on 4/26.
Hi Kaveh,
My guess is that it broke close to the 12-th of May:
http://gcc.gnu.org/ml/gcc-patches/2000-05/msg00712.html
I have been aware of the problem since yesterday:
http://gcc.gnu.org/ml/gcc-patches/2000-05/msg00815.html
> It looks like you rewrote some of this code recently. I wasn't able
> to figure out why it broke, but here is the termios.h file from my
> box. Please see if you can determine why its not working.
I'll take this home and puzzle over it.
It probably won't be any more illuminating than the failing
tests for these fixes below. Thanks for the report.
- Bruce
> #ifndef CTRL_QUOTES_DEF_CHECK
> #define BSD43_CTRL(n, x) (('n'<<8)+x)
> #endif /* CTRL_QUOTES_DEF_CHECK */
>
>
> #ifndef CTRL_QUOTES_USE_CHECK
> #define TIOCFOO BSD43_CTRL(T, 1)
> #endif /* CTRL_QUOTES_USE_CHECK */
>
>
> #ifndef IO_QUOTES_DEF_CHECK
> #define BSD43__IOWR(n, x) (('n'<<8)+x)
> #endif /* IO_QUOTES_DEF_CHECK */
>
>
> #ifndef IO_QUOTES_USE_CHECK
> #define TIOCFOO BSD43__IOWR(T, 1)
> #endif /* IO_QUOTES_USE_CHECK */
>
>
> #ifndef MACHINE_NAME_CHECK
> #ifdef i386 /* no uniform machine_name test, so
> this only works on i?86 machines */
> #endif /* MACHINE_NAME_CHECK */
>
>
> #ifndef UNDEFINE_NULL_CHECK
> #define NULL 0UL
> #define NULL ((void*)0)
>
> #endif /* UNDEFINE_NULL_CHECK */