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!

_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to