diff options
| author | Sascha Zelzer <sascha.zelzer@gmail.com> | 2019-07-06 23:44:54 +0200 |
|---|---|---|
| committer | dan-shaw <51385773+dan-shaw@users.noreply.github.com> | 2019-07-06 14:44:54 -0700 |
| commit | 1000d8291be8c7d2c2283efc3fc4a0bb886a483e (patch) | |
| tree | be210a0732a5900f19faed1912031e8150eccb26 /ports/cppmicroservices/werror.patch | |
| parent | 2b8e225b2ea83a3138d4b7345f104c1bd9a129dd (diff) | |
| download | vcpkg-1000d8291be8c7d2c2283efc3fc4a0bb886a483e.tar.gz vcpkg-1000d8291be8c7d2c2283efc3fc4a0bb886a483e.zip | |
[cppmicroservices] Add new port (fix #5801) (#6388)
* [cppmicroservices] Add new port (fix #5801)
* turn off linker error checking for static building
* remove comments and include
* werror flag patch
* fix cmake targets
Diffstat (limited to 'ports/cppmicroservices/werror.patch')
| -rw-r--r-- | ports/cppmicroservices/werror.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/cppmicroservices/werror.patch b/ports/cppmicroservices/werror.patch new file mode 100644 index 000000000..b06f43a72 --- /dev/null +++ b/ports/cppmicroservices/werror.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 24fd87e..974064c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -382,7 +382,7 @@ else()
+ usFunctionCheckCompilerFlags(-fstack-protector-all US_CXX_FLAGS)
+ endif()
+
+- foreach(_cxxflag -Werror -Wall -Wextra -Wpointer-arith -Winvalid-pch -Wcast-align
++ foreach(_cxxflag -Wall -Wextra -Wpointer-arith -Winvalid-pch -Wcast-align
+ -Wwrite-strings -Woverloaded-virtual -Wnon-virtual-dtor -Wold-style-cast
+ -Wstrict-null-sentinel -Wsign-promo -fdiagnostics-show-option )
+ usFunctionCheckCompilerFlags(${_cxxflag} US_CXX_FLAGS)
|
