Decrease maximum stack frame size while we can

This commit is contained in:
Alexey Milovidov 2020-06-08 23:00:17 +03:00
parent ff21fefb4d
commit 48e48a1e09

View File

@ -21,7 +21,7 @@ endif ()
option (WEVERYTHING "Enables -Weverything option with some exceptions. This is intended for exploration of new compiler warnings that may be found to be useful. Only makes sense for clang." ON)
# Control maximum size of stack frames. It can be important if the code is run in fibers with small stack size.
add_warning(frame-larger-than=32768)
add_warning(frame-larger-than=16384)
if (COMPILER_CLANG)
add_warning(pedantic)