From: Jerzy Witkowski Newsgroups: comp.os.msdos.djgpp Subject: Bugs in 2.8.0? Date: 11 Mar 1998 15:00:13 +0100 Organization: University of Wroclaw Lines: 31 Sender: jwi AT swiatowit Message-ID: NNTP-Posting-Host: swiatowit.ii.uni.wroc.pl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk When recompiling my current C++ programs with new 2.8.0 gpp I found two differences, probably bugs. First (minor one): when including with -Wall option, compiler warns about symbol NULL defined twice: in string.h and libio.h files. Second, rather serious: exceptions cannot be caught. The following program: #include int main (void) { try { throw (int)5; } catch (int) { cout << "catch" << endl; } return 0; } produces output "catch" with 2.7.2.1 and output "Abort!" (incorrect, I think) with new 2.8.0 version. Is this something specific to DJGPP or to gcc 2.8.0 in general? TIA, -- Jerzy Witkowski o o University of Wroclaw, Institute of Computer Science /| | |/| Przesmyckiego 20, PL-51151 Wroclaw |/| | | room: 11, phone: 0048 71 3247360 /| |/^\| | phone/fax office secretary: 0048 71 3251271 <__|