Quote without comment on char constant expansion

Doug Gwyn gwyn at brl-smoke.ARPA
Tue Apr 12 23:16:28 AEST 1988


In article <4418 at hoptoad.uucp> gnu at hoptoad.uucp (John Gilmore) writes:
>this is from the system 5 assert.h:
>	#define assert(EX) if (EX) ; else _assert("EX", __FILE__, __LINE__)

AT&T of course will be fixing this when they release their ANSI-conforming
C language subsystem.  For now, they cheat just like everybody else who
uses a Reiser preprocessor, because they have no alternative.

>so, i suspect gcc is quite wrong.

No, GCC is correctly implementing this aspect of C, both K&R (as
interpreted by most C language lawyers) and ANSI.



More information about the Comp.lang.c mailing list