FS#9779 - rework of assert
Opened by Yoshihisa Uchida (Uchida) - Sunday, 11 January 2009, 04:01 GMT
Building Rockbox fails if assert() (in firmware/include/assert.h) is used.
Then, I reworked assert.h.
When assert() failed, the correction that displayed the file name, the number of lines, and the condition of failing was done.
Moreover, when the log was enabled, the log was output to the file.
Please select the following to make assert() enabled when you make Rockbox.
1) Run tools/configure
2) Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, ...
3) (D)EBUG, (L)ogf, (A)ssert, (S)imulator, (P)rofile, (V)oice