Jonas Maebe via fpc-devel wrote:

I'd rather not introduce directives that are specific to clang, and especially none only apply to the next loop. We don't have a single directive yet that works like this.

The latter is a good point and that's why I would suggest to make their Pascal equivalents valid, not for the next for-loop, but until-otherwise. Then, a loop can be explicitely targeted with {$push ...} and {$pop}.

Regards,

Adriaan van Os
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to