-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress most warnings when compiling with clang. (#62)
* Suppress most warnings when compiling with clang. For builds with clang aiming to use -Wall or -Werror, this commit fixes or suppresses the following warnings: - "-Wcast-align" is suppressed through pragma. - "-Wdeclaration-after-statement" is suppressed through pragma. - "-Wreserved-identifier" for functions that start with '_' are prefixed now with 'svb_'. - "-Wsign-conversion" through explicit casting, changing integer literals or, as is the case of the lookup tables, by changing type directly. - "-Wstrict-prototypes" through adding void ("f()" -> "f(void)"). - "-Wcast-qual" through explicit casting. Note: ARM code has not been modified yet. * Address PR #62 - Add STREAMVBYTE_WALL - Add STREAMVBYTE_WERROR - Add check for missing C11 stdatomic. * Fix STREAMVBYTE_WALL & STREAMVBYTE_WERROR. * Fix typo. * Fix warnings in tests + enable Wall/Werror in CI. * Fix some MSVC warnings. * Add MSVC Wall workaround. * Update unit.c * Suppress unused variable warning in tests and examples.
- Loading branch information
Marcel Pi
authored
May 20, 2023
1 parent
a67097b
commit c43294a
Showing
27 changed files
with
487 additions
and
340 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
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
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
Oops, something went wrong.