Message-ID: <373752C8.2F62DBA9@swipnet.se> From: Anders David Skarin X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: New ANSI standard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 Date: Mon, 10 May 1999 23:42:33 +0200 NNTP-Posting-Host: 130.244.117.108 X-Complaints-To: news-abuse AT swip DOT net X-Trace: nntpserver.swip.net 926372626 130.244.117.108 (Mon, 10 May 1999 23:43:46 MET DST) NNTP-Posting-Date: Mon, 10 May 1999 23:43:46 MET DST Organization: A Customer of Tele2 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello! New to djgpp and this news group, nice to be here. My first message is going to be a strange (for me) warning: when gxx (gcc) tries to compile the following lines: 12 : for(treD_vertice *p = first; p->next; p=p-next) 13: p->next = new treD_vertice(0,x,y,z) ( this is a run through some dynamically allocated pointers to allocate a new one ) i get the following warnings: 13 : name lookup of 'p' changed for new ANSI 'for' scoping 12 : using obsolete binding at 'p' I have never coded c++ for gcc before so I guess I would be stuck with the same warning in linux. I hope someone has the answer since it's quite annoying getting cryptic warnings.