簡單 屏蔽 assert

簡介

屏蔽 assertgcc

如何實現

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

相關文章
相關標籤/搜索