cmd/acpi: '_AcpiModuleName' defined but not used
cmd - userland programs
Issue revealed by gcc 6 build. The problem is about the OS specific setup in acsolaris.h.
In file included from /code/illumos-gate/usr/src/uts/intel/sys/acpi/acpi.h:61:0, from utdebug.c:46: /code/illumos-gate/usr/src/uts/intel/sys/acpi/acoutput.h:212:75: error: '_AcpiModuleName' defined but not used [-Werror=unused-const-variable=] #define ACPI_MODULE_NAME(Name) static const char ACPI_UNUSED_VAR _AcpiModuleName = Name; ^ utdebug.c:51:9: note: in expansion of macro 'ACPI_MODULE_NAME' ACPI_MODULE_NAME ("utdebug") ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
Updated by Electric Monk over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit c8b558ca47c321e76a2d41fc3d6a1259cbb182fb Author: Toomas Soome <firstname.lastname@example.org> Date: 2017-10-08T19:02:54.000Z 8697 cmd/acpi: '_AcpiModuleName' defined but not used Reviewed by: Andrew Stormont <email@example.com> Reviewed by: Gordon Ross <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>