From: Francis Dupont Date: Wed, 17 May 2023 12:49:41 +0000 (+0200) Subject: [#2862] Push before regen X-Git-Tag: Kea-2.3.8~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb57d0ab967f0b2b6842c5e4322d8b9c1bd35630;p=thirdparty%2Fkea.git [#2862] Push before regen --- diff --git a/src/bin/agent/agent_parser.yy b/src/bin/agent/agent_parser.yy index 4b3d7679c8..39a1a737fc 100644 --- a/src/bin/agent/agent_parser.yy +++ b/src/bin/agent/agent_parser.yy @@ -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 + +// Avoid warnings with the error counter. +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif } diff --git a/src/bin/d2/d2_parser.yy b/src/bin/d2/d2_parser.yy index ddee8c1478..d8a0aaad2a 100644 --- a/src/bin/d2/d2_parser.yy +++ b/src/bin/d2/d2_parser.yy @@ -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 + +// Avoid warnings with the error counter. +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif } diff --git a/src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp4/dhcp4_parser.yy index 265a31ad7c..0d1f840dcf 100644 --- a/src/bin/dhcp4/dhcp4_parser.yy +++ b/src/bin/dhcp4/dhcp4_parser.yy @@ -33,6 +33,11 @@ using namespace std; %code { #include + +// Avoid warnings with the error counter. +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif } diff --git a/src/bin/dhcp6/dhcp6_parser.yy b/src/bin/dhcp6/dhcp6_parser.yy index dfe57c6c8b..fbb25ac0bb 100644 --- a/src/bin/dhcp6/dhcp6_parser.yy +++ b/src/bin/dhcp6/dhcp6_parser.yy @@ -33,6 +33,11 @@ using namespace std; %code { #include + +// Avoid warnings with the error counter. +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif } diff --git a/src/bin/netconf/netconf_parser.yy b/src/bin/netconf/netconf_parser.yy index 8aefcb9f70..db3e79a534 100644 --- a/src/bin/netconf/netconf_parser.yy +++ b/src/bin/netconf/netconf_parser.yy @@ -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 + +// Avoid warnings with the error counter. +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif } diff --git a/src/lib/eval/parser.yy b/src/lib/eval/parser.yy index d762e66b09..2015e8398d 100644 --- a/src/lib/eval/parser.yy +++ b/src/lib/eval/parser.yy @@ -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_}