🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #697

'catch' as keyword considered unfortunate

#697
From: David Detlefs
Date: Fri, 08 Dec 1989 21:45
21 lines
1348 bytes
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
Technical Details
Message-ID: <8912082145.AA28117@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!JMW.LARCH.CS.CMU.EDU!dld

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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