From: silkwodj AT apci DOT com (David Silkworth) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro demo compilation Date: 12 Aug 2002 17:19:25 -0700 Organization: http://groups.google.com/ Lines: 28 Message-ID: References: <3d574b74 DOT sandmann AT clio DOT rice DOT edu> <2593-Mon12Aug2002202608+0300-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: 151.199.250.178 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1029197966 811 127.0.0.1 (13 Aug 2002 00:19:26 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 13 Aug 2002 00:19:26 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >>The latest FAQ was released 2 and a half years ago. Oh my! am I getting that old! Okay. I figured it out. djtypes.h (which resides in DJGPP\include\sys ) must be edited to wrap #if . . . #else . . . and #endif directives around the original *va_types #define here are the 5 lines that need to replace the original #define: #if __GNUC__>=3 #define __DJ_va_list typedef __builtin_va_list va_list; #else #define __DJ_va_list typedef void *va_list; // (this is the original line) #endif just copy and paste these guys over the original *va_list #define line, resave, and you are golden. (Now, unfortuneately my new Radeon 7500 doesn't seem to agree with the Allegro Demo. Oh my!)