delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/03/18/16:31:48

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Jesper Lund" <jelu AT despammed DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: iterator depricated warning
Date: Thu, 18 Mar 2004 22:17:52 +0100
Lines: 26
Message-ID: <c3d3s8$25uh6o$1@ID-192146.news.uni-berlin.de>
References: <nsni50d7ok24lkfj0qefs6hv3e9ec791jd AT 4ax DOT com> <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 <dang2015 AT aol DOT com> 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019