[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...; ...
From: |
Graham Asher |
Subject: |
RE: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...; ...) ; " |
Date: |
Thu, 9 Oct 2008 16:28:10 +0100 |
However, the logic is correct, is it not? It looks as if the code is
checking whether all of the items in the array fulfil a condition. So it
should be fixed as originally suggested by mpsuzuki, without changing the
logic, but preventing the warning.
Graham
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Werner LEMBERG
Sent: 09 October 2008 13:28
To: address@hidden
Cc: address@hidden
Subject: [ft-devel] Re: meddlesome compiler warns against "for( ...;
...;...) ; "
> 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
_______________________________________________
Freetype-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype-devel
- [ft-devel] meddlesome compiler warns against "for( ...; ...; ...) ; ", mpsuzuki, 2008/10/09
- [ft-devel] Re: meddlesome compiler warns against "for( ...; ...; ...) ; ", Werner LEMBERG, 2008/10/09
- RE: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...; ...) ; ",
Graham Asher <=
- Re: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...;...) ; ", Werner LEMBERG, 2008/10/09
- Re: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...;...) ; ", mpsuzuki, 2008/10/09
- Re: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...;...) ; ", Werner LEMBERG, 2008/10/10
- Re: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...;...) ; ", gww, 2008/10/10
- Re: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...;...) ; ", Werner LEMBERG, 2008/10/11
- Re: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...;...) ; ", Sean McBride, 2008/10/14
- Re: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...;...) ; ", mpsuzuki, 2008/10/14
- Re: [ft-devel] Re: meddlesome compiler warns against "for( ...; ...;...) ; ", mpsuzuki, 2008/10/15
Re: [ft-devel] meddlesome compiler warns against "for( ...; ...; ...) ; ", David Turner, 2008/10/12