From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12342 invoked by alias); 11 Jun 2002 22:16:05 -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 12309 invoked by uid 71); 11 Jun 2002 22:16:03 -0000 Date: Tue, 11 Jun 2002 15:16:00 -0000 Message-ID: <20020611221603.12305.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Jerry Pendergraft Subject: Re: libstdc++/6998: failure when #include Reply-To: Jerry Pendergraft X-SW-Source: 2002-06/txt/msg00258.txt.bz2 List-Id: The following reply was made to PR libstdc++/6998; it has been noted by GNATS. From: Jerry Pendergraft To: Phil Edwards Cc: gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/6998: failure when #include Date: Tue, 11 Jun 2002 17:09:17 -0500 (CDT) Yes there was - gcc-3.0.1. The fact that the message was different than the remark in the FAQ is what made me miss it the first time. Would that also explain why I was never able to build libstdc++-v3 with configuring with --enable-cheaders=(c|c_shadow) ? I am going to clean everything out tonight and re-bootstrap it. Perhaps configure could check for the previous version condition and warn the user? Thanks, -- Jerry Pendergraft jerry.pendergraft@endocardial.com Endocardial Solutions voice: 651-523-6935 1350 Energy Lane, Suite 110 fax: 651-644-7897 St Paul, MN 55108-5254 On Tue, 11 Jun 2002, Phil Edwards wrote: > On Tue, Jun 11, 2002 at 02:26:42PM -0500, Jerry Pendergraft wrote: > > In file included from /usr/local/include/g++-v3/bits/basic_file.h:250, > > from /usr/local/include/g++-v3/fstream:48, > > Looks like you've installed 3.1 over top of a previous version, which is Bad. > > http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#4_0 > > > > /usr/local/include/g++-v3/mips-sgi-irix6.5/bits/basic_file_model.h: In > > constructor `std::__basic_file<_CharT>::__basic_file(__c_lock*)': > > /usr/local/include/g++-v3/mips-sgi-irix6.5/bits/basic_file_model.h:39: class ` > > std::__basic_file<_CharT>' does not have any field named `_M_cfile' > > /usr/local/include/g++-v3/mips-sgi-irix6.5/bits/basic_file_model.h:39: class ` > > std::__basic_file<_CharT>' does not have any field named `_M_cfile_created' > > Although that's not the usual error we see in those cases. Can you check > whether a previous version of GCC might have been installed in /usr/local? > > > Phil > >