mirror of https://github.com/BOINC/boinc.git
ca80cac75a
VS lets you choose the compiler warning level, 0 to 4. Higher is good because compiler warnings often indicate bugs. However, some warnings are noise, and having a lot of them is bad because they conceal the important ones. As an example, a recent update to VS2010 causes it to spew warnings of the form "function _strdup() is deprecated; use _strdup() instead. So the new policy is: - everything compiles with warning level 4 - in boinc_win.h we use #pragmas to suppress 3 specific warnings that occur a lot in our code, and are not bugs: - the _function names as described above - constant conditional expression (like while(1)) - conversion from int to char And the goal is to build everything with zero warnings except from outside code like zip. We're pretty close to that. The project files for other VS versions should be modified to also use level 4 everywhere. |
||
---|---|---|
.. | ||
progress | ||
res | ||
Mac_Saver_Module.h | ||
Mac_Saver_ModuleView.h | ||
Mac_Saver_ModuleView.m | ||
Makefile.am | ||
boinc_ss.h | ||
boinc_ss.rc | ||
boinc_ss_opengl.h | ||
boinc_ss_opengl.rc | ||
gfx_switcher.cpp | ||
mac_saver_module.cpp | ||
screensaver.cpp | ||
screensaver.h | ||
screensaver_win.cpp | ||
screensaver_win.h | ||
screensaver_x11.cpp | ||
ss_app.cpp | ||
ss_config.xml |