Actions
Bug #5300
closedBuild fails with clang 18
Start date:
Due date:
% Done:
100%
Estimated time:
Description
This is really a Boost bug, but it's still unfixed and seems important enough to warrant implementing a workaround on our side.
['clang++-18', '-std=c++17', '-I/usr/include', '-DHAVE_ATOMIC=1', '-DHAVE_PTHREAD=1', '-DHAVE_RT=1', '-DHAVE_GETPASS=1', '-DHAVE_NETLINK=1', '-DHAVE_NETLINK_EXT_ACK=1', '-DHAVE_IFA_FLAGS=1', '-DHAVE_SQLITE3=1', '-DHAVE_OPENSSL=1', '-DBOOST_STACKTRACE_DYN_LINK', '-DBOOST_LOG_DYN_LINK', '../test.cpp', '-c', '-o/home/runner/work/ndn-cxx/ndn-cxx/build/.conf_check_cee1b304be9321807355ace120add1ef/testbuild/test.cpp.1.o']
err: In file included from ../test.cpp:2:
In file included from /usr/include/boost/log/trivial.hpp:23:
In file included from /usr/include/boost/log/sources/severity_logger.hpp:25:
In file included from /usr/include/boost/log/sources/severity_feature.hpp:31:
In file included from /usr/include/boost/log/utility/strictest_lock.hpp:19:
In file included from /usr/include/boost/mpl/integral_c.hpp:32:
/usr/include/boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'lock_access_mode' [-Wenum-constexpr-conversion]
73 | typedef AUX_WRAPPER_INST( BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (value - 1)) ) prior;
| ^
/usr/include/boost/mpl/aux_/static_cast.hpp:24:47: note: expanded from macro 'BOOST_MPL_AUX_STATIC_CAST'
24 | # define BOOST_MPL_AUX_STATIC_CAST(T, expr) static_cast<T>(expr)
| ^
1 error generated.
Updated by Davide Pesavento 10 months ago
- Assignee set to Davide Pesavento
- Target version set to 0.9.0
Updated by Davide Pesavento 10 months ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
Updated by Davide Pesavento 10 months ago
- Status changed from In Progress to Code review
- % Done changed from 50 to 100
Updated by Davide Pesavento 10 months ago
- Status changed from Code review to Closed
Actions