From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29252 invoked by alias); 5 Aug 2002 16:46:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 29216 invoked by uid 71); 5 Aug 2002 16:46:02 -0000 Date: Mon, 05 Aug 2002 09:46:00 -0000 Message-ID: <20020805164602.29210.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Gabriel Dos Reis Subject: Re: c++/7498: copy constructor of ostream (and ios) is private and it should not be! Reply-To: Gabriel Dos Reis X-SW-Source: 2002-08/txt/msg00095.txt.bz2 List-Id: The following reply was made to PR c++/7498; it has been noted by GNATS. From: Gabriel Dos Reis To: mdp@fnal.gov Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/7498: copy constructor of ostream (and ios) is private and it should not be! Date: 05 Aug 2002 18:34:23 +0200 mdp@fnal.gov writes: | >Number: 7498 | >Category: c++ | >Synopsis: copy constructor of ostream (and ios) is private and it should not be! [...] | >Release: gcc 2.96.3 20000503/Linux There is no GCC release named 2.96.3, I guess you meant 2.95.3. That release is known to come with pre-standard library. The library that comes with GCC-3.x is much more compliant and meets the standard requirement in that area. [...] | ostream a=file; This is ill-formed, you cannot copy a std::ostream. | works on Visual C++ but on g++ If it worked with Visual C++, then it is a bug in that compiler. -- Gaby