Article View: gnu.g++.lib.bug
Article #366G++ Bug Report 14
From: Jeff Gehlhaar
Date: Fri, 11 Dec 1992 03:25
Date: Fri, 11 Dec 1992 03:25
14 lines
956 bytes
956 bytes
This is for version 2.3 of the libg++ library. // When warnings for overloaded virtuals are turned on: // an error is detected in <fstream.h> // it's an error and not a warning // Compiling this with ``g++ -v -c -Woverloaded-virtual bug014.cc'' gets: // Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.2/specs // gcc version 2.3.2 // In file included from bug014.cc:11: // /usr/local/lib/g++-include/fstream.h:34: conflicting specification deriving virtual function `void fstreambase::setbuf (char *, int)' #include <iostream.h> #include <fstream.h>
Technical Details
Message-ID:
<9212111826.AA26524@harvey>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!qualcomm.com!jbgShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!qualcomm.com!jbg From: jbg@qualcomm.com (Jeff Gehlhaar) Subject: G++ Bug Report 14 Message-ID: <9212111826.AA26524@harvey> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Fri, 11 Dec 1992 03:25:22 GMT Approved: bug-lib-g++@prep.ai.mit.edu Lines: 17