This question is not bound to any specific compiler warning, the following is just an example.
Currently when I want a loop that checks an exit condition inside:
Do some funny token pasting: if you can swap
while(true)
for
While(true)
then just do the following:
#define while_true for( ;; ) #define While(a) while_##a