[PATCH] user_ns: compile bug fix in quota.h
Eric W. Biederman
ebiederm at xmission.com
Fri Sep 7 02:00:21 UTC 2012
Zhao Hongjiang <zhaohongjiang37 at gmail.com> writes:
> From: Zhao Hongjiang <zhaohongjiang at huawei.com>
>
> Failed to build userns-always-map-user-v53 from Eric's latest
> user_ns branch with GCC 4.4.4 compiler due to violation of
> C89 standard.
Thanks.
Given that they are C99 style initializers in general I don't see how
taking one member out of the initializer and leaving the other solves
the C89 violation. But I do remember that gcc has historically had some
interesting problems with C99 initializers, so in this case I have just
opted to not use an initializer for either field, which should
make older gcc versions.
Eric
More information about the Containers
mailing list