www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/19/03:03:40

Date: Wed, 19 Feb 1997 09:57:19 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "John M. Aldrich" <fighteer AT cs DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Allegro Warnings?
In-Reply-To: <3309F2AE.4918@cs.com>
Message-ID: <Pine.SUN.3.91.970219095606.22519D-100000@is>
MIME-Version: 1.0

On Tue, 18 Feb 1997, John M. Aldrich wrote:

> > Allegro.h (lineNo.?) Ansi C forbids zero-size array 'line'
> > Allegro.h (lineNos????) Ansi Does not permit the keyword 'inline'
> > Allegro.h (lineNos????) Ansi Does not permit the keyword 'asm'
> > Allegro.h (lineNos?) Ansi C forbids zero-size array 'dat'
> > 
> > Have I missed something in my installation of the new compiler and/or
> > Allegro or am I simply doing something wrong??
> 
> Your program's makefile obviously passes the '--ansi' and/or
> '--pedantic' switches to gcc, causing it to complain about the above
> things.

Shawn,  at least the `asm' and `inline' problems should be fixed by using 
`__asm__' and `__inline__' instead.

- Raw text -


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