On Mon, 11 Jun 2001 21:10:47 BST, Nix said:
And mine, for what it's worth. It damned well should always have
emitted a warning when an outdated fixed header was used.
Yes.
Probably the biggest problem with fixed headers is that in the past
some
of the fixes have been rather too wide-ranging, and tended to pick up
dozens of headers with nothing actually wrong with them (because they
And this is the OTHER part of my complaint - on an AIX system, it would
fix a lot of non-broken stuff. Just for giggles, I grabbed a copy of
gcc 2.95.3, and here's the sort of thing it did when I built it under AIX 4.3.3:
*** locale.h Mon Jun 11 11:44:45 2001
--- /usr/include/locale.h Thu Sep 18 22:02:57 1997
***************
*** 45,51 ****
#ifdef _ANSI_C_SOURCE
#ifndef NULL
! #define NULL 0
#endif /* NULL */
struct lconv {
--- 45,51 ----
#ifdef _ANSI_C_SOURCE
#ifndef NULL
! #define NULL ((void *)0)
#endif /* NULL */
struct lconv {
Yee-haw.