I think we should instead just drop CONFIG_WARNINGS_ARE_ERRORS for Qemu rather than dropping warnings. Or maybe only add -Wno-unused-function if CONFIG_WARNINGS_ARE_ERRORS is active, at least. Or maybe add an Option "Warnings good for Developers"?I think we should get rid of that warning, since we conditionally call functions based on debugging and various config variables.
Is there a case where it helps enough to justify all the warnings?
With the -Wno-unused-functions taken care of:Signed-off-by: Myles Watson <mylesgw@gmail.com>