[PATCH] AIX Fix xlc designated initializer bug
Volker.Lendecke at SerNet.DE
Wed Mar 2 10:58:28 UTC 2016
On Wed, Mar 02, 2016 at 11:02:41AM +0100, Andreas Schneider wrote:
> We agreed to use C99 some time ago. If a compiler doesn't support it, well
> then it is a pity but simply will not work on that platform.
> If IBM wants Samba to be working on AIX with a different compiler than
> gcc/clang they should make sure they support C99 correctly.
We have had some tough discussions regarding GCC support for struct
initializers. GCC spits out warnings for completely standards-compliant
code, so even this compiler is not supporting C99 properly. Maybe it
is really too early to widely use struct initializers, and we should
revisit that decision. Same goes probably for VLAs. Kerberos bans them
because they are unsafe.
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical