Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site trwrba.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!trwrb!trwrba!mdf From: mdf@trwrba.UUCP (Mark D. Falleroni) Newsgroups: net.micro.atari Subject: ST COMM Message-ID: <1787@trwrba.UUCP> Date: Mon, 13-Jan-86 16:03:03 EST Article-I.D.: trwrba.1787 Posted: Mon Jan 13 16:03:03 1986 Date-Received: Wed, 15-Jan-86 08:24:12 EST Organization: TRW EDS, Redondo Beach, CA Lines: 21 Thiis article is posted in response to inquiries I have received with regards to ST COMM, a program I wrote with the HABA HIPPO C compiler. As posted, and using the HABA HIPPO C compiler, the program comppiles and runs withoout error. If one attempts to compile it using the DRI C compiler provided with the development package, errors will result. I was unaware of this until Alan Kenington wrote me. His analysis seems to make sense: HABA HIPPO C defines an 'int' as a 32 bit quantity. DRI C defines an 'int' as a 16 bit quantity. Alan says that the errors occur with the 'switch (c)' statement; and they are due to the different 'int' representations of the compilers. I hope this helps anyone encountering these errors. It has been a while since I posted the source, and I am not thhat familiar with it anymore. Maybe Alan will read this and repost his analysis for all to digest. Mark Falleroni Ogden Engineering Office TRW Defense Systems Ogden, Utah