From -7280454567094545771
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ea96cc047f6a22cc
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-08-09 15:27:00 PST
Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: Francis Glassborow <francis.glassborow@ntlworld.com>
Newsgroups: comp.std.c++
Subject: Re: extern "C" -- what is the intent?
Date: Thu,  9 Aug 2001 22:26:46 GMT
Organization: Southfield Microcomputer SS
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <PTamohAdewc7Ew06@ntlworld.com>
References: <090820010209154805%BobbySchmidt@mac.com>
Reply-To: Francis Glassborow <francisG@robinton.demon.co.uk>
X-Trace: mail2news.demon.co.uk 997396013 mail2news:853 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
X-Newsreader: Turnpike Integrated Version 5.00 U <TilyaeicE$WmMOP9F8P4$y3lmP>
Lines: 26
Xref: archiver1.google.com comp.std.c++:6906

In article <090820010209154805%BobbySchmidt@mac.com>, Bobby Schmidt
<BobbySchmidt@mac.com> writes
>So I'm appealing for wisdom here: what *exactly* is the Committee's
>intent for `extern "C"`? And what of that intent is guaranteed by the
>standard vs. simply tolerated?


As the C++ Committee is not responsible for C it is not able to impose
requirements on how a C compiler should handle extern "C" functions in
C++. As there is no requirement even in C that code generated by one C
compiler can be linked to code generated by another C compiler I cannot
see how, even if it wanted to and with the full co-operation of the C
Standards Committees such a requirement could be made.


Francis Glassborow      ACCU
64 Southfield Rd
Oxford OX4 1PA          +44(0)1865 246490
All opinions are mine and do not represent those of any organisation

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



