diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-10-02 16:55:06 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-10-02 17:29:11 -0700 |
| commit | e25a31eca8550780ce96586ef27063728441b2e2 (patch) | |
| tree | fc47e0bbffbda08162f4c00a2dfd0a025cc52e35 /toolsrc/include | |
| parent | f72cf87ab21c1b6966c09ec3e7fd5d7f9052ea0a (diff) | |
| download | vcpkg-e25a31eca8550780ce96586ef27063728441b2e2.tar.gz vcpkg-e25a31eca8550780ce96586ef27063728441b2e2.zip | |
Suppress 4768 warning from shlobj.h
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/pch.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/toolsrc/include/pch.h b/toolsrc/include/pch.h index 770bcf07a..0f34063f8 100644 --- a/toolsrc/include/pch.h +++ b/toolsrc/include/pch.h @@ -2,7 +2,7 @@ #define NOMINMAX #define WIN32_LEAN_AND_MEAN - +#pragma warning(suppress : 4768) #include <windows.h> #include <algorithm> @@ -28,7 +28,10 @@ #include <regex> #include <set> #include <shellapi.h> -#include <shlobj.h> +#pragma warning(push) +#pragma warning(disable : 4768) +#include <Shlobj.h> +#pragma warning(pop) #include <stdexcept> #include <string> #include <sys/timeb.h> |
