www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/12/20:30:05

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: <d709b955.0208121619.5513e503@posting.google.com>
References: <d709b955 DOT 0208111756 DOT 1056d939 AT posting DOT google DOT com> <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
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!)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019