2023-08-25 05:49:09 |
Ivan Hu |
description |
Got format-overflow, "error:‘%s’ directive argument is null" as below,
fwts_acpi_object_eval.c:790:33: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
790 | "%s package element %" PRIu32 " was not the expected "
| ^~~~~~~~~~~~~~~~~~~~~~
fwts_acpi_object_eval.c:790:34: note: format string is defined here
790 | "%s package element %" PRIu32 " was not the expected "
| ^~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib/include -I../../../src/libfwtsiasl -I../../../src/acpica/source/include -I../../../src/acpica/source/compiler -DDATAROOTDIR=\"/usr/share\" -Wall -Werror -Wextra -Wno-address-of-packed-member -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -DACPI_DEBUG_OUTPUT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/fwts-23.07.02-0ubuntu1 -c fwts_alloc.c -o libfwts_la-fwts_alloc.o >/dev/null 2>&1
fwts_acpi_object_eval.c: In function ‘fwts_method_package_elements_type__’:
fwts_acpi_object_eval.c:828:33: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
828 | "%s package element %" PRIu32 " (%s) was not the expected "
| ^~~~~~~~~~~~~~~~~~~~~~
fwts_acpi_object_eval.c:828:34: note: format string is defined here
828 | "%s package element %" PRIu32 " (%s) was not the expected "
| ^~ |
Got format-overflow, "error:‘%s’ directive argument is null" for ppc64el on mantic as below,
fwts_acpi_object_eval.c:790:33: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
790 | "%s package element %" PRIu32 " was not the expected "
| ^~~~~~~~~~~~~~~~~~~~~~
fwts_acpi_object_eval.c:790:34: note: format string is defined here
790 | "%s package element %" PRIu32 " was not the expected "
| ^~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib/include -I../../../src/libfwtsiasl -I../../../src/acpica/source/include -I../../../src/acpica/source/compiler -DDATAROOTDIR=\"/usr/share\" -Wall -Werror -Wextra -Wno-address-of-packed-member -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -DACPI_DEBUG_OUTPUT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/fwts-23.07.02-0ubuntu1 -c fwts_alloc.c -o libfwts_la-fwts_alloc.o >/dev/null 2>&1
fwts_acpi_object_eval.c: In function ‘fwts_method_package_elements_type__’:
fwts_acpi_object_eval.c:828:33: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
828 | "%s package element %" PRIu32 " (%s) was not the expected "
| ^~~~~~~~~~~~~~~~~~~~~~
fwts_acpi_object_eval.c:828:34: note: format string is defined here
828 | "%s package element %" PRIu32 " (%s) was not the expected "
| ^~ |
|