From: "A. Darrow" Newsgroups: comp.os.msdos.djgpp Subject: Re: GPP Compile problem Date: Wed, 3 Nov 1999 15:22:29 -0800 Organization: Posted via Supernews, http://www.supernews.com Lines: 40 Message-ID: References: <381FCD7E DOT 9D6AA339 AT a DOT crl DOT com> X-Complaints-To: newsabuse AT supernews DOT com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Weiqi Gao wrote in message news:381FCD7E DOT 9D6AA339 AT a DOT crl DOT com... > "A. Darrow" wrote: > > > > [...] > > As it turns out, these two files are completely different > > in each compiler distribution, although they appear to be > > doing the same thing. This may be apropo of nothing. > > The two files should be completely different, but they should do exactly > the samething that's specified by the ANSI C++ standard. Why should they be completely different? I've noticed that many of the header files in both distributions are written by the same individual! i.e. Istring.cpp [...] > This error is caused by the fact that the ANSO C++ standard changed the > scoping rules for variables defined in the for() header. They go away > as soon as the for loop ends now. > [...] > > > > 1. Are some of the header, .cpp, lib files in the DJGPP distribution (v > > 2951) obsolete or out of date? > > I don't think so. Yet the file Istring.cpp will not compile because of the change in the scoping rule. Is this just semantics? > Weiqi Gao > weiqigao AT a DOT crl DOT com >