Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!genrad!decvax!tektronix!tekgen!tekigm!tekigm2!phils From: phils@tekigm2.UUCP Newsgroups: comp.sys.amiga Subject: Re: include files Message-ID: <1494@tekigm2.TEK.COM> Date: Thu, 19-Feb-87 12:12:39 EST Article-I.D.: tekigm2.1494 Posted: Thu Feb 19 12:12:39 1987 Date-Received: Sat, 21-Feb-87 04:21:33 EST References: <1627@amiga.amiga.UUCP> Reply-To: phils@tekigm2.UUCP (Philip E Staub) Organization: Tektronix, Inc., Beaverton, OR. Lines: 27 In article <1627@amiga.amiga.UUCP> dale@amiga.UUCP (Dale Luck) writes: >.... > We do discourage >people editing the include files except for removing comments. >.... >Dale Luck >of Commodore-Amiga, Inc. One minor comment here: Manx vs. Lattice, int vs. long. Maybe I needn't say more, but I will. Structures declared in the include files as having elements which are declared as type "int" will have to be changed to "long" for the Manx compiler. I would have to assume that this is included in what you refer to as "editing" the include files, but it is essential nevertheless. Soap box time: These days, I don't know of many (any?) machines for which a "long" is not 32 bits and a "short" is not 16 bits. Personally, I avoid the use of the "int" type wherever possible, and use one of the more descriptive declarations. This even helps in moving code to such machines as pee-cees (argh). -- ------------------------------------------------------------------------------- Phil Staub tektronix!tekigm!phils (206) 253-5634 Tektronix, Inc., ISI Engineering P.O.Box 3500, M/S C1-904, Vancouver, Washington 98668