Hi Christian,
Am 17.06.22 um 14:01 schrieb John Garry:
On 17/06/2022 12:57, Christian König wrote:
And/Or compile out the warning when "warnings = errors"?
That should be doable I think.
ok, if something can be done then I would appreciate it. I do much
randconfig builds as part of my upstream process and anything breaking
is a bit of a pain.
I've just double checked the code and we have already wrapped the
warning into "#ifndef CONFIG_COMPILE_TEST".
Yes
So the question is why does your random config not set CONFIG_COMPILE_TEST?
My randconfig does not have CONFIG_COMPILE_TEST set - see attached.
AFAIK randconfig does not always set CONFIG_COMPILE_TEST.
Thanks,
John