Skip to content

Commit

Permalink
SPEX: Remove pragma that silenced a GCC warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuetzel committed Mar 6, 2024
1 parent 8c59a72 commit be5698e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions SPEX/SPEX_Utilities/Source/SPEX_matrix_allocate.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@

#include "spex_util_internal.h"

#if defined (__GNUC__)
#if ( __GNUC__ == 11)
// gcc 11 has a bug that triggers a spurious warning for the call
// to SPEX_MPQ_INIT (A->scale), from -Wstringop-overflow. see
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101854
#pragma GCC diagnostic ignored "-Wstringop-overflow"
#endif
#endif

SPEX_info SPEX_matrix_allocate
(
SPEX_matrix *A_handle, // matrix to allocate
Expand Down

0 comments on commit be5698e

Please sign in to comment.