[msquic] no werrror (#43430)

This commit is contained in:
autoantwort 2025-01-27 03:37:05 +01:00 committed by GitHub
parent 446219a910
commit c8f9d2e79b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,22 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1010458..cc7ac39 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -201,7 +201,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${QUIC_OUTPUT_DIR})
set(QUIC_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/inc)
if (WIN32)
- set(QUIC_WARNING_FLAGS /WX /W4 /sdl /wd4206 CACHE INTERNAL "")
+ set(QUIC_WARNING_FLAGS /W4 /sdl /wd4206 CACHE INTERNAL "")
set(QUIC_COMMON_FLAGS "")
include(CheckCCompilerFlag)
@@ -305,7 +305,7 @@ else()
if (HAS_SYSCTL)
list(APPEND QUIC_COMMON_DEFINES HAS_SYSCTL)
endif()
- set(QUIC_WARNING_FLAGS -Werror -Wall -Wextra -Wformat=2 -Wno-type-limits
+ set(QUIC_WARNING_FLAGS -Wall -Wextra -Wformat=2 -Wno-type-limits
-Wno-unknown-pragmas -Wno-multichar -Wno-missing-field-initializers
CACHE INTERNAL "")
if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0)

View File

@ -15,6 +15,7 @@ vcpkg_from_github(
fix-comparing-system-processor-with-win32.patch # https://github.com/microsoft/msquic/pull/4374
uwp-link-libs.diff
exports-for-msh3.diff
no-werror.patch
)
set(QUIC_TLS "schannel")

View File

@ -1,7 +1,7 @@
{
"name": "msquic",
"version": "2.4.7",
"port-version": 1,
"port-version": 2,
"description": "Cross-platform, C implementation of the IETF QUIC protocol",
"homepage": "https://github.com/microsoft/msquic",
"license": "MIT",

View File

@ -6182,7 +6182,7 @@
},
"msquic": {
"baseline": "2.4.7",
"port-version": 1
"port-version": 2
},
"mstch": {
"baseline": "1.0.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7b56cfbd638c6711b76cab27d5f9a71f17341d36",
"version": "2.4.7",
"port-version": 2
},
{
"git-tree": "5e727b0b7e3bf5761f161c5f7ca8f24272a3f7f2",
"version": "2.4.7",