06/02/07 17:46:44
>>121
俺はこうかと思ってた。
デバッグ時
DBGPRINTF("line:%d", __LINE__);
↓
製品(DBGPRINTFをundefして空マクロに)
("line:%d", __LINE__);
するとこんなWarningが。
"c:\BREW_SDK\311463~1.2_J\sdk\examples\HELLOW~1\HELLOW~1.c", line 103: Warning: C2917W: no side effect in void context: '"line:%d"'
"c:\BREW_SDK\311463~1.2_J\sdk\examples\HELLOW~1\HELLOW~1.c", line 103: Warning: C2917W: no side effect in void context: '<integer constant>'
ここらがバイナリでちゃんと削られてるのか? ってことかと。