-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iox-#2011 Silence some warnings when building with GCC 13.
GCC 13 (which is in Ubuntu 24.04) introduced a number of false positive warnings when using -Warray-bounds and -Wstring-op; see: * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114758 * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111118 * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110807 * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110498 In my testing, these only show up when building with optimizations, i.e. CMAKE_BUILD_TYPE=RelWithDebInfo. This commit silences those warnings across the two functions that cause the problem, and make the build completely clean. Signed-off-by: Chris Lalancette <clalancette@gmail.com>
- Loading branch information
1 parent
6d357df
commit 434ee45
Showing
3 changed files
with
21 additions
and
0 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