Allegro402 error!>:(
Johnny13
in file include from include/allegro/base.h:26,
                from include/allegro.h:27,
                from src/allegro.c:23,
c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for 'va_list'
c:/djgpp/include/stdio.h:35: previous declaration of 'va_list'
make.exe[1]:***[obj/djgpp/alleg/allegro.o] Error 1
...

still have problem!>:(:-/

StevenVI
Johnny13

Ok!editing c:\djgpp\include\sys\djtypes.h

Quote:

#if __GNC__>=3
#define __DJ_va_list typedef __builtin_va_list va_list;
#else
#define __DJ_va_list typedef void *va_list;
#endif

saved. make.

Quote:

c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for 'va_list'
c:/djgpp/include/stdio.h:35: previous declaration of 'va_list'

STILL ERROR! Exactly same!>:(
*sigh*..GCC sucks!:-/

23yrold3yrold

GCC rules. Use MinGW and you won't have this problem (and we'll be able to play your Mario game) :)

Rash

Looks like you've made a typo, Johnny:

Quote:

#if __GNC__>=3

should be

#if __GNUC__>=3

If you had just copy-and-paste it, like I advised you before, this wouldn't have happened.

Quote:

*sigh*..GCC sucks!

For the second time: this is a DJGPP issue, not a GCC one.

Johnny13

whoops!my fault|||b
:-[:P thanks..

Thread #194422. Printed from Allegro.cc