Article View: comp.std.c++
Article #1598Re: Linkage revisited
From: Steve Clamage
Date: Fri, 04 Aug 1995 18:37
Date: Fri, 04 Aug 1995 18:37
15 lines
975 bytes
975 bytes
In article 95Aug4103842@godzilla.EECS.Berkeley.EDU, matt@godzilla.EECS.Berkeley.EDU (Matt Austern) writes:
>In article <3vtin5$m5t@engnews2.Eng.Sun.COM> clamage@Eng.Sun.COM (Steve Clamage) writes:
>
>> Agreed, and that is why the standard says so little about 'extern "C"':
>> there isn't much that can be said.
>
>One thing the standard might say, though, is that it's possible to
>define (not just declare) a function that has extern "C" linkage.
You can. You have always been able to do so.
extern "C" int foo(int) { ... }
---
Steve Clamage, stephen.clamage@eng.sun.com
Technical Details
Message-ID:
<3vtpe2$m5t@engnews2.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!engnews2.Eng.Sun.COM!usenetReferences:
<MATT.95Aug4103842@godzilla.EECS.Berkeley.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews2.Eng.Sun.COM!usenet From: clamage@Eng.Sun.COM (Steve Clamage) Newsgroups: comp.std.c++ Subject: Re: Linkage revisited Date: 4 Aug 1995 18:37:54 GMT Organization: Sun Microsystems Inc. Message-ID: <3vtpe2$m5t@engnews2.Eng.Sun.COM> References: <MATT.95Aug4103842@godzilla.EECS.Berkeley.EDU> Reply-To: clamage@Eng.Sun.COM NNTP-Posting-Host: taumet.eng.sun.com