ACPICA fixes for gcc2.95.3
pswalk has issues in code we don't use for gcc 2.95.3, so just disable Can we drop gcc2.95.3 soon? Change-Id: I334b5029f97ad66b46bd0054c05c75062fec27fc Reviewed-on: https://review.haiku-os.org/c/haiku/+/3723 Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
This commit is contained in:
parent
fe0910891a
commit
3f6f7f7420
@ -193,7 +193,7 @@ AcpiPsDeleteParseTree (
|
|||||||
if (Op != Parent)
|
if (Op != Parent)
|
||||||
{
|
{
|
||||||
/* This is the descending case */
|
/* This is the descending case */
|
||||||
|
#if 0 //gcc2.95.3 warns about printf format in code we do not use
|
||||||
if (ACPI_IS_DEBUG_ENABLED (ACPI_LV_PARSE_TREES, _COMPONENT))
|
if (ACPI_IS_DEBUG_ENABLED (ACPI_LV_PARSE_TREES, _COMPONENT))
|
||||||
{
|
{
|
||||||
/* This debug option will print the entire parse tree */
|
/* This debug option will print the entire parse tree */
|
||||||
@ -211,7 +211,7 @@ AcpiPsDeleteParseTree (
|
|||||||
}
|
}
|
||||||
AcpiOsPrintf ("\n");
|
AcpiOsPrintf ("\n");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
/* Look for an argument or child of the current op */
|
/* Look for an argument or child of the current op */
|
||||||
|
|
||||||
Next = AcpiPsGetArg (Op, 0);
|
Next = AcpiPsGetArg (Op, 0);
|
||||||
|
@ -1379,7 +1379,7 @@ typedef struct acpi_pnp_device_id_list
|
|||||||
{
|
{
|
||||||
UINT32 Count; /* Number of IDs in Ids array */
|
UINT32 Count; /* Number of IDs in Ids array */
|
||||||
UINT32 ListSize; /* Size of list, including ID strings */
|
UINT32 ListSize; /* Size of list, including ID strings */
|
||||||
ACPI_PNP_DEVICE_ID Ids[]; /* ID array */
|
ACPI_PNP_DEVICE_ID Ids[1]; /* ID array */
|
||||||
|
|
||||||
} ACPI_PNP_DEVICE_ID_LIST;
|
} ACPI_PNP_DEVICE_ID_LIST;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user