Skip to content

Commit 608f2bf

Browse files
committed
Ignored a warning in extrinsic_storage.h in gcc
1 parent 7e691df commit 608f2bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/scl/utils/data_race_checker.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,15 @@
1313
#include <vector>
1414
#include <atomic>
1515

16+
#ifdef __GNUC__
17+
#pragma GCC diagnostic push
18+
#pragma GCC diagnostic ignored "-Wtype-limits"
19+
1620
#include "extrinsic_storage.h"
1721

22+
#pragma GCC diagnostic pop
23+
#endif
24+
1825
// No Data race:
1926
// A reader enters a function and there is an active reader
2027
//

0 commit comments

Comments
 (0)