[fpc-devel] Wrong debug info when using clang backend

Adriaan van Os adriaan at adriaan.biz
Thu Dec 14 08:41:54 CET 2023


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


More information about the fpc-devel mailing list