|
|
| Problems installing Allegro with DJGPP |
|
Antoni Burguera
Member #2,484
June 2002
|
Some months ago I installed succesfully Allegro on my old desktop computer. Now I am trying to install it on my Toshiba laptop. I use Windows 98, but I want to use Allegro with DJGPP. I have succesfully installed DJGPP and set correctly the environment variables, but when I try to compile allegro, the following error message appears: ==================== Does anyone know how can I solve this problem? Thanks! |
|
Rash
Member #2,374
May 2002
|
|
Matthew Leverton
Supreme Loser
January 1999
|
Rash, could you possibly create a simple HTML page that explains the problem and shows the fix in a step-by-step page. If you e-mail that to me, I could place it on Allegro.cc for easy reference. It's bound to keep coming up again & again. I'd do it myself, but I don't have DJGPP or Windows 98. |
|
Rash
Member #2,374
May 2002
|
Ok, I'm going to try to make this sound as simple as possible: Go inside the main directory where you have installed DJGPP. #define __DJ_va_list typedef void *va_list;
Add the following before line 15: #if __GNUC__>=3 #define __DJ_va_list typedef __builtin_va_list va_list; #else Add the following after line 15: #endif
Save the file. If anyone manages to not understand this, then you have my sympathy. |
|
Matthew Leverton
Supreme Loser
January 1999
|
What version(s) of DJGPP/gcc does this affect? Is there an official upgrade available yet that fixes this issue? |
|
Rash
Member #2,374
May 2002
|
The patch is necessary for GCC 3.1, but from the looks of the macro it seems to affect all 3.x versions, so Your Mileage May Vary(tm). Quote: Is there an official upgrade available yet that fixes this issue? You're looking at it. |
|
Bruce Perry
Member #270
April 2000
|
My DJGPP, shipped with gcc 3.0.3, isn't affected. Nice sig Rash -- |
|
|