c++ - GCC 5 ABI 更改

标签 c++ c++11 gcc abi

软呢帽 announced他们可能计划在默认情况下关闭新 ABI 的情况下发布 GCC 5。据我了解,Fedora 22 将继续使用旧的 ABI,而 Fedora 23 将使用新的 ABI。程序必须大量重新编译。

我的问题是 C++11 标准从 C++03 改变了什么破坏了 ABI 兼容性?

最佳答案

GCC wiki 上有一个关于 Cxx11 向后 ABI 兼容性的页面:https://gcc.gnu.org/wiki/Cxx11AbiCompatibility

The C++98 language is ABI-compatible with the C++11 language, but several places in the library break compatibility. This makes it dangerous to link C++98 objects with C++11 objects.

关于c++ - GCC 5 ABI 更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28473720/

相关文章:

c++ - 如何删除 GDB 中的捕获点

c - 编译使用 libvncserver 的项目时出错

c++ - 如何从 C++ 自定义操作获取 MSI 'UILevel' 属性

c++ - 加载、裁剪和保存 jpg C++

c++ - 解压可变模板参数以定义新的模板参数

c++ - 如何在运行时检查 Win32 句柄的 "type"

c++ - C++中的语义差异,定义常量数据实例

c++ - UNIX/OSX 版本的 semtimedop

c++ - 为什么传递非静态成员函数会导致编译错误?

c - Makefile 只执行一次命令