home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.lib.bug
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!wcuvax1.wcu.edu!BRAY
- From: BRAY@wcuvax1.wcu.edu (Jim Bray)
- Subject: libg++-2.3 makes with -g removed from CFLAGS and CXXFLAGS
- Message-ID: <01GTA08OH8028WW5HY@WCUVAX1.WCU.EDU>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Fri, 8 Jan 1993 08:26:34 GMT
- Approved: bug-lib-g++@prep.ai.mit.edu
- Lines: 33
-
- Using gcc-2.3.3 and libg++-2.3, both configured as i486-sysv4:
-
- The "fatal signal six" error does not occur with CFLAGS and CXXFLAGS
- of nil or -O2.
- I made and installed libg++ using no optimisation. 'make check'
- still fails as in my previous note. The simple test program, the
- beginning of which is included below, still fails as reported in my
- previous message.
-
- --Jim Bray (bray@wcuvax1.wcu.edu)
-
- (Run Linux, the Official OS of the New World Order :))
- (Please Support the League for Programming Freedom, and Boycott ATT
- because of their legal intimidation of BSDI, UCB, and CMU)
-
- #include "fstream.h"
- #include "stdlib.h"
-
- void main()
- {
- ifstream infile;
- ofstream outfile;
- ofstream printer;
- char filename[20];
-
- cout << "Enter the desired file to copy ----> ";
-
- cin >> filename;
- infile.open(filename, ios::nocreate);
- if (!infile) {
- cout << "Input file cannot be opened.\n";
- exit(1);
-
-