www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/27/11:52:53

Date: Mon, 27 Mar 95 16:42:37 MET DST
From: "Chris Pennifold, REO2-F/G9, 830-4951" <pennifold AT marvin DOT enet DOT dec DOT com>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Cc: pennifold AT marvin DOT enet DOT dec DOT com
Apparently-To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Text Windows

Hi,

I am still new to DJGPP so please go easy on me!

Does text windows from aewin102.zip work, if so how? or does it require some 
fixing on the fly?

I have installed everything to the letter, and everything else works 
fine,except...windows.

I have provided the output from the compilation crash, so if anyone has any 
thoughts I would be most grateful if they could share them with me.

Thanks.

Chris.

gcc -O -Iinc -v -c src/basewin.cc -o objs/basewin.o
Reading specs from c:/djgpp/lib\specs
gcc version 2.6.3
 c:/djgpp/bin\cpp.exe -lang-c++ -v -Iinc -undef -D__GNUC__=2 -D__GNUG__=2 
-D__cplusplus -D__GNUC_MINOR__=6 -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ 
-D__i386__ -D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__MSDOS 
-D__OPTIMIZE__ src/basewin.cc c:\tmp\cc000104
GNU CPP version 2.6.3 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 inc
 c:/djgpp/cplusinc
 c:/djgpp/include
 /usr/local/lib/g++-include
 /usr/local/include
 /usr/local/go32/include
 /usr/local/lib/gcc-lib/go32/2.6.1/include
 /usr/include
End of search list.
 c:/djgpp/bin\cc1plus.exe c:\tmp\cc000104 -quiet -dumpbase basewin.cc -O 
-version -o c:\tmp\cca00104
GNU C++ version 2.6.3 (80386, BSD syntax) compiled by GNU C version 2.6.3.
In file included from inc/aedef.h:35,
                 from inc/w.h:22,
                 from src/basewin.cc:17:
inc/aecc.h:61: declaration of C function `int atexit(void (*)(...))' conflicts 
with
c:/djgpp/include/djgppstd.h:63: previous declaration `int atexit(void (*)())' 
here
inc/aecc.h:61: conflicting types for `int atexit(void (*)(...))'
c:/djgpp/include/djgppstd.h:63: previous declaration as `int atexit(void (*)())'
inc/attrmap.h: In method `void attribmap::setmap(unsigned char *, int = 
MAPSIZE)':
In file included from inc/w.h:31,
                 from src/basewin.cc:17:
inc/attrmap.h:36: call of overloaded `min' is ambiguous
inc/aedef.h:79: candidates are: min(short int, short int)
inc/aedef.h:76:                 min(long int, long int)
Segmentation violation in pointer 0x00000405 at d8:50544
eax=00000401 ebx=00187e30 ecx=00187e30 edx=00187e30 esi=00172660 edi=0018b400
ebp=7ffff668 esp=7ffff640 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=00000405
Call frame traceback EIPs:
  0x00050544
  0x0004ff72
  0x000500fc
  0x0004fb17
  0x000492c9
  0x00071ddb
  0x000768f2
make.exe: *** [objs/basewin.o] Error 1

- Raw text -


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