C / C++ compiler warnings: do you clean up all your code to remove them or leave them in?

前端 未结 18 2301
夕颜
夕颜 2020-12-24 00:08

I\'ve worked on many projects where I\'ve been given code by others to update. More often than not I compile it and get about 1,000+ compiler warnings. When I see compiler w

18条回答
  •  梦毁少年i
    2020-12-24 00:49

    Clean 'em up, even if they don't indicate a real problem. Otherwise, if a warning that does indicate a real problem shows up, you won't see it through all the noise.

提交回复
热议问题