From bf5fd112bcfdafa9050c1fcd88aaa29cff0f34d4 Mon Sep 17 00:00:00 2001 From: Joerg Mayer Date: Thu, 13 Apr 2017 16:34:49 +0200 Subject: Functions that put large amounts of static data onto the stack may be worth looking at every now and then. The value of 16384 is the same as the default in VS. Change-Id: I68fd51e373437088f59c1e197d1a889f856caded Reviewed-on: https://code.wireshark.org/review/21030 Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index bafcd59750..16459bf5cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -414,6 +414,10 @@ else() -Wno-overlength-strings -Wno-long-long -Wheader-guard + # + # Code that may be worth looking into (coding practices) + # + -Wframe-larger-than=16384 ) set(C_WARN_FLAGS -- cgit v1.2.1