Skip to content

Commit

Permalink
suppress warning due to gcc13 bug
Browse files Browse the repository at this point in the history
Signed-off-by: wep21 <[email protected]>
  • Loading branch information
wep21 committed May 25, 2024
1 parent 7590120 commit 7f7b07b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions grid_map_core/test/EigenPluginsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@

#include "grid_map_core/grid_map_core.hpp"

// GCC 13 has false positive warnings around array-bounds.
// Suppress them until this is fixed in upstream gcc. See
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114758 for more details.
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
#endif

TEST(EigenMatrixBaseAddons, numberOfFinites)
{
Expand Down

0 comments on commit 7f7b07b

Please sign in to comment.