Q: mixing MSVC++ and gcc C++ libs/dlls ?

Shankar Unni shankar@cotagesoft.com
Thu Oct 23 19:28:00 GMT 2003


Ronald Landheer-Cieslak wrote:

> Anyway, gcc and MSVC don't use the same name mangling (decoration) schemes for
> C++ so you will not be able to mix the two. 

And the reason for *that* is that the two compilers lay out objects
differently (especially virtual tables). So, the only way you can mix
them is to use extern "C" wrappers (quite apart from the problems of
mixing and matching /MT, /MD and other funky runtime combinations of MS
DLLs).



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list