fixincl recently broken, char_macro_def/char_macro_use don't work
Bruce Korb
bkorb@sco.COM
Mon May 15 16:40:00 GMT 2000
"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 */
More information about the Gcc-bugs
mailing list