Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Allegro402 error!>:(

This thread is locked; no one can reply to it. rss feed Print
Allegro402 error!>:(
Johnny13
Member #805
October 2000
avatar

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!>:(:-/

Alg3D Praise my Games!!<code>#define SPAMMER (post>=666&&postperday>=6)</code><Mr.spellcaster>What post? <Mr.spellcaster>A useful post by me.

StevenVI
Member #562
July 2000
avatar

__________________________________________________
Skoobalon Software
[ Lander! v2.5 ] [ Zonic the Hog v1.1 ] [ Raid 2 v1.0 ]

Johnny13
Member #805
October 2000
avatar

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!:-/

Alg3D Praise my Games!!<code>#define SPAMMER (post>=666&&postperday>=6)</code><Mr.spellcaster>What post? <Mr.spellcaster>A useful post by me.

23yrold3yrold
Member #1,134
March 2001
avatar

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

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Rash
Member #2,374
May 2002
avatar

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
Member #805
October 2000
avatar

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

Alg3D Praise my Games!!<code>#define SPAMMER (post>=666&&postperday>=6)</code><Mr.spellcaster>What post? <Mr.spellcaster>A useful post by me.

Go to: