Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!rex!uflorida!gatech!purdue!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Managing error strings in C Message-ID: <14891@smoke.brl.mil> Date: 17 Jan 91 23:30:27 GMT References: <1991Jan10.122227@lotus.lotus.com> <1991Jan15.212017.25308@ccu.umanitoba.ca> <689@caslon.cs.arizona.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 13 In article <689@caslon.cs.arizona.edu> dave@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.