Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 14:56:59 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Xin LI <delphij@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r235822 - in head: sys/dev/esp sys/gnu/fs/xfs/FreeBSD usr.sbin/ppp usr.sbin/rpc.lockd
Message-ID:  <CE6F7CFA-15DE-4819-A450-B41B7065A37F@lists.zabbadoz.net>
In-Reply-To: <201205230649.q4N6nofV053886@svn.freebsd.org>

index | next in thread | previous in thread | raw e-mail


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!



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE6F7CFA-15DE-4819-A450-B41B7065A37F>