casts to (void) [considered harmful]
Marc Lavine
mll at proper.UUCP
Sat Aug 17 20:37:29 AEST 1985
In article <> bright at dataio.UUCP (Walter Bright writes:
>In article <4894 at mit-eddie.UUCP> simsong at 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
More information about the Comp.lang.c
mailing list