简单 屏蔽 assert

简介

屏蔽 assertgcc

如何实现

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

相关文章
相关标签/搜索