delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/05/08:15:02

From: "Alex Vinokur" <alexvn AT bigfoot DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro demo compilation
Date: Mon, 5 Aug 2002 15:05:11 +0200
Organization: Scopus
Lines: 54
Message-ID: <ailpgl$14v4dj$1@ID-79865.news.dfncis.de>
References: <aiedpo$146rqg$1 AT ID-79865 DOT news DOT dfncis DOT de> <1028307963 DOT 378240 AT queeg DOT ludd DOT luth DOT se> <1028398716 DOT 710521 AT queeg DOT ludd DOT luth DOT se> <aiijql$14efi7$1 AT ID-79865 DOT news DOT dfncis DOT de> <1028476193 DOT 984195 AT queeg DOT ludd DOT luth DOT se> <aik0ag$14bghf$1 AT ID-79865 DOT news DOT dfncis DOT de>
NNTP-Posting-Host: gateway.scopus.net (62.90.123.5)
X-Trace: fu-berlin.de 1028548949 38769075 62.90.123.5 (16 [79865])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Alex Vinokur" <alexvn AT bigfoot DOT com> wrote in message news:aik0ag$14bghf$1 AT ID-79865 DOT news DOT dfncis DOT de...
>
>
> "Martin Str|mberg" <ams AT speedy DOT ludd DOT luth DOT se> wrote in message news:1028476193 DOT 984195 AT queeg DOT ludd DOT luth DOT se...
[snip]
> >
> > What do you see at the end of the gcc readme.djgpp file?
>
>
> --- include/sys/djtypes.h~1 Tue Dec 14 06:56:16 1999
> +++ include/sys/djtypes.h Mon Feb  4 16:20:40 2002
> @@ -12,7 +12,12 @@
>  #define __DJ_ssize_t typedef int ssize_t;
>  #define __DJ_time_t typedef unsigned int time_t;
>  #define __DJ_uid_t typedef int uid_t;
> +
> +#if __GNUC__>=3
> +#define __DJ_va_list    typedef __builtin_va_list va_list;
> +#else
>  #define __DJ_va_list typedef void *va_list;
> +#endif
>
>  #if defined(__cplusplus) && ( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
>  /* wchar_t is now a keyword in C++ */
>

It seems that '#endif' is missing at the end of this piece of the code, i.e. must be as following :

#if defined(__cplusplus) && ( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
/* wchar_t is now a keyword in C++ */
#endif

I added '#endif'.

%cd allegro
% make                   // works OK
%make install          // works OK

Thanks,

====================
  Alex Vinokur
    http://up.to/alexvn
    http://go.to/alexv_math
    mailto:alexvn AT bigfoot DOT com
    mailto:alexvn AT go DOT to
  ====================






- Raw text -


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