Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!ROCKY.OSWEGO.EDU!dl From: dl@ROCKY.OSWEGO.EDU (Doug Lea) Newsgroups: gnu.g++.lib.bug Subject: Failed assert libg++ 1.34. Message-ID: <8903111743.AA04805@rocky> Date: 11 Mar 89 17:43:29 GMT References: <8903111653.AA15159@prep.ai.mit.edu> Sender: daemon@tut.cis.ohio-state.edu Reply-To: dl@rocky.oswego.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 64 On Sun3's, the file RNG.cc *must* be compiled with the -ffloat-store option. A comment in Dirk Grunwald's RNG.cc code explains why. My apologies for not mentioning this anywhere in the installation instructions. While I am at it, here are the other known bugs in libg++-1.34.0: 1. CursesWindow (test23) fails on Sun3's and Sun4's under X-windows, but not under terminal emulation or remote logins. I have not yet discovered why. 2. I incorrectly modified etc/Patmain.cc. Here are the diffs: R>diff -2rcN Patmain.cc~ Patmain.cc *** Patmain.cc~ Thu Mar 9 06:51:52 1989 --- Patmain.cc Fri Mar 10 06:39:50 1989 *************** *** 15,19 **** else { if ( ! freopen ( argv [ 1 ], "r", stdin ) ) { ! perror ( argv [ 0 ] ), return; } Patricia_Trie Trie; --- 15,19 ---- else { if ( ! freopen ( argv [ 1 ], "r", stdin ) ) { ! perror ( argv [ 0 ] ); return; } Patricia_Trie Trie; *************** *** 26,30 **** fclose ( stdin ); if ( ! freopen ( argv [ 2 ], "r", stdin ) ) { ! perror ( argv [ 0 ] ), return; } --- 26,30 ---- fclose ( stdin ); if ( ! freopen ( argv [ 2 ], "r", stdin ) ) { ! perror ( argv [ 0 ] ); return; } 3. etc/gperf/stderr.cc contains improper intitializations. Here are the diffs: R>diff -2rcN stderr.cc~ stderr.cc *** stderr.cc~ Fri Mar 3 06:11:38 1989 --- stderr.cc Sat Mar 11 12:36:27 1989 *************** *** 23,29 **** #include "stderr.h" ! Stderr::Stderr (void): Program_Name ("") { } ! Stderr::Stderr (char *Prog_Name): Program_Name (Prog_Name) { } void --- 23,29 ---- #include "stderr.h" ! Stderr::Stderr (void) { Program_Name = ""; } ! Stderr::Stderr (char *Prog_Name) { Program_Name = Prog_Name; } void