Commit Graph

13 Commits

Author SHA1 Message Date
David Anderson ca80cac75a Win build: manage compiler warnings better:
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.
2017-01-27 01:27:32 -08:00
Rom Walton 1e3b1ae67c BUILD: Update vboxwrappers version to 26179.
BUILD: Update wrappers version to 26016.
2015-11-19 23:54:40 -05:00
Rom Walton 0de56b1a59 wrapper: reclassify the wrapper as a console application on Windows.
This was a hold over from the Win9x days when a console application window could not be hidden by the processed that launched it.  Since we no longer need to support Win9x we can get rid of this hack.

NOTE: At some point parameter parsing and processing the job file was moved ahead of the diagnostics initialization code.  This had the unfortunate consequence of making errors that happened before the diagnostics code initialized disappear.

Switching wrapper to a console application will mean that launching it from a console window will cause the console window to block and display anything written to stderr/stdout regardless of whether the diagnostics code is initialized.
2015-11-19 13:52:18 -05:00
Rom Walton f2ddcbbda4 BUILD: Update vboxwrappers version to 26170.
BUILD: Update wrappers version to 26015.
2015-09-28 12:23:07 -04:00
Rom Walton b8d7283c3e BUILD: Update the wrapper build number to 26014 2015-04-22 13:23:17 -04:00
Rom Walton 30ae6d7315 BUILD: Update the wrapper build number to 26013 2015-03-11 22:28:52 -04:00
Rom Walton f082889e85 WINBUILD: Fix build breaks introduced with graphics status function changes. 2015-01-05 20:37:51 -05:00
Rom Walton dc2a17ed96 BUILD: Increase the build number for the wrapper 2014-10-16 13:21:56 -04:00
David Anderson accc6fee70 wrapper: project file fix 2014-10-13 11:42:45 -07:00
Rom Walton 1fa10ede63 WINBUILD: Adjust target name to match linker configuration to help with debugging. 2014-10-12 15:52:27 -04:00
Rom Walton 5e588c4ad1 BUILD: Update the build numbers fr wrapper (26011) and vboxwrapper (26096) 2014-07-28 18:15:32 -04:00
Rom Walton 9f5e9a0b7e VBOX/WRAPPER: Introduce versioning information to the two wrappers. It is now compiled into the executable instead of relying on file name. 2014-05-21 13:57:16 -04:00
Rom Walton bcf8ca2565 WINBUILD: Update build environment to use Visual Studio 2010. 2013-10-17 15:27:03 -04:00