Are the criteria for Unix and PC compilers different?

Bob Larson blarson at skat.usc.edu
Mon Mar 7 05:08:44 AEST 1988


In article <22314ad9 at ralf.home> Ralf.Brown at B.GP.CS.CMU.EDU writes:
>In article <1106 at silver.bacs.indiana.edu>, backstro at silver.bacs.indiana.edu (Dave White) writes:
>}When will they
>}realize that some of us really want the option of using 32-bit ints to
>}port Unix-born code?

>#define int long

* Does not handle implicit int declarations, such as undeclared functions,
funtion argument promotion, "register i;", etc, etc.

* Does not work on compilers that don't allow #define of a keyword.

>Need I say more?

No, you already made a big enough fool of yourself.
--
Bob Larson	Arpa: Blarson at Ecla.Usc.Edu	blarson at skat.usc.edu
Uucp: {sdcrdcf,cit-vax}!oberon!skat!blarson
Prime mailing list:	info-prime-request%fns1 at ecla.usc.edu
			oberon!fns1!info-prime-request



More information about the Comp.lang.c mailing list