Summary: | dev-qt/qtlocation-5.15.10 fails to compile (Clang 17): integer value -1 is outside the valid range of values [0, 3] for the enumeration type [-Wenum-constexpr-conversion] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stuart Meya <stuartmeya> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | cyber+gentoo, gentoo.qxrin, kaikaikai, marek.bartosiewicz |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info emerge -pqv '=dev-qt/qtlocation-5.15.10::gentoo' |
Created attachment 868975 [details]
emerge --info
Created attachment 868976 [details]
emerge -pqv '=dev-qt/qtlocation-5.15.10::gentoo'
seems duplicate of https://bugs.gentoo.org/895516 also, I got the same error at 5.15.10 with glibc + clang profile + clang 16 + LTO + native + debug symbols. *** This bug has been marked as a duplicate of bug 895516 *** |
Created attachment 868974 [details] build.log Hi, I noticed the following errors while compiling dev-qt/qtlocation-5.15.10 on a LLVM/Clang 17 system: /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/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; | /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/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) var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/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 'int_float_mixture_enum' [-Wenum-constexpr-conversion] /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/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) Greetings, Stuart