diff options
Diffstat (limited to 'string/tester.c')
-rw-r--r-- | string/tester.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/string/tester.c b/string/tester.c index bcd7148..b7acf29 100644 --- a/string/tester.c +++ b/string/tester.c @@ -47,6 +47,9 @@ DIAG_IGNORE_NEEDS_COMMENT (7, "-Wstringop-overflow="); #if __GNUC_PREREQ (8, 0) DIAG_IGNORE_NEEDS_COMMENT (8, "-Wstringop-truncation"); #endif +#if __GNUC_PREREQ (11, 0) +DIAG_IGNORE_NEEDS_COMMENT (11, "-Wstringop-overread"); +#endif #define STREQ(a, b) (strcmp((a), (b)) == 0) |