FS#9779 - rework of assert

Attached to Project: Rockbox
Opened by Yoshihisa Uchida (Uchida) - Sunday, 11 January 2009, 04:01 GMT
Task Type Patches
Category Build environment
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


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, ...
Select "A"

3) (D)EBUG, (L)ogf, (A)ssert, (S)imulator, (P)rofile, (V)oice
Select "A"

4) make
This task depends upon

Comment by Yoshihisa Uchida (Uchida) - Wednesday, 17 February 2010, 10:26 GMT
patch updates.

-sync r24717