[libvirt] [PATCH 1/2] build: warn on a large frame by default

Daniel Henrique Barboza danielhb413 at gmail.com
Tue Dec 17 10:42:43 UTC 2019



On 12/14/19 6:49 PM, Ján Tomko wrote:
> My commit e73889b6311f5b43d859caa4bae84bfdb299967a
> split the -Wframe-larger-than warning setting into
> two different variables - STRICT_FRAME_LIMIT_CFLAGS
> for the library code and RELAXED_FRAME_LIMIT_CFLAGS
> which was needed for tests.
> 
> Use the strict limit by default and specify the warning
> flag twice for the parts that require a larger stack
> frame, relying on the fact that the compiler will pick
> up the latter value.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---

Reviewed-by: Daniel Henrique Barboza <danielhb413 at gmail.com>





More information about the libvir-list mailing list