简单 屏蔽 assert

简介

屏蔽 assert

如何实现

Makefile 中加
CFLAGS += -DNDEBUG
或者
gcc -DNDEBUG

Hope is a good thing,maybe the best of things,and no good thing ever dies.----------- Andy Dufresne
原文地址:https://www.cnblogs.com/eat-too-much/p/11512524.html