Desireability of command-line options to cc

Kendall kendall at wjh12.UUCP
Sun Sep 11 23:10:39 AEST 1983


There have been almost no instances of command-line options to cc
which alter the language.  The Berkeley -R does so, but is reasonable
in that (1) it subtracts rather than adds to the langauge, and (2)
violation of the -R-induced restriction will lead to an error message.
Zilog has two C compilers, cc and cc2, which implement different
pointer sizes.  One could argue that other switches alter the language
in minor ways.

This restraint on the part of cc implementors is great.  Having a
program work if compiled one way, not if compiled another, would be a
disaster.

	Sam Kendall			{allegra,ihnp4}!wjh12!kendall
	Delft Consulting Corporation	  decvax!genrad!wjh12!kendall



More information about the Comp.lang.c mailing list