Opened 4 months ago
Last modified 4 months ago
#70355 assigned defect
arm-none-eabi-gdb @13.1: error: integer value -1 is outside the valid range of values [0, 15] for this enumeration type
Reported by: | ednl (Ewoud Dronkert) | Owned by: | judaew (Vadym-Valdis Yudaiev) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | sonoma | Cc: | |
Port: | arm-none-eabi-gdb |
Description
Several errors (5 in total) like this:
:info:build In file included from ada-exp.y:38: :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-gdb/work/gdb-13.1/gdb/defs.h:65: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-gdb/work/gdb-13.1/gdb/../gdbsupport/enum-flags.h:95:52: error: integer value -1 is outside the valid range of values [0, 15] for this enumeration type [-Wenum-constexpr-conversion] :info:build integer_for_size<sizeof (T), static_cast<bool>(T (-1) < T (0))>::type
Change History (2)
comment:1 Changed 4 months ago by jmroot (Joshua Root)
Owner: | set to judaew |
---|---|
Status: | new → assigned |
comment:2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | sonoma added |
---|---|
Summary: | arm-none-eabi-gdb @13.1 fails to build for x86_64 on Sonoma 14.5 → arm-none-eabi-gdb @13.1: error: integer value -1 is outside the valid range of values [0, 15] for this enumeration type |
Note: See
TracTickets for help on using
tickets.
Yes, new clang compilers are pickier about this than older ones. We've seen the same error in old versions of boost.