[fpc-devel] weak referencing (was Suggestion:.....)
DrDiettrich1 at aol.com
Mon Sep 22 14:29:09 CEST 2014
Marco van de Voort schrieb:
> (to Sven)
> So the cycle break mechanism is going to be marking potential cycle cases
> as weak.
> Do you still plan to at least detect cycles for debugging purposes?
> Or is the cycle detection itself already too hard?
> IOW I'm wondering what will happen (and what to do) if there is a cycle in a
> sufficiently complex program.
I could imagine a tool for that purpose, instead of burdening the
compiler with such rarely used functionality. More diagnostics could be
removed from the compiler, like the detection of unused local variables
or units - if that helps to speed up compilation. Separate diagnostic
tools could immediately offer means to solve the detected problems
interactively, what's not the purpose of an compiler.
More information about the fpc-devel