[MacPorts] #67324: boost176 +clang16 doesn't build

MacPorts noreply at macports.org
Fri Apr 28 22:56:49 UTC 2023


#67324: boost176 +clang16 doesn't build
--------------------+----------------------
 Reporter:  blair   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  boost176
--------------------+----------------------
 Trying to build `boost176 +clang16` fails:

 {{{
 In file included from libs/python/src/converter/builtin_converters.cpp:21:
 In file included from ./boost/cast.hpp:18:
 In file included from ./boost/numeric/conversion/cast.hpp:33:
 In file included from ./boost/numeric/conversion/converter.hpp:13:
 In file included from ./boost/numeric/conversion/conversion_traits.hpp:13:
 In file included from
 ./boost/numeric/conversion/detail/conversion_traits.hpp:18:
 In file included from
 ./boost/numeric/conversion/detail/int_float_mixture.hpp:19:
 In file included from ./boost/mpl/integral_c.hpp:32:
 ./boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is
 outside the valid range of values [0, 3] for this enumeration type
 [-Wenum-constexpr-conversion]
     typedef AUX_WRAPPER_INST(
 BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (value - 1)) ) prior;
                               ^
 }}}

 Building with the `+clang15` variant compiles fine.

 Any suggestions?

-- 
Ticket URL: <https://trac.macports.org/ticket/67324>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list