4 ms·
Not quite. You would know what to call, but not how to call it. That would require full ABI compatibility, and C++’s is complex. https://isocpp.org/wiki/faq/com
by Someone 7y ago
Not quite. You would know what to call, but not how to call it. That would require full ABI compatibility, and C++’s is complex. https://isocpp.org/wiki/faq/compiler-dependencies#binary-compat https://isocpp.org/wiki/faq/compiler-dependencies#binary-com...:
”If name mangling was standardized, could I link code compiled with compilers from different compiler vendors?
Short answer: Probably not.”
(click link for more info)
- ape4 7y agoThanks for the info. I'm just a C/C++ user. There has to be way to workout a convention for all those options.
- jcelerier 7y ago> Probably not. yet the real life answer is that I can link C++ code built with three different compiler on linux (gcc / clang / icc) and three / two on windows (clang / cl.exe / icc or clang / gcc)