🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1531

Re: Linkage revisited

#1531
From: Matt Austern
Date: Tue, 01 Aug 1995 17:11
25 lines
1885 bytes
In article <3vlhsd$s3i@engnews2.Eng.Sun.COM> clamage@Eng.Sun.COM (Steve Clamage) writes:

> >I can't understand why the committee is having such a hard time over this  
> >issue. Why not just require a C++ implementation to specify with which C  
> >compiler(s) (and versions) it is compatible on a given platform?
> 
> Let's suppose the committee makes exactly that requirement. Your C++
> compiler manual says "This C++ compiler is compatible with the XYZ C
> compiler, version 2.0.2," thus complying with the requirement. Are you now
> better off than you were before?

To expand on Steve's points: what happens if XYZ corporation stops
selling version 2.0.2 of its compiler?  Does that mean that your C++
compiler is no longer standard-conforming?  Or what happens if you
want to write a C++ compiler for a platform for which there isn't any
C compiler?  (That's not as artificial a what-if as you might think:
don't forget embedded systems.)

C and C++ are different languages.  I just don't see that cross-language
compatibility are within the scope of the C++ standard.

-- 
  Matt Austern                             He showed his lower teeth.  "We 
  matt@physics.berkeley.edu                all have flaws," he said, "and 
  http://dogbert.lbl.gov/~matt             mine is being wicked."
Technical Details
Message-ID: <MATT.95Aug1101128@godzilla.EECS.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!news.mindlink.net!agate!agate!matt
References: <1995Aug1.105954.1403@ittpub> <3vlhsd$s3i@engnews2.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.mindlink.net!agate!agate!matt
From: matt@godzilla.EECS.Berkeley.EDU (Matt Austern)
Newsgroups: comp.std.c++
Subject: Re: Linkage revisited
Date: 01 Aug 1995 17:11:28 GMT
Organization: University of California at Berkeley (computational neuroscience)
Message-ID: <MATT.95Aug1101128@godzilla.EECS.Berkeley.EDU>
References: <1995Aug1.105954.1403@ittpub> <3vlhsd$s3i@engnews2.Eng.Sun.COM>
Reply-To: matt@physics.berkeley.edu
NNTP-Posting-Host: godzilla.eecs.berkeley.edu
In-reply-to: clamage@Eng.Sun.COM's message of 1 Aug 1995 15:39:57 GMT