Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site gumby.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!uwvax!gumby!g-frank From: g-frank@gumby.UUCP Newsgroups: net.lang.c Subject: Re: When does void make code less readable? Message-ID: <309@gumby.UUCP> Date: Fri, 22-Feb-85 12:11:39 EST Article-I.D.: gumby.309 Posted: Fri Feb 22 12:11:39 1985 Date-Received: Wed, 27-Feb-85 02:38:42 EST References: <1995@sun.uucp> <420@lsuc.UUCP> <878@sjuvax.UUCP> Distribution: net Organization: U of Wisconsin CS Dept Lines: 20 > The real problem with the use of (void) is that too many current C > compilers don't support it, and don't know what the void cast should go to. Try typedef void unsigned ; This is what Whitesmith's did all through the Idris system for the 68000, and it seems to work. Obviously, if your compiler (and lint) don't recognize it, it won't buy you any immediate benefit, but if you go to port your code to an implementation that does use it, your code will be "ready for prime time," as it were. -- Dan Frank Q: What's the difference between an Apple MacIntosh and an Etch-A-Sketch? A: You don't have to shake the Mac to clear the screen.