Making voids work portably (was re: efopen.c)

Larry Campbell campbell at maynard.UUCP
Tue Oct 22 10:47:08 AEST 1985


In article <493 at ttrdc.UUCP>, levy at ttrdc.UUCP (Daniel R. Levy) writes:
> (void)whatever is not supported at all under VAX/VMS C.  It will barf
> severely on (originally) Unix C programs which have been heavily larded with
> (void)'s for the sake of lint.  Not the entire C world is Unix.

Version 1 of VAX-11 C may not have supported the void type, but version 2
certainly does.
-- 
Larry Campbell                     decvax!genrad
The Boston Software Works, Inc.                 \
120 Fulton St.                 seismo!harvard!wjh12!maynard!campbell
Boston MA 02109                         /       /
                                   ihnp4  cbosgd
ARPA: maynard.UUCP:campbell at harvard.ARPA



More information about the Comp.lang.c mailing list