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!>:(:-/
See this:http://www.allegro.cc/forums/view_thread.php?_id=192904
-Sven
Ok!editing c:\djgpp\include\sys\djtypes.h
#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.
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!:-/
GCC rules. Use MinGW and you won't have this problem (and we'll be able to play your Mario game)
Looks like you've made a typo, Johnny:
#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.
*sigh*..GCC sucks!
For the second time: this is a DJGPP issue, not a GCC one.
whoops!my fault|||b
thanks..