From: Paolo Bonzini <pbonzini@redhat.com>
To: Stefan Weil <sw@weilnetz.de>, qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] oslib-posix: Fix new compiler error with -Wclobbered
Date: Tue, 24 Jun 2014 23:03:05 +0200 [thread overview]
Message-ID: <53A9E789.8040809@redhat.com> (raw)
In-Reply-To: <1403643149-30440-1-git-send-email-sw@weilnetz.de>
Il 24/06/2014 22:52, Stefan Weil ha scritto:
> Newer versions of gcc report a warning (or an error with -Werror) when
> compiler option -Wclobbered (or -Wextra) is active:
>
> util/oslib-posix.c:372:12: error:
> variable ‘hpagesize’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
>
> The rewritten code fixes this warning: variable 'hpagesize' is now set and
> used in a block without any call of sigsetjmp or similar functions.
>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
next prev parent reply other threads:[~2014-06-24 21:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-24 20:52 [Qemu-devel] [PATCH] oslib-posix: Fix new compiler error with -Wclobbered Stefan Weil
2014-06-24 21:03 ` Paolo Bonzini [this message]
2014-07-07 19:29 ` Stefan Weil
2014-07-08 5:38 ` Paolo Bonzini
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=53A9E789.8040809@redhat.com \
--to=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=sw@weilnetz.de \
/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;
as well as URLs for NNTP newsgroup(s).