Opened 6 months ago

Last modified 4 months ago

#14609 new defect

Build Error surface_neon.o => value '18446744073709551615' is outside the range of underlying type 'uint32'

Reported by: Kelvfimer Owned by:
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 (1)

comment:1 by tag2015, 4 months ago

Does this still happen?

Note: See TracTickets for help on using tickets.