Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iox-#2011 Silence some warnings when building with GCC 13. #2296

Commits on Jun 3, 2024

  1. iox-eclipse-iceoryx#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>
    clalancette committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    434ee45 View commit details
    Browse the repository at this point in the history