Path: utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!JMW.LARCH.CS.CMU.EDU!dld From: dld@JMW.LARCH.CS.CMU.EDU (David Detlefs) Newsgroups: gnu.g++.bug Subject: 'catch' as keyword considered unfortunate Message-ID: <8912082145.AA28117@life.ai.mit.edu> Date: 8 Dec 89 21:45:25 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21 Michael -- Could I register a request that some future release of G++ have a mode in which (at least) the exception handling mechanism is disabled? I have to compile code I don't own (Mach include files) that happen to use 'catch' as a structure field tag. G++ can't compile these include files; I have to go through some hassle to get things to work. I can't really see myself going to the people in charge of these files and saying, "Uh, could you please not use 'catch' as a name?" I think they would have a legitimate objection if they said, well, this is a include file for C, and we're willing to some work to make it C++, but if G++ is going off and defining a new language... (Note that I'm not accusing anyone of this, just proposing it as a somewhat understandable objection.) In more generality: it would be nice if there were an AT&T compatibility mode. For what it's worth... Dave