From 794d75f0e78715e5743f4e3ffc8d59e6ba04a484 Mon Sep 17 00:00:00 2001 From: Alexander Skidanov Date: Sun, 27 Dec 2015 18:48:38 -0800 Subject: [PATCH] abort on any error in debug build Based on the discussion in #1078. Fixed #1078. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b8f5408d3702..a0bd046fbb7a 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ CFLAGS = -DMSHADOW_FORCE_STREAM $(WARNFLAGS) # CFLAGS for debug ifeq ($(DEBUG), 1) - CFLAGS += -g -O0 + CFLAGS += -g -O0 -DDMLC_LOG_FATAL_THROW=0 else CFLAGS += -O3 endif