Compiling C News using GCC without '-traditional'
Geoff Collyer
geoff at utstat.uucp
Sun May 6 18:48:52 AEST 1990
To quote the paragraph on ANSI C which immediately precedes the one on
gcc in notebook/problems:
Although we made an effort to be ANSI-C compatible,
lack of access to a real ANSI C compiler limits our ability to do this.
A secondary problem is that it's really very difficult to get code that
is 100% acceptable to both ANSI C compilers and older compilers.
Some issues inevitably got resolved in favor of current compilers,
and may cause complaints from ANSI C compilers.
We had too many complaints from people trying to compile C news with
"gcc -ansi", due to the problems of making code acceptable to both
Classic and ANSI (and alleged ANSI) compilers, so we backed out most
of our attempts at explicit ANSI support. I take the view that one
should always compile C news using a Classic compiler if possible,
since that's what Henry and I have. (And no, gcc doesn't yet count as
a ``real ANSI C compiler'', sorry.)
--
Geoff Collyer utzoo!utstat!geoff, geoff at utstat.toronto.edu
More information about the Comp.unix.xenix
mailing list