I'm trying to build a release (as opposed to debug) and I get a number of errors regarding the assert macro.
using the following settings:
build target: release
build command: make -j 2
I get a number of warnings like this: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration]
and then: undefined reference to `assert'
What is the approach to fix this? Do I need to write my own assert macro? or am I missing some flags in the Makefile?
Go to Solution.
You can use release build for compiling XDK template applications. Please follow the following steps,
See release_build.PNG screenshot for more details. Make sure you do not alter any other project properties.