[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New warning from compiler about loop variables


On 9/29/26 08:30, Lee wrote:
On 9/29/26 11:17 AM, Jussi Lahtinen wrote:
Ah, of course. You are right, it should give a warning. Or not allow to declare the variable again.

Or actually make the variable local to the loop and give a warning about it being shadowed.


I am attaching a little video to show i i think it happens so often

I am getting about 10 warning for apps...lol

--
~~~~ Brian

Attachment: howithappens.mp4
Description: video/mp4

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Follow-Ups:
Re: New warning from compiler about loop variablesLee <t.lee.davidson@xxxxxxxxx>
References:
New warning from compiler about loop variablesBrian G <brian@xxxxxxxxxxxxxxxx>
Re: New warning from compiler about loop variablesLee <t.lee.davidson@xxxxxxxxx>
Re: New warning from compiler about loop variablesBB <adamnt42@xxxxxxxxx>
Re: New warning from compiler about loop variablesJussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
Re: New warning from compiler about loop variablesbrian <brian@xxxxxxxxxxxxxxxx>
Re: New warning from compiler about loop variablesJussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
Re: New warning from compiler about loop variablesLee <t.lee.davidson@xxxxxxxxx>