tree-wide: remove unnecessary gcc >= 7 version check

Our baseline is gcc 8.4.
This commit is contained in:
Mike Yuan
2025-01-16 02:26:56 +01:00
parent 35da377035
commit 347eb8fbe3
17 changed files with 3 additions and 35 deletions
-2
View File
@@ -10,9 +10,7 @@ name, prefix, input = sys.argv[1:]
print("""\
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \\"-Wimplicit-fallthrough\\"")
#endif
%}""")
print("""\
struct {}_name {{ const char* name; int id; }};
-2
View File
@@ -1,8 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
#endif
#include <stddef.h>
#include "conf-parser.h"
#include "resolved-conf.h"