newfs_nandfs compile error 11-STABLE

Dimitry Andric dim at FreeBSD.org
Wed Apr 12 19:22:33 UTC 2017


On 12 Apr 2017, at 20:25, Ronald Klop <ronald-lists at klop.ws> wrote:
> 
> On Wed, 05 Apr 2017 12:46:01 +0200, Ronald Klop <ronald-lists at klop.ws> wrote:
...
> /usr/src-arm/sbin/newfs_nandfs/newfs_nandfs.c:543:11: error: taking address of p
> acked member 'f_uuid' of class or structure 'nandfs_fsdata' may result in an una
> ligned pointer value [-Werror,-Waddress-of-packed-member]
>        uuidgen(&fsdata.f_uuid, 1);
>                 ^~~~~~~~~~~~~
> 1 error generated.
> *** Error code 1
> 
> 
> Any ideas?

Either use NO_WERROR, or ensure you have at least r314671, where this
warning was fixed.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20170412/5b5d36dd/attachment.sig>


More information about the freebsd-fs mailing list