Enable /W3 in fmt to pass SDL checks.
Resolves
MODIFY
CMakeLists.txt
CMakeLists.txt
@@ -35,6 +35,10 @@ if(VCPKG_BUILD_TLS12_DOWNLOADER)
list(APPEND LANGUAGES "C")
endif()
+if(VCPKG_DEVELOPMENT_WARNINGS)
+ set(FMT_PEDANTIC ON CACHE BOOL "")
+endif()
+
project(vcpkg
DESCRIPTION "vcpkg helps you manage C and C++ libraries on Windows, Linux and MacOS."
HOMEPAGE_URL "https://github.com/microsoft/vcpkg"

MODIFY
azure-pipelines/signing.yml
azure-pipelines/signing.yml
@@ -423,7 +423,7 @@ jobs:
displayName: Check for compliance errors
# To avoid spurious warnings about missing logs, explicitly declare what we scanned.
inputs:
- BinSkim: false # Temporarily disabled due to failures in fmt.
+ BinSkim: true
CredScan: true
PoliCheck: true
# Trust Services Automation (TSA) can automatically open bugs for compliance issues.

MODIFY
cmake/Findfmt.cmake
cmake/Findfmt.cmake
@@ -16,4 +16,3 @@ if(VCPKG_DEPENDENCY_EXTERNAL_FMT)
else()
FetchContent_MakeAvailable(fmt)
endif()
-

Enable /W3 in fmt to pass SDL checks. (#318)

Resolves https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems/edit/1445633/