#include <map>
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-literal-operator"
+#endif
// #include <sysrepo-cpp/Changes.hpp> // Will be required on newer sysrepo-cpp
#include <sysrepo-cpp/Session.hpp>
// #include <sysrepo-cpp/Subscription.hpp> // Will be required on newer sysrepo-cpp
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
namespace isc {
namespace netconf {
#ifdef __GNUC__
#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
#pragma GCC diagnostic ignored "-Wshadow"
#if (((GNU_CC_VERSION >= 50200) && (GNU_CC_VERSION < 60000)) \
&& defined(BOOST_ERROR_CODE_HEADER_ONLY))
#include <exceptions/exceptions.h>
#include <asiolink/botan_wrapper.h>
-#include <botan/asio_stream.h>
namespace isc {
namespace asiolink {
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
#endif
+#ifdef __GNUC__
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
+#pragma GCC diagnostic ignored "-Wshadow"
+#endif
+
/// MariaDB defines PROTOCOL_VERSION which is also in a Botan enum...
#ifdef PROTOCOL_VERSION
#endif
#include <boost/beast/core/error.hpp>
+#include <botan/asio_stream.h>
#ifdef BOTAN_BACKUP_FOR_PROTOCOL_VERSION
#define PROTOCOL_VERSION BOTAN_BACKUP_FOR_PROTOCOL_VERSION
#ifndef ASIOLINK_INTERVAL_TIMER_H
#define ASIOLINK_INTERVAL_TIMER_H 1
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
+#endif
#include <boost/asio/deadline_timer.hpp>
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
+
#include <boost/shared_ptr.hpp>
#include <functional>
-// Copyright (C) 2010-2024 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2010-2025 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
// See the description of the namespace below.
#include <unistd.h> // for some network system calls
#include <stdint.h> // for uint32_t
+
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
+#endif
#include <boost/asio/ip/address.hpp>
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
#include <functional>
#include <string>
#error "Boost ASIO older than 1.66 are not supported"
#endif
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
+#endif
#include <boost/asio/io_context.hpp>
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
namespace isc {
namespace asiolink {
#include <asiolink/asio_wrapper.h>
#include <asiolink/botan_wrapper.h>
-#include <botan/asio_stream.h>
#include <botan/certstor_flatfile.h>
#include <botan/pkcs8.h>
#include <botan/auto_rng.h>
#include <asiolink/asio_wrapper.h>
#include <asiolink/botan_wrapper.h>
-#include <botan/asio_stream.h>
#include <botan/certstor_flatfile.h>
#include <botan/pkcs8.h>
#include <botan/auto_rng.h>
-// Copyright (C) 2016-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2025 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
#include <config.h>
#include <http/date_time.h>
-#include <boost/date_time/time_facet.hpp>
-#include <boost/date_time/local_time/local_time.hpp>
+
#include <locale>
#include <sstream>
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-copy"
+#endif
+#include <boost/date_time/local_time/local_time.hpp>
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
+#include <boost/date_time/time_facet.hpp>
+
using namespace boost::local_time;
using namespace boost::posix_time;
#include <config.h>
+#include <yang/translator.h>
#include <yang/yang_revisions.h>
-#include <sysrepo-cpp/Connection.hpp>
-#include <sysrepo-cpp/Session.hpp>
-
#include <iostream>
#include <unordered_map>
#include <sstream>
#include <cc/data.h>
#include <yang/netconf_error.h>
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-literal-operator"
+#endif
#include <sysrepo-cpp/Connection.hpp>
#include <sysrepo-cpp/Enum.hpp>
#include <sysrepo-cpp/Session.hpp>
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
#include <unordered_map>