"a();" not a valid external declaration in pANS C.

Jan Gray jangr at microsoft.UUCP
Mon Feb 6 07:12:14 AEST 1989


pANS C accepts "int a();" and "a() {}" but not "a();", which is valid K&R C.
I am curious about the rationale behind this change.  Was it "nobody really
uses that construct, and banning it simplifies the grammar"?

Jan Gray  uunet!microsoft!jangr  Microsoft Corp., Redmond Wash.  206-882-8080



More information about the Comp.std.c mailing list