Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!samsung!rex!ames!haven!decuac!shlump.nac.dec.com!engage!ootool.dec.com!tenny From: tenny@ootool.dec.com (Dave Tenny) Newsgroups: comp.sys.next Subject: Re: C++ and -- Bug report Message-ID: <1991Jan28.134211.1497@engage.enet.dec.com> Date: 28 Jan 91 13:33:57 GMT Sender: news@engage.enet.dec.com (USENET News System) Distribution: comp Organization: Digital Equipment Corporation Lines: 38 In article , melling@cs.psu.edu (Michael D Mellinger) writes... > >NeXT uses the C++ reserved word 'new' in stdio.h!!!!! I can't believe >NeXT didn't catch this!!! Arrggh. I guess no one at NeXT actually >uses C++. > Look at it this way, at least you didn't pay money for G++. Some commercial ports of CFRONT (which shall remain nameless) don't even bother to integrate with the unix /usr/include files at all, rendering a half-assed library at best. And they charge lots of money. I'd like C++ too for my NeXT. But I'm not holding my breath for it. Even when I get 2.0, I know that G++ 1.37.1 has lots of bugs, and I've heard that the NeXT 2.0 release is an older version of G++. Further, I tried to build G++ 1.37.1, after building GCC 1.37.1. Unfortunately, GCC didn't understand the #import directive rampant in the /usr/include/* files. (Generally only included if you #include for some of the machine dependent stuff). I decided it wasn't worth the effort. So for my application, I've adopted the "When in Rome..." motto, and use Objective C. While it's syntactically uglier, doesn't offer the protection, implicit conversion, and ctor/dtor features I like about C++; it does at least support metaclass (for a lack of a better term, CLOS users please pardon the misuse) data, and some of those convenient conversions to and from ID which C++ doesn't allow. Finally, when you decide you hate ObjC and miss C++, remember that Interface Builder wouldn't have been nearly as nice in C++, unless they went to a fair amount of work do support the class operations which allow IB to function so well. waxing philosophic while I wait for my damn upgrade... Dave