🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Linkage revisited

#1598
From: Steve Clamage
Date: Fri, 04 Aug 1995 18:37
15 lines
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!usenet
References: <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