
On Thu, Nov 5, 2009 at 10:45 AM, Sid Sacek <ssacek@securewatch24.com> wrote:
-----Original Message-----
[ Steven Watanabe wrote ] I am not convinced that tracing through all the noise from a dozen different compilers is worth the effort from that standpoint. As far as I am concerned, the primary reason for eliminating warnings is that they are annoying to users.
Don't you believe that with the right syntax a coder can get every compiler to become happy?
It isn't always about syntax, and it isn't always desirable to work around the warning. Few examples: - C4996 on MSVC should be disabled. - non-virtual-dtor on GCC contradicts a valid design choice. - the GCC warning about using C-style cast is annoying when I'm casting 0 to a null pointer as in (T *)0. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode