help-gplusplus
[Top][All Lists]
Advanced

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

Re: C/C++ linkage issues


From: Rolf Magnus
Subject: Re: C/C++ linkage issues
Date: Tue, 14 Jun 2005 21:44:31 +0200

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.

Generic Usenet Account wrote:

> I am implementing a library that can be linked in with C as well as C++
> code.  Obviously, the library API is functional,

What do you mean by that? It works? 

> but in my implementation I am using STL.  Because of this, my code is
> compiled using a C++ compiler (gcc version 3.3.1). Given the differences
> in the way C and C++ code gets linked in, what should I do to ensure that
> the C code that links in the library does not give any linker error?

Link it with g++.

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



reply via email to

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