Managing error strings in C

Doug Gwyn gwyn at smoke.brl.mil
Fri Jan 18 10:30:27 AEST 1991


In article <689 at caslon.cs.arizona.edu> dave at cs.arizona.edu (Dave P. Schaumann) writes:
>I have heard arguments against using enum which go "it wasn't there when I
>started using C".

The arguments that I have heard are:
	(1) It wasn't in K&R 1st Edition, so many existing compilers
	don't support it.
	(2) It was misimplemented in many compilers (notably some
	releases of PCC), so it is difficult to use.

I agree that if you can count on enum support that works right, it is
a valuable language construct.  For maximum portability at present you
might want to avoid using it, however.



More information about the Comp.lang.c mailing list