Path: utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!odi!dlw
From: dlw@odi.com (Dan Weinreb)
Newsgroups: gnu.g++
Subject: Re: Query on using libg++ with AT&T's C++ translator
Message-ID: <1989Sep29.073447.2119@odi.com>
Date: 29 Sep 89 07:34:47 GMT
References: <1503@novavax.UUCP> <1989Sep27.223222.26655@odi.com> <684@gill.UUCP>
Reply-To: dlw@odi.com
Followup-To: gnu.g++
Organization: Object Design, Inc.
Lines: 24
In-Reply-To: paul@gill.UUCP's message of 28 Sep 89 13:26:15 GMT

In article <684@gill.UUCP> paul@gill.UUCP (Paul Nordstrom) writes:

   In article <1989Sep27.223222.26655@odi.com> dlw@odi.com writes:
   >
   >If you're really trying to compile libg++ using AT&T's C++, you have a
   >lot more problems ahead of you.  g++ is not compatible with C++.  g++
   >even has lexical tokens that are not present in C++.  So don't expect
   .
   >Dan Weinreb		Object Design, Inc.		dlw@odi.com


   What is the extent of these differences?  

I don't know all of them.  When I tried to compile some of libg++
once, I ran into several, and decided it would be too much work.
Perhaps someone has a list.  I don't know the details, and I don't
know the future intentions of the g++ maintainer(s).

					     Is it feasible to write code
   to run under both compilers?  

Yes, InterViews 2.5 is an example of a very large system that works
under both Cfront 1.2 and g++.  But you have to be careful.  libg++ is
not written "carefully", in that sense.