Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.lang.c,comp.sys.atari.st,comp.sys.amiga Subject: Re: 32bit = 16bit x 16bit Message-ID: <4261@well.UUCP> Date: Wed, 21-Oct-87 03:48:41 EDT Article-I.D.: well.4261 Posted: Wed Oct 21 03:48:41 1987 Date-Received: Fri, 23-Oct-87 06:04:34 EDT References: <1912@gryphon.CTS.COM> <3294@sol.ARPA> <2545@cbmvax.UUCP> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Organization: Zik Zak Lines: 36 Xref: mnetor comp.lang.c:5059 comp.sys.atari.st:5819 comp.sys.amiga:9703 In article <2545@cbmvax.UUCP> andy@cbmvax.UUCP (Andy Finkel) writes: >We at the Banzai Institute always use typedefs :-) >To maintain readability, however, the names were a bit a bit boring, ie >LONG, ULONG, WORD, UWORD, BYTE, UBYTE, and VOID. > ^^^^ I think your VOID definition is broken. In the file exec/interrupts.h is the structure: struct Interrupt { struct Node is_Node; APTR is_Data; VOID (*is_Code)(); }; Then, later on, when I try and do this: foo () { extern long bar(); interrupt.is_Code = (VOID) bar; } ...my compiler throws up. Something about an invalid use of the 'void' declaration. I have Manx 3.4b. I know, it's probably my fault, so I don't cast it and live with the warning message.... _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape ihnp4!ptsfa -\ \_ -_ Recumbent Bikes: dual ---> !{well,unicom}!ewhac O----^o The Only Way To Fly. hplabs / (pronounced "AE-wack") "Although there are technical differences between the quality of images created on the Amiga and on our system, we feel that viewers could be misled to believe otherwise, even with your disclaimers to the contrary." -- Ralph J. Guggenheim, Pixar