由于flash 空间不够用的原因,我们计划取消正式发布工程中的assert校验功能,我想知道这样会有什么较大的风险么?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
完全没有问题,assert本身就是供调试时使用的。
这个帖子供参考,release时,assert基本上就不参加编译了。