🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1643

Re: A FAQ with a Frequently Changing Answer

#1643
From: Joe Buck
Date: Mon, 07 Aug 1995 17:06
17 lines
1310 bytes
matt@physics.berkeley.edu writes:
>Metaware.  There's also some very incomplete namespace support
>in gcc 2.7.0.  gcc is the only compiler I know of that supports
>the new rule about the scope of variables declared in for loops:
>it'll be amusing to see how much code breaks in 2.7.0.

Quite a lot of code breaks, actually (I can't think of a single publicly
available C++ program of nontrivial size that did *not* break), which is
why g++ 2.7.0 has a flag (-fno-for-scope) to revert to the old behavior.
It's certainly the #1 reported "bug" on the g++ bug group, despite
warnings in the distribution and requests not to report this new feature
as a bug.

-- 
-- Joe Buck 	<jbuck@synopsys.com>	(not speaking for Synopsys, Inc)
Anagrams for "information superhighway":	Enormous hairy pig with fan
						A rough whimper of insanity
Technical Details
Message-ID: <405h7e$5ah@hermes.synopsys.com>
Path: arc1-ca.pugleaf.net!news.synopsys.com!jbuck
References: <3vkrcm$j3t@erinews.ericsson.se> <ckt-0408950105470001@ckt.vip.best.com> <MATT.95Aug4094547@godzilla.eecs.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.synopsys.com!jbuck
From: jbuck@synopsys.com (Joe Buck)
Newsgroups: comp.std.c++
Subject: Re: A FAQ with a Frequently Changing Answer
Date: 7 Aug 1995 17:06:54 GMT
Organization: Synopsys Inc., Mountain View, CA 94043-4033
Message-ID: <405h7e$5ah@hermes.synopsys.com>
References: <3vkrcm$j3t@erinews.ericsson.se> <ckt-0408950105470001@ckt.vip.best.com> <MATT.95Aug4094547@godzilla.eecs.berkeley.edu>
NNTP-Posting-Host: deerslayer.synopsys.com