enumerator value is not an integer constant
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Firmware Test Suite |
Incomplete
|
High
|
Ivan Hu |
Bug Description
got report from fwts github,
https:/
Attempting to build 23.11.00 on Gentoo Linux with GCC 13
libtool: compile: x86_64-
In file included from ../../.
fwts_firmware.c: In function 'fwts_firmware_
../../.
264 | enum { FWTS_CONCAT_
| ^~~~~~~~~~~~
../../.
261 | #define FWTS_CONCAT(a, b) a ## b
| ^
../../.
264 | enum { FWTS_CONCAT_
| ^~~~~~~~~~~~~~~~~~
fwts_firmware.
93 | FWTS_ASSERT((n * (sizeof(
| ^~~~~~~~~~~
../../.
264 | enum { FWTS_CONCAT_
| ^~~~~~~~~~~~
../../.
261 | #define FWTS_CONCAT(a, b) a ## b
| ^
../../.
264 | enum { FWTS_CONCAT_
| ^~~~~~~~~~~~~~~~~~
fwts_firmware.
98 | FWTS_ASSERT(((1UL << n) - 1) == FWTS_FW_
| ^~~~~~~~~~~
make[4]: *** [Makefile:928: libfwts_
make[4]: Leaving directory '/var/tmp/
make[3]: *** [Makefile:380: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/
make[2]: *** [Makefile:5141: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/
make[1]: *** [Makefile:830: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/
make: *** [Makefile:761: all] Error 2
install the latest daily Ubuntu 24.04 (Noble) image, which hasn't no such build error.
gcc version 13.2.0(ubuntu 13.2.0-7ubuntu1)