使用来自在不同时间/团队编译的同一VS的C ++ DLL-ABI兼容性吗? [英] Use C++ DLLs from the same VS compiled at different times/teams - ABI compatibility?

查看:113
本文介绍了使用来自在不同时间/团队编译的同一VS的C ++ DLL-ABI兼容性吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要重复:我正在寻找相同 Visual-C ++版本的库之间的ABI兼容性!

To repeat: I'm looking for ABI compatibility between libraries of the same Visual-C++ version!

我们想混合使用来自不同团队的一些内部C ++ DLL,这些DLL是在不同的时间使用不同的项目文件构建的.由于构建时间长,我们完全希望避免大型的整体构建,因为每个团队都将重新编译另一个团队的库的源代码.

We want to mix and match some internal C++ DLLs from different teams - built at different times with different project files. Because of long build times, we exactly want to avoid large monolithic builds where each team re-compiles the source code of another team's library.

使用具有C ++接口的C ++ DLL 时,它是相当 清除

When consuming C++ DLLs with C++ interfaces it is rather clear that you only can do this if all DLLs are compiled with the same compiler / Visual Studio version.

对我来说,不太明显的是 ,为了获得ABI兼容性,它们必须完全相同.

What is not readily apparent to me is what, exactly needs to be the same to get ABI compatibility.

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆