diff options
author | lloyd <[email protected]> | 2009-12-23 02:13:21 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-23 02:13:21 +0000 |
commit | 763dbb60288a38e2070a95d3824d1d14dc7e618c (patch) | |
tree | ff4a884797b689b34e9d9f090271abc390c0def0 /src/build-data/cc | |
parent | c6026d662ab26954460d5390934d6affa9c8127e (diff) |
Use /W3 with VC++ (/W4 is really noisy, but it seems mostly useless stuff).
But, disable warnings 4250 and 4251 in build.h with a pragma. Both seem
impossible to work around without very major code changes, and both seem
harmless AFAICT.
Diffstat (limited to 'src/build-data/cc')
-rw-r--r-- | src/build-data/cc/msvc.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt index 892e80c4b..36437e6a2 100644 --- a/src/build-data/cc/msvc.txt +++ b/src/build-data/cc/msvc.txt @@ -12,7 +12,7 @@ no_debug_flags "/O2" debug_flags "/Od /Zi /DDEBUG" check_opt_flags "/O2 /D_CONSOLE" lang_flags "/EHsc /GR" -warning_flags "" +warning_flags "/W3" shared_flags "/DBOTAN_DLL=__declspec(dllexport)" dll_import_flags "__declspec(dllimport)" |