Message-ID: From: "Andris Pavenis" To: djgpp AT delorie DOT com, sparhawk AT eunet DOT at (Gerhard Gruber) Date: Tue, 30 Jun 1998 15:17:47 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Bug in DJGPP with exceptions? In-reply-to: <359fe4c6.3256821@news.Austria.EU.net> Precedence: bulk From: sparhawk AT eunet DOT at (Gerhard Gruber) Subject: Re: Bug in DJGPP with exceptions? Date sent: Mon, 29 Jun 1998 21:26:10 GMT > Destination: Nate Eldredge > From: Gruber Gerhard > Group: comp.os.msdos.djgpp > Date: Sun, 28 Jun 1998 21:33:42 -0700: > > >Gerhard Gruber wrote: > >> > >> I wrote a program that throws an exception when you read beyond EOF on a file. > >[deleted] > >> The exception doesn't get caught and I alwasy get "Abort!" though I didn't > >> change anything in the source and it worked with gcc 2.7. I also tried > >> -fexceptions but there is no difference. Any suggestions? > > > >Didn't we already figure this out? That happened with 2.8.0, but if it > >happens with 2.8.1, something is probably broken. Try compiling with > >-v, and post the output. > > I thought so, but it seems I was wrong. I just checked it again. Now I > uninstalled the 2.7.x distribution with the rm command again, just to be sure. > Then I reinstalled 2.8.1 again (I never downloaded 2.8.0 so this can't be a > problem) and the bug is still there. Have You read files from directory gnu/gcc-2.81 in archive gcc281b.zip? If not then PLEASE DO IT carefully. I think that will give You some hint. > > Reading specs from d:/gnu/lib/specs > gcc version 2.8.1 > d:/gnu/lib/gcc-lib/djgpp\2.81\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 > -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS > -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ > -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS > -D__DJGPP=2 -D__DJGPP_MINOR=1 -D__EXCEPTIONS -g -D_GCC d:/bc/search/main.cc > d:/gnu/tmp\ccaqrhsk > GNU CPP version 2.8.1 (80386, BSD syntax) > #include "..." search starts here: > #include <...> search starts here: > d:/gnu/lang/cxx > d:/gnu/include > d:/gnu/lang/cxx > d:/gnu/lib/gcc-lib/djgpp/2.81/include > d:/gnu/include > End of search list. > d:/gnu/lib/gcc-lib/djgpp\2.81\cc1plus.exe d:/gnu/tmp\ccaqrhsk -quiet > -dumpbase main.cc -g -version -o d:/gnu/tmp\ccbqrhsk > GNU C++ version 2.8.1 (djgpp) compiled by GNU C version 2.8.1. > d:/gnu/bin/as.exe -o d:/bc/search/main.o d:/gnu/tmp\ccbqrhsk > Reading specs from d:/gnu/lib/specs > gcc version 2.8.1 > d:/gnu/bin/ld.exe -o search.exe d:/gnu/lib/crt0.o -Ld:/gnu/lib > -Ld:/gnu/lib/gcc-lib/djgpp\2.81 -Ld:/gnu/bin -Ld:/gnu/lib -v ctime.o file.o > main.o -lstdcxx -Tdjgpp.djl -lgcc -lc -lgcc > d:/gnu/bin/stubify.exe -v search.exe > > -- > Bye, > Gerhard > > email: sparhawk AT eunet DOT at > g DOT gruber AT sis DOT co DOT at > > Spelling corrections are appreciated. >