From owner-freebsd-questions Fri Jul 23 9:25:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from maulwurf.franken.de (maulwurf.franken.de [193.141.110.9]) by hub.freebsd.org (Postfix) with ESMTP id 33F0B14D70 for ; Fri, 23 Jul 1999 09:25:16 -0700 (PDT) (envelope-from gaspode.franken.de!tanis@maulwurf.franken.de) Received: by maulwurf.franken.de via rmail with stdio id for freebsd-questions@freebsd.org; Fri, 23 Jul 1999 18:24:10 +0200 (MET DST) (Smail-3.2 1996-Jul-4 #1 built DST-May-30) Received: (from tanis@localhost) by gaspode.franken.de (8.9.3/8.9.3) id SAA00724; Fri, 23 Jul 1999 18:20:52 +0200 (CEST) (envelope-from tanis) Date: Fri, 23 Jul 1999 18:20:52 +0200 From: German Tischler To: Ken Seggerman Cc: freebsd-questions@freebsd.org Subject: Re: C++ in GNU 2.8.1 Message-ID: <19990723182052.A703@gaspode.franken.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Ken Seggerman on Fri, Jul 23, 1999 at 10:39:28AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jul 23, 1999 at 10:39:28AM -0400, Ken Seggerman wrote: > Greetings: > > The GNU 2.8.1 compiler package that came with the FreeBSD 3.1 CD seems to > be full of problems. Once I got it working to some extent, I found that > namespaces were not working and many of the new features that I was able > to use on 2.8.1 on Solaris were not working. > > Has any progress been made since then? > > I would hesitate to try this again either as a package or a port until I > hear that some of these problems have been fixed. Version 2.8.1 of the GNU C/C++ Compiler is 'stone old'. If you want a compiler that gets reasonably close to ISO C++, use the latest EGCS release (1.1.2 at the time being). It supports namespaces but namespace std is on by default (I don't know if it can be turned off). It also doesn't support some other features as stringstreams, numeric_limits<> etc. but it's much better for C++ than anything from GNU below version 2.95 (which doesn't seem to have been released yet). -- German Tischler tanis@gaspode.franken.de tanis@cip.informatik.uni-wuerzburg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message