Re: Replacement of "#if 0" by "if (0)" blocks

2010-05-30 Thread James McKenzie
Frédéric Delanoy wrote: Hi folks, after seeing aafef7cdd56e488d2f42eb01190e51ce6148b664 (Use if(0) instead of #if 0 to make sure code still compiles), IMHO, except special cases (like maybe in headers files), those '#if 0' have no advantages compared to "if (0)" (besides being highlighted in vim

Replacement of "#if 0" by "if (0)" blocks

2010-05-30 Thread Frédéric Delanoy
Hi folks, after seeing aafef7cdd56e488d2f42eb01190e51ce6148b664 (Use if(0) instead of #if 0 to make sure code still compiles), IMHO, except special cases (like maybe in headers files), those '#if 0' have no advantages compared to "if (0)" (besides being highlighted in vim), because they may induce