[MUD-Dev] OT: Linux g++

Shawn Halpenny malachai at iname.com
Wed Feb 18 10:08:48 New Zealand Daylight Time 1998


On Mon, 16 Feb 1998 coder at ibm.net wrote:

> 
> On 13/02/98 at 10:49 AM, Ben Greear <greear at cyberhighway.net> said:
> 
> 
> >Ben Greear (greear at cyberhighway.net)  http://www.primenet.com/~greear 
> >On Thu, 12 Feb 1998, Greg Munt wrote:
> >> On Wed, 11 Feb 1998 s001gmu at nova.wright.edu wrote:
> 
> >> Linux g++ fails miserably at implementing:
> >> 
> >>   templates
> >>   namespaces
> >>   exceptions
> >> 
> >> You can (sometimes) get away with basic uses of these features, but, 
> >> since we are all writing non-basic programs, that doesn't help too much. 
> 
> >Don't know about the others, but you can get templates working.  
> 
> Try nested templates with detault arguments, or new-style casts.  its
> trivially easy to make G++ itself core with even fairly trivial exception
> and standards compliant configurations (yes, I've submitted bug reports). 
> I haven't even touched its namespace support.  G++ is just not physically
> capable of handling several extremely useful language areas worth a damn
> right now.  

I agree completely.  I wish they'd take a new look at their current iostream
classes, too.

> Yup, you can avoid those aspects of the language.  Some don't always have
> that choice.  Some are unwilling to accept those restrictions.
> 
> >Besides it's free and ubiquitous!
> 
> I'd rather pay and get a compiler which at least keeps within a couple
> years of the current draft standard.  Just how old are the above features
> now?

Agreed.

It seems that most compilers out there adhere at least to the last draft
of Dec 96.  The degree to which they are compliant, however, often (at
least with GCC) leaves much to be desired.

I've looked around a bit and have found some fairly standard
compiler/front-end vendors that aren't necessarily
big names and might merit a look (even for the FreeBSD and Linux
developers):

http://www.pgroup.com/ppro_cplus_desc.html
http://www.kai.com/C_plus_plus/index.html
http://www.comeaucomputing.com/

Of note, I believe all of the above use the Edison Design Group's C++
front end:

http://www.edg.com/cpp.html

The three people of that group were heavily involved in the C++
draft standard and the list of features they support is both lengthy and
fairly complete.

--
Shawn Halpenny




More information about the MUD-Dev mailing list