mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:06:49 +08:00
[pe-parse] no Werror (#30672)
This commit is contained in:
parent
f4c03ce4a8
commit
8cf1808bc0
26
ports/pe-parse/no-werror.patch
Normal file
26
ports/pe-parse/no-werror.patch
Normal 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
|
||||||
|
)
|
||||||
|
|
@ -6,6 +6,7 @@ vcpkg_from_github(
|
|||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES
|
PATCHES
|
||||||
arm64-windows-fix.patch
|
arm64-windows-fix.patch
|
||||||
|
no-werror.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_cmake_configure(
|
vcpkg_cmake_configure(
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "pe-parse",
|
"name": "pe-parse",
|
||||||
"version": "2.1.0",
|
"version": "2.1.0",
|
||||||
|
"port-version": 1,
|
||||||
"description": "pe-parse is a principled, lightweight C/C++ PE parser",
|
"description": "pe-parse is a principled, lightweight C/C++ PE parser",
|
||||||
"homepage": "https://github.com/trailofbits/pe-parse",
|
"homepage": "https://github.com/trailofbits/pe-parse",
|
||||||
"supports": "!uwp",
|
"supports": "!uwp",
|
||||||
|
@ -6062,7 +6062,7 @@
|
|||||||
},
|
},
|
||||||
"pe-parse": {
|
"pe-parse": {
|
||||||
"baseline": "2.1.0",
|
"baseline": "2.1.0",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"pegtl": {
|
"pegtl": {
|
||||||
"baseline": "3.2.6",
|
"baseline": "3.2.6",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "d3e0e5dcb11738632d8eba03e22e4f0530ae5445",
|
||||||
|
"version": "2.1.0",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "94a994b08f738c94aa751def532be843595ebf62",
|
"git-tree": "94a994b08f738c94aa751def532be843595ebf62",
|
||||||
"version": "2.1.0",
|
"version": "2.1.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user