[MacPorts] #70611: alps @2.3.0_16: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion]
MacPorts
noreply at macports.org
Fri Aug 30 00:36:47 UTC 2024
#70611: alps @2.3.0_16: error: integer value -1 is outside the valid range of
values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-
constexpr-conversion]
--------------------------+--------------------
Reporter: jcampo-ruiz | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords:
Port: alps |
--------------------------+--------------------
Comment (by ryandesign):
The problem isn't caused by a new revision of the alps port. It's caused
by using a newer compiler. The old version of the boost library contained
within alps contains a programming mistake that old compilers allowed with
just a warning. New compilers like the version of clang in Xcode 15.3 and
later consider this mistake to be an error. The problem can be worked
around by using an older compiler or by downgrading the warning back to an
error. Instead of either of those, we should fix the port by correcting
the programming mistake e.g. possibly by upgrading to a newer version of
alps which may contain a newer version of boost that no longer has this
mistake.
--
Ticket URL: <https://trac.macports.org/ticket/70611#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list