From -6373544964760578745
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ea96cc047f6a22cc
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-08-15 10:00: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: <9lclar$cs6$1@panix3.panix.com>
References: <090820010209154805%BobbySchmidt@mac.com> <9l8qvc$7ig$1@panix3.panix.com> <remove.haberg-1408010919180001@du136-226.ppp.su-anst.tninet.se> <AFhFdLA6bWe7EwlG@ntlworld.com>
Reply-To: comeau@comeaucomputing.com
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Date: Wed, 15 Aug 2001 11:59:52 CST
Lines: 25
Xref: archiver1.google.com comp.std.c++:6995

In article <AFhFdLA6bWe7EwlG@ntlworld.com>,
Francis Glassborow  <francisG@robinton.demon.co.uk> wrote:
>In fact all C++ can do is provide tool s for C++ to link with other
>languages extern "Fortran" doesn't specify that C++ code can be called
>from Fortran, what it does is to provide a mechanism whereby C++ can
>call Fortran functions. The closeness of C and C++ means that it can
>often work the other way round without C doing much, however, for
>example,  how will C handle on exception that has been thrown by some
>function called by an extern "C" function definition? That is not
>actually C++'s problem.

I agree with issues of say exception handling, but still
feel C++ allows linkage specifications to be bi-directional.
-- 
Greg Comeau                 Countdown to "export": December 1, 2001
Comeau C/C++ ONLINE ==>     http://www.comeaucomputing.com/tryitout

Tasty C99/C++ Combo: Dinkumware libs + Comeau Compilers == WOW!!!

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



