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. _______________________________________________ Help-gplusplus mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gplusplus
