|
From: | Werner LEMBERG |
Subject: | [ft-devel] Re: meddlesome compiler warns against "for( ...; ...; ...) ; " |
Date: | Thu, 09 Oct 2008 14:28:05 +0200 (CEST) |
> During the play with legacy CodeWarrior and MPW, I found > these legacy C compilers warn the coding style like > > for ( i = 0 ; i < N ; i++ ) ; > ... > > They guess ";" is a mistake (by the author) and > the procedure ... is expected (by the author) to be looped. Of course it's a mistake! Please fix it as you prefer. Werner
[Prev in Thread] | Current Thread | [Next in Thread] |