Date: Wed, 19 Feb 1997 09:57:19 +0200 (IST) From: Eli Zaretskii To: "John M. Aldrich" cc: djgpp AT delorie DOT com Subject: Re: Allegro Warnings? In-Reply-To: <3309F2AE.4918@cs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.