[comp.sys.ibm.pc] G++ compatibility

rfg@pink.ACA.MCC.COM (Ron Guilmette) (05/25/89)

In article <2533@PEDEV.Columbia.NCR.COM> rogerson@PEDEV.Columbia.NCR.COM (Dale Rogerson) writes:
>
>What is the current status of the AT&T C++ 2.0 compatible GNU C++ compiler?

You must be joking!  Compatibility?  Ha!

Let's just say this.  G++ 1.35.0 (if Michael T. ever actually makes it
"official") will contain many, perhaps even most of the features of
cfront 2.0 including multiple inheritance and other recent goodies.
To say that G++ was, is, or will be "compatible" with any version
of cfront is highly misleading however.  I for one have detected a
large number of little quirky ways in which G++ differs from cfront,
and I hope one day to have *all* of these documented (unless Michael
documents them first).  In many cases we are talking about little
GNU extensions which let you do things that cfront will not let you
do, but in some cases, we are talking about GNU-specific restrictions
also (such as the ever-present problem with complicated type specifiers,
which Michael claims are *not* LALR(1)...but which could be properly
handled anyway).

Compatibility is only an issue if you are porting code.  If you are,
I hope for your sake that you are *not* porting anything big (i.e.
over 1000 lines) between cfront and G++.


-- 
// Ron Guilmette  -  MCC  -  Experimental Systems Kit Project
// 3500 West Balcones Center Drive,  Austin, TX  78759  -  (512)338-3740
// ARPA: rfg@mcc.com
// UUCP: {rutgers,uunet,gatech,ames,pyramid}!cs.utexas.edu!pp!rfg