[PATCH] Revert "wafsamba: Enable warnings for missing field initializer"

Ralph Böhme slow at samba.org
Mon Apr 29 19:51:53 UTC 2019


Hey Christof

> Am 29.04.2019 um 21:36 schrieb Christof Schmitt <cs at samba.org>:
> 
> Revert the patch adding the warnings since that causes problems when
> compiling master on RHEL7. Many C99 initializers of nested structs are
> flagged as problematic, so it seems easier to remove the additional
> compiler checks.

sorry, didn't thought about older compilers...

Can we have a compiler check that ensures {0} works included with nested structs and then only enable the -Wmissing-field-initializers if it does?

-slow

-- 
Ralph Boehme, Samba Team                https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG-Fingerprint   FAE2C6088A24252051C559E4AA1E9B7126399E46




More information about the samba-technical mailing list