Date: Wed, 06 Mar 2002 10:43:11 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Nate Williams <nate@yogotech.com> Cc: Raymond Wiker <Raymond.Wiker@fast.no>, Giorgos Keramidas <keramida@ceid.upatras.gr>, "Steve B." <steveb99@earthlink.net>, freebsd-chat@FreeBSD.ORG Subject: Re: C vs C++ Message-ID: <3C86633F.7DACBDE0@mindspring.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <sstream>), 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C86633F.7DACBDE0>