-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warnings coming up with clang 17
Also with -Wunqualified-std-cast-call that's enabled on github's macos-14-arm64 runner.
- Loading branch information
Showing
4 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -563,7 +563,7 @@ endif() | |
|
||
add_definitions(-DQT_NO_KEYWORDS) | ||
add_definitions(-D__STDC_LIMIT_MACROS) | ||
add_definitions(-Wall -Wextra) | ||
add_definitions(-Wall -Wextra -Wunqualified-std-cast-call) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
abraxa
Author
Member
|
||
add_definitions(${REQUIRED_STD_CXX_FLAGS}) | ||
|
||
add_definitions(-DBOOST_MATH_DISABLE_FLOAT128=1) | ||
|
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
-Wunqualified-std-cast-call
is only supported by clang, resulting in gcc failing to build pulseview: