From: Yoshisato Yanagisawa Date: Tue, 7 Feb 2017 06:47:51 +0000 (+0900) Subject: DCHECK_ALWAYS_ON to make D* enabled under NDEBUG X-Git-Tag: accepted/tizen/5.0/unified/20181102.024921~48^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=027332ffac8078c28f765889d8414376e44ab0d1;hp=027332ffac8078c28f765889d8414376e44ab0d1;p=platform%2Fupstream%2Fglog.git DCHECK_ALWAYS_ON to make D* enabled under NDEBUG The macro NDEBUG could be automatically defined for release build on some build environments (e.g. MSVC). If we use NDEBUG as a key to distinguish using DCHECK as CHECK (I call this DCHECK is enabled) or not, we cannot make DCHECK enabled for release build on such environments. Considering people use a program with glog for presubmit testing or dogfooding, they should need to do release build with DCHECK enabled. ---