mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 04:47:51 +08:00
8cff61fee8
* [libopensp] initial port * [libopensp] update versions * [libopensp] fix license file location * [libopensp] update versions * [libopensp] need autopoint on Windows * [libopensp] update versions * [libopensp] also remove debug/include * [libopensp] use KDE's CMakeLists on Windows * [libopensp] remove /bin for static builds * [libopensp] update versions * [libopensp] fix Windows/UWP condition * [libopensp] update versions * [libopensp] align *Nix functionality with Windows * [libopensp] update versions * [libopensp] fix compilation on arm64-osx * [libopensp] update versions * [libopensp] fix getenv failures on UWP * [libopensp] update versions * [libopensp] add comment on LDFLAGS usage * [libopensp] update versions * [libopensp] reduce patch size * [libopensp] update versions * [libopensp] further reduce patch size * [libopensp] update versions * [libopensp] don't overwrite vcpkg's own LDFLAGS * [libopensp] backport Debian patch with several fixes * [libopensp] update versions * [libopensp] fix library name on Windows * [libopensp] update versions * [libopensp] don't force shared lib on Windows * [libopensp] update versions * [libopensp] reduce Debian patch size * [libopensp] update versions * [libopensp] UWP in platform definition is redundant Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * [libopensp] update versions Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
14 lines
559 B
Diff
14 lines
559 B
Diff
diff --git a/config.h b/config.h
|
|
index 6a2b097..7db8a93 100644
|
|
--- a/config.h
|
|
+++ b/config.h
|
|
@@ -64,6 +64,8 @@
|
|
#pragma warning ( disable : 4251 ) // __declspec(dllexport)
|
|
#pragma warning ( disable : 4275 )
|
|
#pragma warning ( disable : 4237 ) // future reserved keyword
|
|
+#pragma warning ( disable : 4996 ) // 'getenv': This function or variable may be unsafe (on UWP)
|
|
+#pragma warning ( disable : 4703 ) // potentially uninitialized local pointer variable 'declaredValue'
|
|
#define huge verybig
|
|
#if _MSC_VER == 900
|
|
#define SP_DECLARE_PLACEMENT_OPERATOR_NEW
|