From aca3b467f56039fefce407280a1794ff4a3395b3 Mon Sep 17 00:00:00 2001
From: Pierrick Bouvier <pierrick.bouvier@allegrodvt.com>
Date: Thu, 4 Jun 2020 16:12:21 +0200
Subject: [PATCH] gcc: deactivate stringop warning (needed from gcc-10)
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eedbcd95..fa287a5c 100644
a
|
b
|
endif() |
73 | 73 | # bb_enable_warnings( gcc -Wno-unused-variable ) |
74 | 74 | # bb_enable_warnings( gcc-4.8 warnings-as-errors -Wno-unused-variable ) |
75 | 75 | # for gcc 8.2: |
76 | | bb_enable_warnings( gcc warnings-as-errors -Wno-sign-compare -Wno-class-memaccess) |
| 76 | bb_enable_warnings( gcc warnings-as-errors -Wno-stringop-overflow -Wno-sign-compare -Wno-class-memaccess) |
77 | 77 | |
78 | 78 | if( XCODE ) |
79 | 79 | bb_enable_warnings( clang warnings-as-errors |