build: fix or suppress warnings#8485
build: fix or suppress warnings#8485refack wants to merge 4 commits intonodejs:v0.12from node4good:no-warn
Conversation
refack
commented
Oct 2, 2014
- activated "treat warnings as errors"
|
/cc @orangemocha @indutny |
|
P.S. this is the output on compiling the |
|
Refactored the whole thing. |
|
Some nits, but mostly LGTM |
|
Dropped the whole |
|
rebased on #8476 |
|
Most developers build/test their changes on one platform. Since not everybody builds on Windows, treating warning as errors will cause a lot of build breaks! |
There was a problem hiding this comment.
With the exception of maybe C4351, I don't think it's a good idea to disable these warnings. And for warnings that cannot be fixed, like the ones about deprecation, it would be better to disable them in the source file using #pragma
There was a problem hiding this comment.
These are here for deps sake. Only 4244, 4267 are allowed in node code.