delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/10/03:56:41

Message-ID: <000401be0c83$4ab6dde0$97afccc2@d9a9a4>
From: "Daniel Mironowicz" <danielm9 AT polbox DOT com>
To: "DJGPP" <djgpp AT delorie DOT com>
Subject: Bug in gcc ?
Date: Tue, 10 Nov 1998 00:03:27 +0100
MIME-Version: 1.0
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

Hi,
Here's what i've found:

#include <conio.h>

int main(void)
{
    int ptr[10];
    int p = ptr[1],        // check out the ending of this line
    getch();                // if you remove this line gcc displays error
msg
}

i use gcc 2.8.1

Bye

danielm9 AT polbox DOT com

- Raw text -


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