From -5850189416267007547 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f78e5,ea96cc047f6a22cc X-Google-Attributes: gidf78e5,public X-Google-ArrivalTime: 2001-08-16 04:01:01 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail From: Attila Feher Newsgroups: comp.std.c++ Subject: Re: extern "C" -- what is the intent? Date: Thu, 16 Aug 2001 10:59:58 GMT Organization: Oy L M Ericsson Ab Approved: Fergus Henderson , moderator of comp.std.c++ Message-ID: <3B7B9376.BADA6A60@lmf.ericsson.se> References: <090820010209154805%BobbySchmidt@mac.com> <9l62tf$c2g$1@panix3.panix.com> <9l8qvc$7ig$1@panix3.panix.com> <3B7A3FAF.1E5AD4B2@lmf.ericsson.se> X-Trace: mail2news.demon.co.uk 997959606 mail2news:5690 mail2news mail2news.demon.co.uk X-Complaints-To: abuse@demon.net X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Date: 16 Aug 2001 09:33:42 GMT X-Accept-Language: hu, en Lines: 44 Xref: archiver1.google.com comp.std.c++:7010 Gabriel Dos Reis wrote: > > Attila Feher writes: > > | Gabriel Dos Reis wrote: > | [SNIP] > | > FORTRAN (in all capitals) is a generic name to designate any version > | > of that language released before 1977 (inclusive) and Fortran any > | > version after 1990 (inclusive). So you've got two extern > | > specifications. > | > | Although I am not using Fortran this made me curious: what on Earth > | could force the C++ comitee to come up with such "intuitive" kind of > | disctinction? > > The C++ committee didn't make that '"intuitive" kind of distinction'. > It is not its business to legislate anything about Fortran or FORTRAN. > > The C++ Standard just says in a note (a non normative text): > > it is recommended that the spelling be taken from the document > defining that language, for example Ada (not ADA) and Fortran or > FORTRAN (depending on the vintage). > > Anyway, since the meaning is implementation-defined, you will have to > read the doucmentation accompanying your implementation to see how to > spell it. Wuppp. I tought (all the posts here made me understand) it has been standardized. My apologies. So FORTRAN (whatever) extern is not standard. I was also a bit surprised, because (was it Scott Meyers?) one of my books said it is only extern "C", which is standard covered... Thanx for the info, I somehow absolutely misunderstood this part of the thread. Attila --- [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.research.att.com/~austern/csc/faq.html ]