]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2862] Push before regen
authorFrancis Dupont <fdupont@isc.org>
Wed, 17 May 2023 12:49:41 +0000 (14:49 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 17 May 2023 17:04:26 +0000 (19:04 +0200)
src/bin/agent/agent_parser.yy
src/bin/d2/d2_parser.yy
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp6/dhcp6_parser.yy
src/bin/netconf/netconf_parser.yy
src/lib/eval/parser.yy

index 4b3d7679c88b3508edc665e2ecee0229dfdcce73..39a1a737fcd15330851e510323c2a86f0c776088 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2017-2022 Internet Systems Consortium, Inc. ("ISC")
+/* Copyright (C) 2017-2023 Internet Systems Consortium, Inc. ("ISC")
 
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -32,6 +32,11 @@ using namespace std;
 %code
 {
 #include <agent/parser_context.h>
+
+// Avoid warnings with the error counter.
+#if defined(__GNUC__) || defined(__clang__)
+#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
 }
 
 
index ddee8c1478b3941a392689dbdcb575a5d3a5d705..d8a0aaad2a59bd7dccc5340eff1d3fdd366a86b9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2017-2021 Internet Systems Consortium, Inc. ("ISC")
+/* Copyright (C) 2017-2023 Internet Systems Consortium, Inc. ("ISC")
 
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -33,6 +33,11 @@ using namespace std;
 %code
 {
 #include <d2/parser_context.h>
+
+// Avoid warnings with the error counter.
+#if defined(__GNUC__) || defined(__clang__)
+#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
 }
 
 
index 265a31ad7c8df214a68e985d004b4f295c9c1962..0d1f840dcf43f5363b856c5c8c67961dced52664 100644 (file)
@@ -33,6 +33,11 @@ using namespace std;
 %code
 {
 #include <dhcp4/parser_context.h>
+
+// Avoid warnings with the error counter.
+#if defined(__GNUC__) || defined(__clang__)
+#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
 }
 
 
index dfe57c6c8ba310220d2055216e59d933444778c4..fbb25ac0bbe92e6c7e2aba9e50c6cbed5ad55274 100644 (file)
@@ -33,6 +33,11 @@ using namespace std;
 %code
 {
 #include <dhcp6/parser_context.h>
+
+// Avoid warnings with the error counter.
+#if defined(__GNUC__) || defined(__clang__)
+#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
 }
 
 
index 8aefcb9f70d7255ffb17fb56e133dba193867113..db3e79a534cb7c67dac19664aadcf6d081c0afcb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2018-2022 Internet Systems Consortium, Inc. ("ISC")
+/* Copyright (C) 2018-2023 Internet Systems Consortium, Inc. ("ISC")
 
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -35,6 +35,11 @@ using namespace std;
 %code
 {
 #include <netconf/parser_context.h>
+
+// Avoid warnings with the error counter.
+#if defined(__GNUC__) || defined(__clang__)
+#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
 }
 
 
index d762e66b097c9a521f3b498f8c01150799ba20e2..2015e8398d4b9053295f12be018c4545d04262a2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2015-2022 Internet Systems Consortium, Inc. ("ISC")
+/* Copyright (C) 2015-2023 Internet Systems Consortium, Inc. ("ISC")
 
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -32,6 +32,11 @@ using namespace isc::eval;
 %code
 {
 # include "eval_context.h"
+
+// Avoid warnings with the error counter.
+#if defined(__GNUC__) || defined(__clang__)
+#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
 }
 
 %define api.token.prefix {TOKEN_}