Il 07/07/2014 21:29, Stefan Weil ha scritto:
Am 24.06.2014 23:03, schrieb Paolo Bonzini:
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 <s...@weilnetz.de>

Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>


Ping? Maybe this patch can be committed directly as a build fix for
people like me who use compiler flag -Wextra.

Ok, I'll pick it up.

Paolo


Reply via email to