[PATCH RFC] Add a macro for null mount options to sbin/mount*
Stefan Farfeleder
stefan at fafoe.narf.at
Thu Jun 2 00:24:54 PDT 2005
On Thu, Jun 02, 2005 at 12:06:07PM +1000, Bruce Evans wrote:
> It would be a compiler bug to complain about missing initializaters for
> trailing fields -- consider explicitly initalizing all the data in
> "struct foo { char *p; int n[1024 * 1024]; }". Here the field holding
> the NULL is the only one that is used. The definition of the terminator
> would only need to change if this field is moved.
Seconded, however GCC does exactly that with -W (now -Wextra) which we
happen to use when ${WARNS} >= 3.
Stefan
More information about the freebsd-arch
mailing list