AT&T C compilers

Robert Claeson prc at maxim.ERBE.SE
Tue Feb 28 09:22:02 AEST 1989


In article <9726 at smoke.BRL.MIL>, gwyn at smoke.BRL.MIL (Doug Gwyn ) writes:

> Old C++ did not use func(void) but rather just func().
> This may be changing toward ANSI C style, but I don't know for sure.

At least the AT&T C++ Translator 1.1 does support both styles. A
function taking no arguments can be declared as either func() or
func(void).
-- 
Robert Claeson, ERBE DATA AB, P.O. Box 77, S-175 22 Jarfalla, Sweden
Tel: +46 (0)758-202 50  Fax: +46 (0)758-197 20
EUnet:   rclaeson at ERBE.SE               uucp:   {uunet,enea}!erbe.se!rclaeson
ARPAnet: rclaeson%ERBE.SE at uunet.UU.NET  BITNET: rclaeson at ERBE.SE



More information about the Comp.lang.c mailing list