From: Stefan Weil <weil@mail.berlios.de>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: "Anthony Liguori" <aliguori@us.ibm.com>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Andreas Färber" <andreas.faerber@web.de>
Subject: [Qemu-devel] Re: [PULL] More format checking
Date: Wed, 01 Dec 2010 22:41:40 +0100 [thread overview]
Message-ID: <4CF6C114.4010706@mail.berlios.de> (raw)
In-Reply-To: <4CED87BA.7000609@mail.berlios.de>
Am 24.11.2010 22:46, schrieb Stefan Weil:
> Hello,
>
> with these patches, hopefully all functions with printf like arguments
> use gcc's format checking, so the TODO comment in HACKING can be removed.
>
> The patch series was tested with a default build configuration on linux
> and windows hosts (including some cross compilations for arm, mips and
> powerpc),
> so chances are good that there remain few (if any) functions without
> format checking.
>
> If there remain such functions (and maybe also some related format bugs),
> the compiler will raise a warning now, so it should be easy to fix them.
>
> All patches were published on qemu-devel. There were two replies:
>
> * 1st patch: small typo in commit message, fixed now
>
> * last patch: breaks build
>
> It's normal that the last patch will break builds with warning = error
> as long as the other four patches (and maybe more format related fixes)
> are not applied. This is the intention of the last patch!
>
> Regards,
> Stefan Weil
>
> The following changes since commit
> f711df67d611e4762966a249742a5f7499e19f99:
>
> microblaze: target-ify target_ucontext (2010-11-23 10:04:30 +0100)
>
> are available in the git repository at:
> git://git.weilnetz.de/git/qemu for-blueswirl
>
> Stefan Weil (5):
> *-dis: Replace fprintf_ftype by fprintf_function (format checking)
> target-sparc: Use fprintf_function (format checking)
> audio: Use GCC_FMT_ATTR (format checking)
> darwin-user: Use GCC_FMT_ATTR (format checking)
> configure: Add compiler option -Wmissing-format-attribute
>
> HACKING | 3 ---
> alpha-dis.c | 3 +++
> arm-dis.c | 14 +++++++-------
> audio/audio_pt_int.c | 3 ++-
> configure | 1 +
> darwin-user/machload.c | 2 +-
> darwin-user/qemu.h | 2 +-
> dis-asm.h | 10 ++--------
> m68k-dis.c | 2 +-
> microblaze-dis.c | 2 +-
> mips-dis.c | 2 --
> sh4-dis.c | 16 +++++-----------
> target-sparc/cpu.h | 4 ++--
> 13 files changed, 26 insertions(+), 38 deletions(-)
>
Is there anything missing, or can the patch series be applied finally?
Kind regards,
Stefan Weil
next prev parent reply other threads:[~2010-12-01 21:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-24 21:46 [Qemu-devel] [PULL] More format checking Stefan Weil
2010-12-01 21:41 ` Stefan Weil [this message]
2010-12-04 18:35 ` [Qemu-devel] " Blue Swirl
2010-12-04 19:24 ` Stefan Weil
2010-12-04 20:18 ` Blue Swirl
2010-12-04 21:02 ` Stefan Weil
2010-12-04 21:07 ` Blue Swirl
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=4CF6C114.4010706@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=aliguori@us.ibm.com \
--cc=andreas.faerber@web.de \
--cc=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.