问题描述
我的一个客户端有很多使用ui64,ui32等等后缀的代码,我需要移植它。
A client of mine has a lot of code that uses the "ui64", "ui32", etc... suffixes, and I need to port it.
为了避免验证几个正则表达式查找+替换的潜在长时间,我已经将所述后缀转换为用户定义的字面量。
To avoid a potentially long night verifying several regex find+replaces, I've reproduced said suffixes as user-defined literals.
我在寻找-Wno
我已搜索过警告列表,但我的大脑患有相当严重的字母汤综合征
I've searched the warning list here, but my brain is suffering from rather severe alphabet soup syndrome at the moment, so I likely missed it.
我正在使用cygwin附带的g ++ 4.8.2。
I'm using g++ 4.8.2 that came with cygwin.
推荐答案
我相信你正在寻找 -Wno-literal-suffix
。
您可以通过 - help = warnings
选项获取GCC转储所有可用的警告选项。
You can get GCC to dump all available warning options with the --help=warnings
option.
这篇关于停用有关“下划线用户定义的字面值”的GCC警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!