X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Kushal Kumaran" To: "DJGPP Mailing List" Subject: RE: -ansi breaks gpp? Date: Sun, 26 Oct 2003 18:48:36 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <3F9A5FB3.9178B63@phekda.freeserve.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: rich AT phekda DOT freeserve DOT co DOT uk > Sent: Saturday, October 25, 2003 5:04 PM > Subject: Re: -ansi breaks gpp? > Hello. > > Kushal Kumaran wrote: > > > > I am unable to use the -ansi switch with the most trivial C++ > > programs: > > > > DJGPP is not C99-compliant. The g++ headers are trying to > use declarations of > C99 functions. > > DJGPP 2.04 will be more C99-compliant. But it still may not > work. I'll see if > I can fix the development version (in CVS) this weekend. Thanks a lot. I got the djdev204 with a 25 October timestamp and applied the patch you sent and my C++ compiles work with -ansi. Thanks, Kushal.