🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #2064

Re: extern "C" int optind;

#2064
From: ekrell
Date: Sun, 04 Jun 1989 14:29
14 lines
706 bytes
extern "C" {
...
}

is a wrapper for everything inside the braces, but

extern "C" int foo;

works for a single declaration. cfront 2.0 generates

extern int foo;

from that. g++ should do the same.
Technical Details
Message-ID: <8906041429.AA14108@hector.homer.nj.att.com>
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ulysses.att.com!ekrell
References: <8905111238.AA01096@yahi.stanford.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ulysses.att.com!ekrell
From: ekrell@ulysses.att.com
Newsgroups: gnu.g++.bug
Subject: Re: extern "C" int optind;
Message-ID: <8906041429.AA14108@hector.homer.nj.att.com>
Date: 4 Jun 89 14:29:06 GMT
Article-I.D.: hector.8906041429.AA14108
References: <8905111238.AA01096@yahi.stanford.edu>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 14