-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Enable standard library assertions in debug builds (#3759)
Should add assertions that check preconditions of calls to standardlibrary functions. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Enhanced configuration for compiler flags to conditionally enable assertions. - Addressed compilation issues with GCC 13 by undefining specific preprocessor directives. - Maintained existing logic for compiler type checks without altering public entity signatures. - **Bug Fixes** - Adjusted the logic for generating random directions to ensure correct bounds for angles. - **Documentation** - Improved comments for clarity on the calculations in the random direction generation function. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
1 parent
93e3b27
commit 595f2e6
Showing
4 changed files
with
16 additions
and
9 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