Message-ID: <004e01be3b94$fd372200$d3f8c6c3@johans-dator> From: "Johan Henriksson" To: "DJGPP mailinglist" Subject: Warning wanted Date: Sat, 9 Jan 1999 06:57:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com from Johan Henriksson, Sweden HTTP://come.to/jhewok | Primary mail: johan DOT he AT telia DOT com #UIN 12035895 Second: jhe75 AT hotmail DOT com Third: johan_he AT yahoo DOT com Leadprogrammer and FX-specialist at Real software http://come.to/real_software ************************************************************************* While I was working on my 3D-engine today, I found a nasty problem. I declared an array like this: int array[10,10]; I compiled and it ran fine (!). But as I know, it is impossible to declare variables like this. The problem was that it complained on this instead: array[3][3]=5; It took me 2 hours to fix this problem! Can't you guys implement a warningsignal when this kind of declarations are done? A pitfall less for us Basicprogrammers :)