From: Karel Zak <kzak@redhat.com>
To: Benno Schulenberg <bensberg@justemail.net>
Cc: Util-Linux <util-linux@vger.kernel.org>
Subject: Re: [patches] a few more man-page improvements
Date: Tue, 15 Oct 2013 15:48:43 +0200 [thread overview]
Message-ID: <20131015134843.GD31477@x2.net.home> (raw)
In-Reply-To: <1381840942.1853.34205941.61403749@webmail.messagingengine.com>
On Tue, Oct 15, 2013 at 02:42:22PM +0200, Benno Schulenberg wrote:
>
> On Tue, Oct 15, 2013, at 13:31, Karel Zak wrote:
> > On Tue, Oct 15, 2013 at 11:51:00AM +0200, Benno Schulenberg wrote:
> > > Now it compiles fine, with only those five warnings in libfdisk/src/ask.c:
> > > «format '%zd' expects argument of type 'signed size_t', but...» and two
> > > unused variables in misc-utils/cal.c (when compiled without ncurses).
> >
> > Thanks! Fixed.
>
> Well... the warnings for ask.c have gone, but now I get these three for gpt.c:
>
> libfdisk/src/gpt.c: In function 'gpt_verify_disklabel':
> libfdisk/src/gpt.c:1540:7: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'uint64_t' [-Wformat]
> libfdisk/src/gpt.c:1540:7: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uint64_t' [-Wformat]
> libfdisk/src/gpt.c:1540:7: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'uint64_t' [-Wformat]
I have fixed this in libfdisk branch (git hub) for the next release
v2.25, for v2.24 it's tricky as a real fix requires changes to
translated strings too.
I'll probably do the change after po/ stuff merge rather than cast
from uint64_t from long.
> And the ones for cal.c are still there:
>
> misc-utils/cal.c:139:20: warning: 'term' defined but not used [-Wunused-variable]
> misc-utils/cal.c:141:13: warning: 'Slen' defined but not used [-Wunused-variable]
Ah, so you don't have libncurses as well as libtermcap :-) Fixed.
Thanks!
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
prev parent reply other threads:[~2013-10-15 13:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-14 20:45 [patches] a few more man-page improvements Benno Schulenberg
2013-10-15 8:27 ` Karel Zak
2013-10-15 9:51 ` Benno Schulenberg
2013-10-15 11:31 ` Karel Zak
2013-10-15 12:42 ` Benno Schulenberg
2013-10-15 13:48 ` Karel Zak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131015134843.GD31477@x2.net.home \
--to=kzak@redhat.com \
--cc=bensberg@justemail.net \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox