【发布时间】:2012-09-01 20:32:08
【问题描述】:
我在 osx 10.8 和 gcc 版本 4.2.1 上使用 boost 1.48 构建 som 软件,我已经开始收到一些 boost 源的-Wparentheses-equality 警告。
equality comparison with extraneous parentheses
[-Werror,-Wparentheses-equality]
else if((state->type == syntax_element_long_set_rep))
我会更改代码但我不想修改库,我将如何使警告静音并使编译器继续运行?
【问题讨论】:
标签: c++ boost compiler-construction