From owner-freebsd-chat Wed Mar 6 10:43:48 2002 Delivered-To: freebsd-chat@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id 979AB37B404 for ; Wed, 6 Mar 2002 10:43:40 -0800 (PST) Received: from pool0158.cvx21-bradley.dialup.earthlink.net ([209.179.192.158] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16igNr-0000gn-00; Wed, 06 Mar 2002 10:43:27 -0800 Message-ID: <3C86633F.7DACBDE0@mindspring.com> Date: Wed, 06 Mar 2002 10:43:11 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Nate Williams Cc: Raymond Wiker , Giorgos Keramidas , "Steve B." , freebsd-chat@FreeBSD.ORG Subject: Re: C vs C++ References: <20020305132457.A4700-100000@alpha.yumyumyum.org> <001701c1c481$d0d5eab0$f642d9cf@DROID> <20020305231252.GC5328@hades.hell.gr> <3C8568E0.76415D99@mindspring.com> <20020306032029.GA7926@hades.hell.gr> <15494.13878.219807.949085@raw.grenland.fast.no> <15494.20631.682803.383406@caddis.yogotech.com> <15494.22039.581536.624619@raw.grenland.fast.no> <15494.23822.972400.759310@caddis.yogotech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Nate Williams wrote: > > I disagree with this. C++ compilers may not be up-to-date wrt > > to the latest standard (e.g, g++ 2.95.x vs ), but this should > > be a "transient" problem. > > It's not a transient problem when you can't use it *today*. Try using > C++ exceptions on *any* released version of FreeBSD. Actually, they finally work. Jeremy Allison and I dealt with the problem as of GCC 2.95, though a fix didn't make it into FreeBSD until EGCS. The main problems were that the RTTI didn't work, and there weren't per thread exception stacks. EGCS implemented the latter in an incredibly stupid way, actually. The RTTI problem was really a problem in the FreeBSD .mk files, since setting DESTDIR screws with the include and library paths for C++, putting the system includes and library patch in front of those for the installed compiler for any non-system compiler. > Try using it on HP/UX. Try using it on AIX. Try using standard > containers and see how they behave differently on different releases of > Solaris. Thankfully, RTTI is now standardized. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message