Only issue to build with XCode 16.4 in `master` no...
# core
l
Only issue to build with XCode 16.4 in
master
now seems to be Boost related:
Copy code
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | grep version
version: 16.4.0.0.1.1747106510
[...]
/Users/lucas/git/osquery/libraries/cmake/source/boost/src/libs/mpl/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 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion]
   73 |     typedef AUX_WRAPPER_INST( BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (value - 1)) ) prior;
      |                               ^
[...]
Maybe updating will fix the issue? Any docs on how to update Boost?
k
that's what i'm hoping
i'll give updating boost a try
I will check in the newer version if that piece of offending code exists or not
libraries/cmake/source/boost/src/libs/mpl/include/boost/mpl/aux_/integral_wrapper.hpp
Copy code
- typedef AUX_WRAPPER_INST( BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (value - 1)) ) prior;
+ typedef AUX_WRAPPER_INST(BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (value > 0 ? value - 1 : 0))) prior;
should be easy to spot
hmmm...
doesn't look good
that is the version of
mpl
that https://github.com/boostorg/boost/tree/master/libs
mpl @ cd74f40
is referenced
but doesn't mean other internals changed
l
Worth giving it a go.