Skip to content

Commit 9096d6c

Browse files
committed
attempt to suppress build warnings
1 parent 9c28a31 commit 9096d6c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

eidos/eidos_simd.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@
7373
#pragma GCC diagnostic pop
7474
#endif
7575

76+
// Disable certain warnings for the remainder of this file
77+
#pragma GCC diagnostic push
78+
#pragma GCC diagnostic ignored "-Waggressive-loop-optimizations"
79+
#pragma clang diagnostic push
80+
#pragma clang diagnostic ignored "-Waggressive-loop-optimizations"
81+
82+
7683
// ================================
7784
// SIMD Vector Math Operations
7885
// ================================
@@ -1204,4 +1211,10 @@ inline void convolve_dot_product_scaled_float64(
12041211

12051212
} // namespace Eidos_SIMD
12061213

1214+
1215+
// stop suppressing warnings
1216+
#pragma clang diagnostic pop
1217+
#pragma GCC diagnostic pop
1218+
1219+
12071220
#endif /* eidos_simd_h */

0 commit comments

Comments
 (0)