help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C/C++ linkage issues


From: Generic Usenet Account
Subject: Re: C/C++ linkage issues
Date: 15 Jun 2005 09:11:14 -0700
User-agent: G2/0.2

Rolf Magnus wrote:
> Hello Generic, your question is off-topic in all the newsgroups you posted,
> since it isn't about Standard C++, Standard C, and not about D either.
>

I DISAGREE.  The whole topic pertaining to the interworking between C
and C++ code is of great interest to an entire community of
programmers.  IMHO it is not OT for comp.lang.c or comp.lang.c++.  As
far as comp.sources.d goes, any posting that pertains to source code
falls within its realm.

> > code.  Obviously, the library API is functional,
>
> What do you mean by that? It works?

I though that my statement was pretty obvious.  If the API needs to be
invoked by C as well as C++, the API cannot be defined in terms of
public methods on a class.  It has to be defined in terms of
"free-standing" functions.

> xpost&f'up2 gnu.g++.help

I don't know what makes you feel that this topic is more relevant to
the gnu.g++.help newsgroup.  My query was general, and not pertaining
to g++.  I volunteered the compiler version, because often times fellow
posters have asked for this kind of information in their response.  I
submit that the issue of interoperability between C and C++ code has
less to do with the compiler that is being used and more to do with the
difference in C and C++ linkage.  I am therefore "undoing" the f'up.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]