Re: [PATCH] user_ns: compile bug fix in quota.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zhao Hongjiang <zhaohongjiang37@xxxxxxxxx> writes:

> From: Zhao Hongjiang <zhaohongjiang@xxxxxxxxxx>
>
> 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
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux