svn commit: r235822 - in head: sys/dev/esp sys/gnu/fs/xfs/FreeBSD usr.sbin/ppp usr.sbin/rpc.lockd

Xin Li delphij at delphij.net
Wed May 23 17:51:16 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 05/23/12 07:56, Bjoern A. Zeeb wrote:
> 
> On 23. May 2012, at 06:49 , Xin LI wrote:
> 
>> Author: delphij Date: Wed May 23 06:49:50 2012 New Revision:
>> 235822 URL: http://svn.freebsd.org/changeset/base/235822
>> 
>> Log: Fix build:
>> 
>> - Use %ll instead of %q for explicit long long casts; - Use %j
>> instead of %q in XFS and cast to intmax_t.
>> 
>> Tested with:	make universe
> 
> 
> I am still seeing XLP64 failing to compile:
> 
> cc1: warnings being treated as errors 
> /scratch2/tmp/bz/HEAD.svn/sys/geom/geom_flashmap.c: In function
> 'g_flashmap_print': 
> /scratch2/tmp/bz/HEAD.svn/sys/geom/geom_flashmap.c:82: warning:
> format '%08llx' expects type 'long long unsigned int', but argument
> 2 has type 'off_t' [-Wformat] 
> /scratch2/tmp/bz/HEAD.svn/sys/geom/geom_flashmap.c:82: warning:
> format '%08llx' expects type 'long long unsigned int', but argument
> 3 has type 'off_t' [-Wformat] 
> /scratch2/tmp/bz/HEAD.svn/sys/geom/geom_flashmap.c:82: warning:
> format '%llu' expects type 'long long unsigned int', but argument 5
> has type 'off_t' [-Wformat]

Weird, I don't know why I didn't caught this :-/  It seems that
'universe_kernel' does not do things after an existing universe build?

Should be fixed in r235849.

Cheers,
- -- 
Xin LI <delphij at delphij.net>	https://www.delphij.net/
FreeBSD - The Power to Serve!		Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBCAAGBQJPvSOSAAoJEG80Jeu8UPuz6YwH/2zRaib16TwoUKMWPvRYgrDi
JikyBmSqddhuN7uLJubT9KoiDNmX6dAjVHwGZt+p+EvIkYTCw96hUPR5XY/JrHXz
YxKF0u5MsqpOGOkWWtlKIjwC3YE96TG5GAx9l8UzLU3FgGtM4OHjUmj3JUA1zXZ9
Fe4Cw1fzYcIW8xezghBbSzhfcOefWkizRY8gFSDRNUTn8GMEdngJ+f5uetzKBo7F
juE3OtcgB6sHNaxf9rNup1RvfN7x9odlQyK/IAPrp2G/LlaeBN8szI1fcJjK2q8A
qzA9/QPE3258slir0n8JGy809+9L8VZIC1edSanXqU8CAh/+6SLLNhtfd/XhCjU=
=H/R1
-----END PGP SIGNATURE-----


More information about the svn-src-head mailing list