We should check for maximum stack use (OSX only supports up to 512kB by default thread stack size)

This commit is contained in:
jsteube
2016-10-30 21:58:22 +01:00
parent 9f790d4dbd
commit 0c42be9fb9
+6
View File
@@ -123,6 +123,12 @@ CFLAGS += -ftrapv
#CFLAGS += -Wsign-conversion
#CFLAGS += -pedantic
# default linux and freebsd thread stack size is 2MB
# default windows thread stack size is 1MB
# default OSX thread stack size is 512kB
CFLAGS += -Wstack-usage=524288
LFLAGS :=
ifndef DEBUG