QT warning level suggestion

Posted by metdos on Stack Overflow See other posts from Stack Overflow or by metdos
Published on 2010-04-30T05:39:28Z Indexed on 2010/04/30 5:47 UTC
Read the original article Hit count: 373

What is the warning level you use while compiling QT projects?

When I compiled with W4, I'm getting a lot of warnings such as:

C4127: conditional expression is constant

Should I compile at W3, or find other ways to handle warnings at W4, such as: adding a new header file and using pragma's(mentioned here C++ Coding Standards: 101 Rules, Guidelines, and Best Practices).

What are your practices?

Thansk.

© Stack Overflow or respective owner

Related posts about c++

Related posts about qt