Glynn Clements wrote:
If it's likely to be useful to other libraries, there's a strong incentive to use C, or at least to provide a C API (the standard implementation of GLU is written in C++, although the public API only uses C).
Would it be enough if I ensure that the API header file does not contain any C++-only usages for such a library internally implemented in C++ to be linkable from a C program or library?
Or would there be problems with the C linker not being able to resolve references from the C object code to C++ symbols in the library? (I hope I got that terminology correct.)
Thanks again. Shriramana Sharma. - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html