fwts: build failure on fadt tests with gcc 4.6 (trusty)
Bug #1549429 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Firmware Test Suite |
Fix Released
|
Critical
|
Colin Ian King |
Bug Description
const fwts_acpi_gas null_gas = { 0 } causes a build failure with older compilers, such as gcc 4.6 (on Trusty):
acpi/fadt/fadt.c: In function 'acpi_table_
acpi/fadt/
acpi/fadt/
make null_gas a static const - this will then be initialized as all zeros just once at run time and it's compatible with older versions of gcc too. Note this is a read-only struct, so this is fine to init like this
Changed in fwts: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Fix send to fwts-devel for review: https:/ /lists. ubuntu. com/archives/ fwts-devel/ 2016-February/ 007591. html