From: Brian D. <br...@de...> - 2005-07-15 00:22:14
|
"Pereira, Ricardo Scachetti" wrote: > From the docs in that wiki, I take that I can't do what I want, i.e., to mix libs built with different brands of compilers. > MinGW folks might want to correct their FAQ (http://www.mingw.org/mingwfaq.shtml#faq-msvcdll) that states the contrary. The FAQ is correct. But it only applies to C objects, or C++ objects that use 'extern "C"' declaration. You can mix and match compilers all you want with C. It's C++ classes and methods that you cannot do this with, because acheiving true ABI compatibility in C++ is much more involved than in C, due to all the behind-the-scenes stuff the compiler has to take care of (name mangling, vtables, class memory layout, etc.) Brian |