From: Forsberg Sakari Newsgroups: comp.os.msdos.djgpp Subject: Re: problems with RSXNTDJ... + ALLEGRO Date: 1 Jan 2000 12:53:54 GMT Organization: Tampere University of Technology Lines: 39 Message-ID: <84ktd2$q9b$1@baker.cc.tut.fi> References: <84ikld$t24$1 AT baker DOT cc DOT tut DOT fi> <386D80E6 DOT A8737CA0 AT wxs DOT nl> <84kk4f$dbv$1 AT baker DOT cc DOT tut DOT fi> NNTP-Posting-Host: lehtori.cc.tut.fi X-Trace: baker.cc.tut.fi 946731235 26923 130.230.10.20 (1 Jan 2000 12:53:54 GMT) NNTP-Posting-Date: 1 Jan 2000 12:53:54 GMT User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (OSF1/V4.0 (alpha)) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Forsberg Sakari wrote: > A. Jans-Beken wrote: >>> How should I make my ALLEGRO gui program so that it will >>> run in windows 9X/NT/2000 >> Which version of allegro are you using? latest DJGPP also Checked out: 3.9.30 (alwip) RSXNTDJ: 1.60 beta (latest) Correction to latest posting, i haven't made modifications to djgpp.env, but now I have. now it prints: gxx -Zwin32 -g -Wall -pedantic -c main.cc In file included from main.cc:124: d:/djgpp/include/degui.h:911: macro `max' used with just one arg In file included from d:/djgpp/include/ctype.h:26, from d:/djgpp/lang/cxx/cctype:6, from d:/djgpp/lang/cxx/std/straits.h:105, from d:/djgpp/lang/cxx/std/bastring.h:36, from d:/djgpp/lang/cxx/string:6, from kurssi.h:3, from main.cc:126: d:/djgpp/include/inlines/ctype.ha:20: warning: `isalnum' redefined d:/djgpp/include/inlines/ctype.ha:21: warning: `isalpha' redefined d:/djgpp/include/inlines/ctype.ha:23: warning: `isdigit' redefined d:/djgpp/include/inlines/ctype.ha:28: warning: `isspace' redefined d:/djgpp/include/allegro/alrsxnt.h:XX: warning: this is the location of the previous definitions make.exe: *** [main.o] Error 1 that degui-error is really funny: There in line 911 is define (in class slider_object) int max(void) which return max-value... and gxx thinks it's macro :-) ** Sakari Forsberg zacu AT cc DOT tut DOT fi ** ** Information: finger zacu AT assari DOT cc DOT tut DOT fi **