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/buildh.in | |
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/buildh.in')
-rw-r--r-- | src/build-data/buildh.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in index b784e287e..4e2e19f73 100644 --- a/src/build-data/buildh.in +++ b/src/build-data/buildh.in @@ -60,6 +60,12 @@ %{target_compiler_defines} +#if defined(BOTAN_TARGET_COMPILER_IS_MSVC) + // 4250: inherits via dominance (diamond inheritence issue) + // 4251: needs DLL interface (STL DLL exports) + #pragma warning(disable: 4250 4251) +#endif + /* Module definitions */ %{module_defines} |