删除GCC ABI变更记录 [英] Remove note of GCC ABI change

查看:128
本文介绍了删除GCC ABI变更记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用GCC 4.7编译程序时,得到以下注释:

When I compile my program with GCC 4.7 I get the following note:

/usr/include/c++/4.7/backward/binders.h:167:5: note: the ABI of passing structure with complex float member has changed in GCC 4.4 here

有什么办法摆脱它?我尝试用Google搜索它,但我发现的是GCC源代码行,其中显示了注释字符串.

Is there any way to get rid of it? I tried to google it, but all I find is the GCC source code line that prints the note string.

推荐答案

将选项-Wno-psabi传递给GCC.

这篇关于删除GCC ABI变更记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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