Compilation with gcc 14 fails due to boost error
Summary
/home/joscha/.conan2/p/b/boost1cfe11b8b6449/p/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' [clang-diagnostic-enum-constexpr-conversion]
73 | typedef AUX_WRAPPER_INST( BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (value - 1)) ) prior;
| ^
/home/joscha/.conan2/p/b/boost1cfe11b8b6449/p/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)
|
Expected Behavior
What did you expect how the software should behave?
Actual Behavior
What did the software actually do?
Steps to Reproduce the Problem
Please describe, step by step, how others can reproduce the problem. Please try these steps for yourself on a clean system.
Specifications
- Version: 0.3-dev
- Platform: Fedora 40, gcc 14.2.1 20240801
Possible fixes
Upgrading Boost to 1.80 (currently 1.78) fixes the problem.
Edited by Joscha Schmiedt