--- In [email protected], Jim Smith <jmclauri...@...> wrote:
> > Make sure you understand how and why you specify the
> > calling convention using extern "C" so C++ won't
> > mangle C function names.
> 
> I'm sorry, extern "C" is a linkage declaration not a
> calling convention.

Quite so. That said, the calling convention may be a facet
of the linkage.

Also note that name mangling is not a requirement of
implementing C++ linkage, though it is obviously the
most common. [A hangover from the CFront days.]

-- 
Peter

Reply via email to