Path: 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 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.