Hacker News new | ask | show | jobs
by akuma73 2700 days ago
Good answer here: https://stackoverflow.com/questions/257418/do-while-0-what-i...
1 comments

Just to add more context, this is a very common cpp (c pre-processor) idiom. You'll find it in most non-trivial C projects somewhere.
Abbreviating the C Preprocessor as cpp is very confusing imho.
It's a common abbreviation older than C++. You used to even be able to run the c pre processor on arbitrary non-C files by using the cpp command.
You still can.
Tell that to CPPFLAGS.