Mail Archives: djgpp/1995/02/14/03:51:10
hi,
I tried to compile the test program with aewin102
and cc1plus crashed. I think there's problems with
aewin (its dated 1990 so its probably not up to date
with the c++ stuff or whatever) but surely buggy code
shouldn't crash the compiler, no? Here' the result
of a "gcc -v -I../inc test.cc". I had go32=ansi topline,
using himem.sys, emm386.sys noems. (I just now tried
with go32=nodpmi and it still crashes if that helps at all).
-hr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reading specs from f:/djgpp/lib\specs
gcc version 2.6.3
f:/djgpp/bin\cpp.exe -lang-c++ -v -I../inc -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 test.cc c:/tmp\cca00043
GNU CPP version 2.6.3 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
../inc
f:/djgpp/cplusinc
f:/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.
f:/djgpp/bin\cc1plus.exe c:/tmp\cca00043 -quiet -dumpbase test.cc -version -o c:/tmp\ccb00043
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 test.cc:1:
../inc/aecc.h:61: declaration of C function `int atexit(void (*)(...))' conflicts with
f:/djgpp/include/djgppstd.h:63: previous declaration `int atexit(void (*)())' here
../inc/aecc.h:61: conflicting types for `int atexit(void (*)(...))'
f:/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 test.cc:1:
../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=00172638 edi=0018b400
ebp=7ffff674 esp=7ffff64c 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
- Raw text -