delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/01/09:01:20

From: Forsberg Sakari <zacu AT cc DOT tut DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problems with RSXNTDJ... + ALLEGRO
Date: 1 Jan 2000 10:15:43 GMT
Organization: Tampere University of Technology
Lines: 68
Message-ID: <84kk4f$dbv$1@baker.cc.tut.fi>
References: <84ikld$t24$1 AT baker DOT cc DOT tut DOT fi> <386D80E6 DOT A8737CA0 AT wxs DOT nl>
NNTP-Posting-Host: lehtori.cc.tut.fi
X-Trace: baker.cc.tut.fi 946721743 13695 130.230.10.20 (1 Jan 2000 10:15:43 GMT)
NNTP-Posting-Date: 1 Jan 2000 10:15:43 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

A. Jans-Beken <jansb000 AT wxs DOT nl> 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 WIP, if I'm not wrong....

>I recall that the WIP version
> has more information about different compiler-versions.

I have included winalleg.h right after allegro.h
and made required modifications to my autoexec.bat
and djgpp.env...

beginning of my makefile....

CC = gxx
COMP =  -Zwin32 \
	-g\
	-Wall \
	-pedantic \
	-c
LIBS =  \
	-ldegui \
	-lalleg

<messages>
In file included from d:/djgpp/include/winalleg.h:36,
		 from main.cc:123:
d:/rsxntdj/include/win32/windows.h:87: excpt.h: No such file or directory (ENOENT)
In file included from d:/rsxntdj/include/win32/windows.h:89,
		 from d:/djgpp/include/winalleg.h:36,
		 from main.cc:123:
d:/rsxntdj/include/win32/wingdi.h:2729: warning: invalid preprocessing directive name
In file included from d:/djgpp/include/degui.h:13,
		 from main.cc:124:
d:/djgpp/include/values.h:25: warning: `MINSHORT' redefined
d:/rsxntdj/include/win32/winnt.h:306: warning: this is the location of the previous definition
d:/djgpp/include/values.h:27: warning: `MINLONG' redefined
d:/rsxntdj/include/win32/winnt.h:308: warning: this is the location of the previous definition
d:/djgpp/include/values.h:29: warning: `MAXSHORT' redefined
d:/rsxntdj/include/win32/winnt.h:307: warning: this is the location of the previous definition
d:/djgpp/include/values.h:31: warning: `MAXLONG' redefined
d:/rsxntdj/include/win32/winnt.h:309: warning: this is the location of the previous definition
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/allegro/alrsxnt.h:67: warning: this is the location of the previous definition
d:/djgpp/include/inlines/ctype.ha:21: warning: `isalpha' redefined
d:/djgpp/include/allegro/alrsxnt.h:65: warning: this is the location of the previous definition
d:/djgpp/include/inlines/ctype.ha:23: warning: `isdigit' redefined
d:/djgpp/include/allegro/alrsxnt.h:66: warning: this is the location of the previous definition
d:/djgpp/include/inlines/ctype.ha:28: warning: `isspace' redefined
d:/djgpp/include/allegro/alrsxnt.h:68: warning: this is the location of the previous definition
make.exe: *** [main.o] Error 1

Exit code 2

**      Sakari Forsberg zacu AT cc DOT tut DOT fi       **
** Information: finger zacu AT assari DOT cc DOT tut DOT fi **

- Raw text -


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