Hacker News new | past | comments | ask | show | jobs | submit login

Of course for your quoted use it's more common to see:

    #define debug(...) ((void)0)
This forces you to use debug() as a statement. If no value is defined you could omit the semicolon on a debug() statement and it still compiles.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: