Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2013 15:08:56 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   revision 252095: kerenl fails to compile: nfs_clstate.c:5160:33: error: format specifies type 'long long' but the argument has type 'uint64_t'
Message-ID:  <20130622150856.5e6f9c90@thor.walstatt.dyndns.org>

next in thread | raw e-mail | index | archive | help
--Sig_/43X_NGX4rx=FDJaYM3cFm59
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable


Just for notice.

The most recent sources fail to compile a kernel successfully:


[...]
/usr/src/sys/fs/nfsclient/nfs_clstate.c:5160:33: error: format
specifies type 'long long' but the argument has type 'uint64_t' (aka
'unsigned long') [-Werror,-Wformat] "lastbyte=3D%qd\n", error,
flp->nfsfl_off, len, ^~~~~~~~~~~~~~
/usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro
'NFSCL_DEBUG' printf(__VA_ARGS__);                            \
                               ^
/usr/src/sys/fs/nfsclient/nfs_clstate.c:5160:49: error: format
specifies type 'long long' but the argument has type 'uint64_t' (aka
'unsigned long') [-Werror,-Wformat] "lastbyte=3D%qd\n", error,
flp->nfsfl_off, len, ^~~
/usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro
'NFSCL_DEBUG' printf(__VA_ARGS__);                            \
                               ^
/usr/src/sys/fs/nfsclient/nfs_clstate.c:5161:8: error: format specifies
type 'long long' but the argument has type 'uint64_t' (aka 'unsigned
long') [-Werror,-Wformat] lyp->nfsly_lastbyte);
                            ^~~~~~~~~~~~~~~~~~~
/usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro
'NFSCL_DEBUG' printf(__VA_ARGS__);                            \
                               ^
3 errors generated.
*** Error code 1

Stop.


Regards,
Oliver

--Sig_/43X_NGX4rx=FDJaYM3cFm59
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iQEcBAEBAgAGBQJRxaHuAAoJEOgBcD7A/5N8LZ0H/2DuXT0b4Pcax8z1ilP9/EiW
ePPfWvDDAVEU+e1y8Hq3ewM9vLiorW03/bqErfyJNdBZme+gfhnZ20uqDYHxoNkx
RK+CRTkWFXPfzGpX4e2ZT9xnkRP7UcApm4CFfQgmwMppxRabPVetYIYI70jnS7hp
k4sa3qTEucZFU75cX4iz4ryVJMb6vxGiiv3Rj2MFwzadNWFPrwKh8u4hRrSUc/IE
3S87uabk2WT6yPLT+XzRYD6z2eAS+nNzpAzowd1yrYSJryIHjJ18EqNtW9N4AhLs
GLlimy0arYEBCSYHEQgTJjL9JU/TZyBaoCRVEa6DNaT2IGU33JLj8QBRbx5so8o=
=QXn5
-----END PGP SIGNATURE-----

--Sig_/43X_NGX4rx=FDJaYM3cFm59--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130622150856.5e6f9c90>