Is there any way I can create a custom error message that displays as a reminder to myself and other colleagues that there is unfinished code in the app, if they try and do a release build?

Thanks for any help.

有帮助吗?

解决方案

How about:

#ifndef DEBUG
#error Don't release this
#endif
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top