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

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Wed May 23 14:57:07 UTC 2012


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]


-- 
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!



More information about the svn-src-all mailing list