Opened 15 months ago

Closed 2 weeks ago

#14609 closed defect (fixed)

BACKENDS: ODROID/EmuELEC: Build Error - value outside the range of underlying type 'uint32'

Reported by: Kelvfimer Owned by: lephilousophe
Priority: normal Component: Engine: AGS
Version: Keywords:
Cc: Kelvfimer Game:

Description

Description


When compiling commit 42c85c09ae221247d6aa59362377aad0f4c05508, I'm getting the error engines/ags/lib/allegro/surface_neon.o value '18446744073709551615' is outside the range of underlying type 'uint32'

error: enumerator value '18446744073709551615' is outside the range of underlying type 'uint32' {aka 'unsigned int'}

System


Compilation environment Ubuntu 22.04 WSL2 EMUELEC Toolchain.
Destination board Odroid n2+

Expected Behaviour


Compile

Trace Error


C++ engines/asylum/resources/inventory.o

In file included from /home/XXXX/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/lib/gcc/aarch64-libreelec-linux-gnu/12.2.0/include/stdint.h:9,

from /home/XXXX/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/lib/gcc/aarch64-libreelec-linux-gnu/12.2.0/include/arm_neon.h:35,
from /home/XXXX/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/scummvmsa-42c85c09ae221247d6aa59362377aad0f4c05508/engines/ags/lib/allegro/surface_neon.cpp:26:

/home/XXXX/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/scummvmsa-42c85c09ae221247d6aa59362377aad0f4c05508/engines/ags/shared/debugging/out.h:116:26: error: enumerator value '18446744073709551615' is outside the range of underlying type 'uint32' {aka 'unsigned int'}

116 | kDbgGroup_None = SIZE_MAX,

| ~

make[1]: * engines/ags/lib/allegro/surface_neon.o Error 1
make[1]:
* Waiting for unfinished jobs....
make[1]: Leaving directory '/home/XXXX/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/scummvmsa-42c85c09ae221247d6aa59362377aad0f4c05508/.aarch64-libreelec-linux-gnu'

thx
KR

Change History (3)

comment:1 by tag2015, 13 months ago

Does this still happen?

comment:2 by tag2015, 7 months ago

Summary: Build Error surface_neon.o => value '18446744073709551615' is outside the range of underlying type 'uint32'BACKENDS: ODROID/EmuELEC: Build Error - value outside the range of underlying type 'uint32'

comment:3 by sev-, 2 weeks ago

Owner: set to lephilousophe
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.