Mail Archives: djgpp/1997/02/19/03:03:40
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 -