in terms of C++ but work okay with C, what if one creates a plugin, maybe with Boost.DLL which I think under the hood use extern "C" ,then should it be possible for an executable that consumes the plugin compiled by either to load a library compiled by any of the two?
you can define an extern "C"-based wrapper API for the C++ lib
depends, I think the main problem you can have is when you mix libc's rather than the compiler itself
Обсуждают сегодня