-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libunifex] Update to 2021-12-07 (#21995)
* updated libunifex version * remove comment * run x-add-versions --all * Update ports/libunifex/vcpkg.json Co-authored-by: JonLiu1993 <[email protected]> * rerun x-add-version libunifex * Update versions/l-/libunifex.json Co-authored-by: JonLiu1993 <[email protected]> * update libunifex to 12-07 * x-add-version * libunifex port update force cpp20 as cpp17 build doesn't work with msvc. added a compile fix for externConstexpr and removed warnings with /EHsc * Update libunifex.json version update * Update fix-compile-error.patch relax clang warnings * Update libunifex.json git x-add-version libunifex * remove unused * x-add-versions * remove old version log Co-authored-by: JonLiu1993 <[email protected]> Co-authored-by: Billy Robert O'Neal III <[email protected]>
- Loading branch information
1 parent
6b82b23
commit 4ffe8b0
Showing
6 changed files
with
28 additions
and
56 deletions.
There are no files selected for viewing
30 changes: 15 additions & 15 deletions
30
ports/libunifex/allow-warnings.patch → ports/libunifex/fix-compile-error.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
diff --git a/cmake/unifex_env.cmake b/cmake/unifex_env.cmake | ||
index cb99ae4..9825532 100644 | ||
--- a/cmake/unifex_env.cmake | ||
+++ b/cmake/unifex_env.cmake | ||
@@ -21,8 +21,8 @@ endif() | ||
|
||
if (MSVC) | ||
# warning level 3 and all warnings as errors | ||
- add_compile_options(/W3 /WX) | ||
+ add_compile_options(/W3) | ||
else() | ||
# lots of warnings and all warnings as errors | ||
- add_compile_options(-Wall -Wextra -pedantic -Werror) | ||
+ add_compile_options(-Wall -Wextra -pedantic) | ||
endif() | ||
diff --git a/cmake/unifex_env.cmake b/cmake/unifex_env.cmake | ||
index cb99ae4..9825532 100644 | ||
--- a/cmake/unifex_env.cmake | ||
+++ b/cmake/unifex_env.cmake | ||
@@ -21,8 +21,8 @@ endif() | ||
|
||
if (MSVC) | ||
# warning level 3 and all warnings as errors | ||
- add_compile_options(/W3 /WX) | ||
+ add_compile_options(/W3 /WX /Zc:externConstexpr /EHsc) | ||
else() | ||
# lots of warnings and all warnings as errors | ||
- add_compile_options(-Wall -Wextra -pedantic -Werror) | ||
+ add_compile_options(-Wall -Wextra -pedantic) | ||
endif() |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters