[net.lang.c] Portablility problems

geacc022%timevx@CIT-HAMLET.ARPA (07/19/85)

    I am going to be attempting to write 'portable' C code, and I
would like to know what some of the traps are that people who grew
up in Ye Olde Classic Vax Environment should look out for.  I already
know about the sizeof int == 2 or 4 bytes; and the int != char * != xxx *
problems.  Another one that came to mind when I was reading some of
my old code was that our compiler allows you to take that address of
a function parameter -- but machines that pass parameters in registers
probably won't let me do that.

    I don't need to know about Reiserisms, since our compiler never
supported those anyway; but what other problems have people had
trying to port code from a Vax?  Respond to me, and I'll summarize
for the net.  Thanks in advance,

			Gary Ansok
			GEACC022%TIMEVX @ CIT-HAMLET.ARPA
			GEA @ CALTECH.BITNET
			...ucbvax!cithep!timevx#geacc022