From -603953863518455335
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,847eae9e6f4941d9
X-Google-Attributes: gidf78e5,public
From: "Kevin S. Van Horn" <kevin.s.vanhorn@iname.com>
Subject: Re: which compiler currently most closely follows the C++draft standard?
Date: 1997/06/30
Message-ID: <01bc8499$21ea57c0$84d22399@default>#1/1
X-Deja-AN: 253734556
References: <3.0.1.32.19970628234522.00b46d80@world.std.com>
X-Original-Date: 29 Jun 1997 14:28:23 GMT
Organization: EarthLink Network, Inc.
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBVAwUBM7hS2Uy4NqrwXLNJAQFsbwH/Z4b6LqG7c8+gxzJzbnom6Fmn4iLzPwMu KEHM9nKCJWjWAKUic0KRPKbcacS1IhdQOGu9buAVNEmVZU9q31ARgw== =YsVC
Newsgroups: comp.std.c++
Originator: austern@isolde.mti.sgi.com


David Chase <chase@world.std.com> wrote in article
<3.0.1.32.19970628234522.00b46d80@world.std.com>...
> Of the bunch, I would recommend either G++ or EDG-based compilers
> (SGI and Tera use EDG, not sure who else does) for ability to
> track the standard and general usability.

I would strongly recommend *against* g++ for anyone who is worried about
standards compliance.  g++ does not handle exceptions, except if you
compile unoptimized with the -g (debug info) flag.  It doesn't handle
namespaces.  It pretends to handle templates, but it has so many
limitations and bugs in this department that any serious use of templates
can be excruciatingly painful (I speak from personal experience here).  I
don't know of any STL implementation ported to g++ that allows one to
compile all of ObjectSpace's example programs for STL.

On the other hand, I have started using one EDG-based compiler, KAI C++,
and have been pretty pleased with it so far.  To give you an idea of what's
important to me, I'm a big fan of generic programming, which really
stress-tests compilers on their handling of templates.

-----------------------------
Kevin S. Van Horn
KSVH Software and Consulting
kevin.s.vanhorn@iname.com
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu 
]



