From owner-freebsd-current Tue Aug 27 17:57:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4118B37B40E for ; Tue, 27 Aug 2002 17:57:36 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2F3A43E42 for ; Tue, 27 Aug 2002 17:57:35 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0268.cvx40-bradley.dialup.earthlink.net ([216.244.43.13] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 4.10) id 17jr9H-0004Cx-00; Tue, 27 Aug 2002 17:57:32 -0700 Message-ID: <3D6C1F76.30B458A5@mindspring.com> Date: Tue, 27 Aug 2002 17:55:18 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alexander Langer Cc: freebsd-current@FreeBSD.org, Gerald Pfeifer Subject: Re: gcc 3.1 / streambuf.h broken with "using namespace std;" References: <20020828021006.D1412@fump.kawo2.rwth-aachen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alexander Langer wrote: > What's going on wrong here? > GCC 2.9x can compile this, 3.1 cannot: Delete and reinstall your header files. They must match the compiler you are using, and you must not have stale header files from the previous compiler version. In general, though, the answer is that "3.1 sucks and 2.9x does not". 8-). Use at least GCC 3.2, if you feel compelled to use a buggy non-maintenance release level GCC; alternately, wait for 3.3. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message