Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site proper.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!lll-crg!dual!proper!mll From: mll@proper.UUCP (Marc Lavine) Newsgroups: net.lang.c Subject: Re: casts to (void) [considered harmful] Message-ID: <220@proper.UUCP> Date: Sat, 17-Aug-85 06:37:29 EDT Article-I.D.: proper.220 Posted: Sat Aug 17 06:37:29 1985 Date-Received: Tue, 20-Aug-85 21:25:28 EDT References: <> Reply-To: mll@proper.UUCP (mll) Organization: Proper UNIX, Oakland CA Lines: 19 Keywords: Lattice C In article <> bright@dataio.UUCP (Walter Bright writes: >In article <4894@mit-eddie.UUCP> simsong@mit-eddie.UUCP (Simson L. Garfinkel) writes: >>Normally, when I am working on a project that must be transportable, I >>use a file on my system called "COMPILER_DEPENDENCIES.h" On a VAX, this >>file looks like this: >>#typedef int32 unsigned int >>#typedef int16 unsigned short int >> >>On my IBM/PC (lattice C, UGH!), the file is "COMP_DPD.h" and it looks >>like this: >>#typedef int32 unsigned long int > ^^^^^^^^^^^^^ Lattice doesn't support unsigned long! The latest version of Lattice C (version 3.00) treats unsigned as a true modifier, not as its own type, therefore Lattice now supports unsigned longs. -- Marc Lavine UUCP: ...ihnp4!dual!proper!mll MCI Mail: MLavine