diff options
| author | Cheney Wang <38240633+Cheney-W@users.noreply.github.com> | 2021-02-08 17:45:19 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-08 17:45:19 -0800 |
| commit | 65b70e69402c0c86bdf20444f8164e69d728029b (patch) | |
| tree | b5624ffaf0bc0bd4d3b837ed15e48ab6eafa2e08 /ports | |
| parent | 60d979c5884f9564f397fdf7bca50eb5dd8d5a20 (diff) | |
| download | vcpkg-65b70e69402c0c86bdf20444f8164e69d728029b.tar.gz vcpkg-65b70e69402c0c86bdf20444f8164e69d728029b.zip | |
[boost-concept-check] Fix warning C4834 when install pagmo2 (#15887)
* [boost-concept-check] Fix warning C4834 when install pagmo2
* Update json files
* Modify patch
* update version
* Modify the patch with other workaround
* Update git-tree
Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/boost-concept-check/fix-warning-c4834.patch | 13 | ||||
| -rw-r--r-- | ports/boost-concept-check/portfile.cmake | 2 | ||||
| -rw-r--r-- | ports/boost-concept-check/vcpkg.json | 1 |
3 files changed, 16 insertions, 0 deletions
diff --git a/ports/boost-concept-check/fix-warning-c4834.patch b/ports/boost-concept-check/fix-warning-c4834.patch new file mode 100644 index 000000000..193216391 --- /dev/null +++ b/ports/boost-concept-check/fix-warning-c4834.patch @@ -0,0 +1,13 @@ +diff --git a/include/boost/concept_check.hpp b/include/boost/concept_check.hpp
+index abbadb7..cab58e5 100644
+--- a/include/boost/concept_check.hpp
++++ b/include/boost/concept_check.hpp
+@@ -352,7 +352,7 @@ namespace boost
+ private:
+ void test(boost::false_type)
+ {
+- f(first,second);
++ (void) f(first,second);
+ Return r = f(first, second); // require operator()
+ (void)r;
+ }
diff --git a/ports/boost-concept-check/portfile.cmake b/ports/boost-concept-check/portfile.cmake index 6f87cfe2d..a643ad9d3 100644 --- a/ports/boost-concept-check/portfile.cmake +++ b/ports/boost-concept-check/portfile.cmake @@ -6,6 +6,8 @@ vcpkg_from_github( REF boost-1.75.0
SHA512 823e3af47881c98f864c70686a3a2f6c9b7d5e6bf0ae61f2983f6c2ba26a70aaa888b683a74ef504ec7f5f479609731e35fad3518f1731954e01e7d67636e5d4
HEAD_REF master
+ PATCHES
+ fix-warning-c4834.patch
)
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
diff --git a/ports/boost-concept-check/vcpkg.json b/ports/boost-concept-check/vcpkg.json index 3b2efd636..5576019b8 100644 --- a/ports/boost-concept-check/vcpkg.json +++ b/ports/boost-concept-check/vcpkg.json @@ -1,6 +1,7 @@ { "name": "boost-concept-check", "version-string": "1.75.0", + "port-version": 1, "description": "Boost concept_check module", "homepage": "https://github.com/boostorg/concept_check", "dependencies": [ |
