2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-28 12:37:55 +00:00

37 Commits

Author SHA1 Message Date
Andrei Pavel
3b25a92584
[#2311] autoconf: include <utility> when checking for boost headers
Solves this error:

In file included from /usr/include/boost/asio.hpp:23,
                 from conftest.cpp:75:
/usr/include/boost/asio/awaitable.hpp: In constructor 'boost::asio::awaitable<T, Executor>::awaitable(boost::asio::awaitable<T, Executor>&&)':
/usr/include/boost/asio/awaitable.hpp:68:19: error: 'exchange' is not a member of 'std'; did you mean 'std::__atomic_impl::exchange'?
   68 |     : frame_(std::exchange(other.frame_, nullptr))
      |                   ^~~~~~~~
In file included from /usr/include/c++/12/bits/shared_ptr_atomic.h:33,
                 from /usr/include/c++/12/memory:78,
                 from /usr/include/boost/asio/associated_allocator.hpp:19,
                 from /usr/include/boost/asio.hpp:20:
/usr/include/c++/12/bits/atomic_base.h:976:7: note: 'std::__atomic_impl::exchange' declared here
  976 |       exchange(_Tp* __ptr, _Val<_Tp> __desired, memory_order __m) noexcept
      |       ^~~~~~~~
2022-10-21 17:45:25 +03:00
Francis Dupont
57a2beb736 [#2218] Added quotes and double quotes 2022-01-12 15:09:35 +01:00
Andrei Pavel
a5d388b186 [#1632] edits after autoupdate 2021-04-16 20:56:08 +02:00
Andrei Pavel
630c35d97e [#1632] autoupdate 2021-04-16 20:56:08 +02:00
Francis Dupont
56ee71be61 [#1661] Moved ssl.hpp check 2021-03-24 09:09:02 +01:00
Francis Dupont
90fef5c3d7 [#1661] Covered OpenSSL 1.0.2 2021-03-24 09:09:02 +01:00
Francis Dupont
638532f611 [#1636] More untabifies 2021-01-06 15:37:08 +01:00
Andrei Pavel
6709260cda [#1492] explicit messages for missing headers 2020-11-16 11:22:51 +00:00
Razvan Becheriu
c417af6df2 [#1308] removed boost/function.hpp and boost/bind.hpp 2020-08-13 13:54:14 +00:00
Francis Dupont
7b1b86a506 [#1283] Restored (fixed) patch 2020-07-27 09:50:58 +00:00
Francis Dupont
87d2b69384 [#1223] Updated configure tools 2020-05-22 17:15:20 +00:00
Francis Dupont
6add052a45 [497-kea-uses-deprecated-header] Fixed boost/{integer,math}/common_factor.h 2019-10-18 19:37:50 +02:00
Francis Dupont
8fc3b82cb1 [497-kea-uses-deprecated-header] Revert "[497-kea-uses-deprecated-header] Reverted the -isystem"
This reverts commit 9c1ab2136422d20d916338d210708074a412d502.
2019-10-18 19:37:50 +02:00
Francis Dupont
1efa071d61 [497-kea-uses-deprecated-header] Reverted the -isystem 2019-10-18 19:37:50 +02:00
Michal Nowikowski
98e64a69d5 perfdhcp avalache: improvements after review
- simplified differentiating for IP version and exchange types
- added more comments
- fixed unittest for receiver by mocking socket
- added option for building perfdhcp by hammer
- added workaround for compiler bug that cannot handle enum class
  as a key to std::unordered_map
- hidden warnings from boost by changing compiler flag
  from -I<boost-path> to -isystem <boost-path>
- removed unused options_ field from StatsMgr class
2019-02-19 21:54:31 +01:00
Tomek Mrugalski
fab9bbd76b [#380,!191] Updated description of the error message and comment. 2019-02-12 13:14:24 -05:00
Francis Dupont
d63b68b355 [380-unexpected-boost-include-capture] Added a protection against capture from extra boost in include path 2019-02-12 13:14:24 -05:00
Francis Dupont
c2bcbac55a [366-check-circular_buffer-hpp-existence-in-configure] Added check for boost/circular_buffer.hpp 2019-02-08 14:05:27 +01:00
Tomek Mrugalski
c6853147a7 [#283,!135] boost/atomics check moved to ax_boost_for_kea.m4 2019-01-18 10:05:12 +01:00
Francis Dupont
beb2dbc04a [367-kea-does-not-compile-with-boost-installed-at-not-default-location] Retry with infered lib dir 2019-01-11 18:03:25 -05:00
Tomek Mrugalski
5615fd3a50 [#293,!45] HAVE_BOOST_ASIO_COROUTINE_HPP const is now set properly. 2018-11-28 21:17:38 +01:00
Tomek Mrugalski
398cfdd6a4 [#293,!45] Add coroutine.hpp back to the kea sources 2018-11-28 21:17:38 +01:00
Francis Dupont
3b4db07671 [5389] Addressed warnings, moved to boost coroutines 2017-10-23 00:50:40 +02:00
Thomas Markwalder
a1e74d4139 [5337] Don't use libtool for boost lib test
configure.ac
    Added logic block to look for glib static libs fi enable-static = yes

m4macros/ax_boost_for_kea.m4
    Changed to not use libtool for boost lib test.
2017-07-25 14:00:33 -04:00
Thomas Markwalder
31967b5d57 [5337] Altered boost lib test macro to handle static linking
m4macros/ax_boost_for_kea.m4
    Altered the test to add "-static" flag and wrap the compilation
    in a call to libtool as we do in our Makefiles. This should make the
    test yield the same results as when we make.  This is important for
    -static as libtool may use .so if a .a is not available.  On systems
    which glibc .a's are not installed, our Makes with libtool would
    succeed where a call to just g++ will fail.
2017-07-24 09:10:12 -04:00
Marcin Siodelski
385bf7418d [5215] Fixed a typo in the ax_boost_for_kea.m4 2017-07-18 16:39:16 +02:00
Thomas Markwalder
b5f6a669c9 [5215] Building with boost_system library is now the default
configure.ac
    Added WARNING message when building boost headers only.

m4macros/ax_boost_for_kea.m4
    Building with boost system library is the default.

    Added --enable-boost-headers-only, to explicitly build with boost
    headers only, rather than linking to boost's system library.
2017-07-14 14:04:21 -04:00
Francis Dupont
5e66394bcc [4242] Addressed comments 2017-04-15 15:34:30 +02:00
Francis Dupont
b71cbefe6b [4242] Fixed boost and gtest versionings 2015-12-16 00:00:45 +01:00
Francis Dupont
600b8934b0 [4009] Improved --with-boost-libs help 2015-09-24 15:18:35 +02:00
Francis Dupont
f96149661d [4009] Added --with-boost-lib-dir 2015-09-23 22:30:55 +02:00
Francis Dupont
e4c8ba6da6 [4009] Added boost_lib_path (NetBSD (and more?) fix) 2015-09-23 16:22:00 +02:00
Francis Dupont
a6f76109d3 [4009] Added --with-boost-libs for Fedora 22 where it can be required 2015-09-07 13:52:25 +02:00
Francis Dupont
8175031f4b [4009] Fixed the libboost_system dependency for Boost < 1.56 2015-09-04 10:42:21 +02:00
Francis Dupont
887b914eda [4009] Added asio header checks 2015-09-03 20:05:00 +02:00
Francis Dupont
adee8c93f7 [trac3614] removed no longer used --with-shared-memory and dependencies 2014-10-21 20:40:48 +02:00
Marcin Siodelski
962d0e1396 [3507] Renamed AX_BOOST_FOR_BIND10 macro to AX_BOOST_FOR_KEA. 2014-08-12 13:09:33 +02:00