From 4953895541593732186
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ea96cc047f6a22cc
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-08-15 19:45:01 PST
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
From: comeau@panix.com (Greg Comeau)
Newsgroups: comp.std.c++
Subject: Re: extern "C" -- what is the intent?
Organization: Comeau Computing; http://www.comeaucomputing.com
Message-ID: <9lfabt$6el$1@panix3.panix.com>
References: <090820010209154805%BobbySchmidt@mac.com> <remove.haberg-1508010002410001@du129-226.ppp.su-anst.tninet.se> <fly9omp9ba.fsf@pizza.cmla.ens-cachan.fr> <3B7A3FAF.1E5AD4B2@lmf.ericsson.se>
Reply-To: comeau@comeaucomputing.com
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Date: Wed, 15 Aug 2001 21:44:23 CST
Lines: 30
Xref: archiver1.google.com comp.std.c++:7007

In article <3B7A3FAF.1E5AD4B2@lmf.ericsson.se>,
Attila Feher  <Attila.Feher@lmf.ericsson.se> wrote:
>Gabriel Dos Reis wrote:
>> 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?  I mean why isn't Fortan77 and Fortan90+ or something
>which actually tells the difference?  If I get a code, should look into
>it, see "FORTRAN" everywhere I wil never ever realize that the reason
>why it does not work is that it is supposed to be now "Fortran"...

The C++ Standard doesn't place a requirement for how "FORTRAN"
should be spelled, it is only mentioned as a suggestion.
It's up to the implementation (including to reject it).
-- 
Greg Comeau                 Countdown to "export": December 1, 2001
Comeau C/C++ ONLINE ==>     http://www.comeaucomputing.com/tryitout
World Class Compilers:  Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries.  Have you tried it?

---
[ 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                ]



