mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
m4: Increase warning limit for frame-larger-than.
Generated code in virt-builder causes the error below. Since we
cannot control what is generated by bison, increase the limit.
CCLD virt-index-validate
index-parse.c: In function 'yyparse':
index-parse.c:1857:1: error: the frame size of 5152 bytes is larger than 5000 bytes [-Werror=frame-larger-than=]
1857 | }
| ^
lto1: all warnings being treated as errors
lto-wrapper: fatal error: gcc returned 1 exit status
This commit is contained in:
@@ -92,7 +92,7 @@ dnl Now some warnings we want to enable and/or customize ...
|
||||
|
||||
dnl Warn about large stack frames. This does not include alloca and
|
||||
dnl variable length arrays. Coverity warns about 10000 byte frames.
|
||||
gl_WARN_ADD([-Wframe-larger-than=5000])
|
||||
gl_WARN_ADD([-Wframe-larger-than=6000])
|
||||
|
||||
dnl Warn about large stack frames, including estimates for alloca
|
||||
dnl and variable length arrays.
|
||||
|
||||
Reference in New Issue
Block a user