X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Jesper Lund" Newsgroups: comp.os.msdos.djgpp Subject: Re: iterator depricated warning Date: Thu, 18 Mar 2004 22:17:52 +0100 Lines: 26 Message-ID: References: <20040318090000 DOT 03037 DOT 00001435 AT mb-m15 DOT aol DOT com> NNTP-Posting-Host: 0x50a5b373.bynxx14.adsl-dhcp.tele.dk (80.165.179.115) X-Trace: news.uni-berlin.de 1079644875 73352408 I 80.165.179.115 ([192146]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com DanG2015 wrote: >> Have you tried GCC 3.3.x? No idea if it will help or not, but you >> never know. > > No, but you're right, I should try it. What worries me is that > "depricated" is "depricated"... meaning if it's considered > "old-school" in 3.2, I'd guess the same should hold true in 3.3. > and above. It means that your code does not adhere to the current ANSI C++ standard. Get a recent C++ book, like Bjarne Stroustrup "The C++ Programming Language", 3rd ed. > I just cannot figure an alternate form of the declaration that > would work. Check your code again. By the way, this problem is not specific to DJGPP. I am fairly certain that you would get exactly the same warning with other versions of the gcc compiler (e.g. MinGW or Cygwin under Windows, gcc on Linux, etc). -- Jesper Lund