报错如下
cc1plus: warning: -Wabi won't warn about anything [-Wabi]
cc1plus: note: -Wabi warns about differences from the most up-to-date
ABI, which is also used by default
cc1plus: note: use e.g. -Wabi=11 to warn about changes from GCC 7
在网上找到了一封邮件
邮件内容如下
邮件的链接如下
Bernd Edlinger - [PATCH] Remove -Wabi from libstdc++ build options
邮件的意思是:它没有什么用处,可以将这个补丁删除。
因此在CMakeLists.txt文件删除这个东西即可