[libvirt PATCH 8/8] build: lower maximum frame size to 1792

Ján Tomko jtomko at redhat.com
Sun Oct 4 22:21:45 UTC 2020


This number is the closest multiple of 100000000
above the largest frame value reported by clang
in the current codebase.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 meson.build | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/meson.build b/meson.build
index a5ce8e17a8..8bef701f67 100644
--- a/meson.build
+++ b/meson.build
@@ -419,10 +419,9 @@ cc_flags += [
   # but need to rewrite various areas of code first
   '-Wno-format-truncation',
 
-  # This should be < 256 really. Currently we're down to 4096,
-  # but using 1024 bytes sized buffers (mostly for virStrerror)
-  # stops us from going down further
-  '-Wframe-larger-than=4096',
+  # This should be < 256 really.
+  # Using 1024 bytes sized buffers stops us from going down further
+  '-Wframe-larger-than=1792',
 
   # extra special flags
   '-fexceptions',
-- 
2.26.2




More information about the libvir-list mailing list