delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/29/03:17:27

Date: Mon, 29 Dec 1997 10:17:17 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Noam Rotem <nrotem AT johnbryce DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: The warning <-- Solved. Thank you
In-Reply-To: <Chameleon.971228212432.nrotem@netvision.netvision>
Message-ID: <Pine.SUN.3.91.971229101659.27720F-100000@is>
MIME-Version: 1.0

On Sun, 28 Dec 1997, Noam Rotem wrote:

> Warning:  excess elements in array initializer after `Mat[0]'
> 
> My question is - why do Borland compilers treat this wrong syntax as an 
> error, while dgjpp only warns against it?

A warning means that DJGPP is not sure that the code is wrong, and
assumes that you might know what you are doing.  I don't see anything
wrong with this approach; you should always treat the warnings
seriously and examine each of them carefully.

- Raw text -


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