我想知道是否有可能在Qt-Creator中抑制编译器特定的警告.
我的g ++ - 4.5打印:
警告:条件表达式中的枚举和非枚举类型
我想摆脱它,因为它非常烦人.
谢谢!
linux qt g++ compiler-warnings qt-creator
我想禁用特定的警告,例如C++ warning C4018: '<' : signed/unsigned mismatch,但是在整个项目范围内.我需要在.pro文件中放置什么来实现这种效果?
C++ warning C4018: '<' : signed/unsigned mismatch
c++ qt warnings qt-creator visual-c++
qt ×2
qt-creator ×2
c++ ×1
compiler-warnings ×1
g++ ×1
linux ×1
visual-c++ ×1
warnings ×1