[pe-parse] no Werror (#30672)

This commit is contained in:
autoantwort 2023-04-06 01:35:24 +02:00 committed by GitHub
parent f4c03ce4a8
commit 8cf1808bc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
diff --git a/cmake/compilation_flags.cmake b/cmake/compilation_flags.cmake
index 395f1b5..bb10165 100644
--- a/cmake/compilation_flags.cmake
+++ b/cmake/compilation_flags.cmake
@@ -26,7 +26,7 @@ else ()
-pedantic -Wall -Wextra -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization
-Wformat=2 -Winit-self -Wlong-long -Wmissing-declarations -Wmissing-include-dirs -Wcomment
-Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion
- -Wsign-promo -Wstrict-overflow=5 -Wswitch-default -Wundef -Werror -Wunused -Wuninitialized
+ -Wsign-promo -Wstrict-overflow=5 -Wswitch-default -Wundef -Wunused -Wuninitialized
-Wno-missing-declarations -Wno-strict-overflow
)
diff --git a/examples/peaddrconv/CMakeLists.txt b/examples/peaddrconv/CMakeLists.txt
index fbad06a..02c8bcf 100644
--- a/examples/peaddrconv/CMakeLists.txt
+++ b/examples/peaddrconv/CMakeLists.txt
@@ -26,7 +26,7 @@ else ()
-pedantic -Wall -Wextra -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization
-Wformat=2 -Winit-self -Wlong-long -Wmissing-declarations -Wmissing-include-dirs -Wcomment
-Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion
- -Wsign-promo -Wstrict-overflow=5 -Wswitch-default -Wundef -Werror -Wunused -Wuninitialized
+ -Wsign-promo -Wstrict-overflow=5 -Wswitch-default -Wundef -Wunused -Wuninitialized
-Wno-missing-declarations
)

View File

@ -6,6 +6,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
arm64-windows-fix.patch
no-werror.patch
)
vcpkg_cmake_configure(

View File

@ -1,6 +1,7 @@
{
"name": "pe-parse",
"version": "2.1.0",
"port-version": 1,
"description": "pe-parse is a principled, lightweight C/C++ PE parser",
"homepage": "https://github.com/trailofbits/pe-parse",
"supports": "!uwp",

View File

@ -6062,7 +6062,7 @@
},
"pe-parse": {
"baseline": "2.1.0",
"port-version": 0
"port-version": 1
},
"pegtl": {
"baseline": "3.2.6",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d3e0e5dcb11738632d8eba03e22e4f0530ae5445",
"version": "2.1.0",
"port-version": 1
},
{
"git-tree": "94a994b08f738c94aa751def532be843595ebf62",
"version": "2.1.0",