"Recursive build"
"Recursive build"
The compiler objects to accessing procedures from unit "A" from unit "B", and at the same time, accessing other, unrelated procedures in unit "B" from unit "A". The error message is "recursive build is not allowed". This is a nuisance. Sometimes you have different hardware access libraries in different units, and it's most effective to organize things this way. There's nothing recursive about it; you sometimes simply need to access one of the procedures from "A in "B", and in a different procedure in "B", need to access an unrelated procedure in "A". It should be possible to have cross references in the uses clause, without referring to anything recursively.
If you know what you're doing, you're not learning anything.
Re: "Recursive build"
True.LGR wrote:The compiler objects to accessing procedures from unit "A" from unit "B", and at the same time, accessing other, unrelated procedures in unit "B" from unit "A". The error message is "recursive build is not allowed". This is a nuisance. Sometimes you have different hardware access libraries in different units, and it's most effective to organize things this way. There's nothing recursive about it; you sometimes simply need to access one of the procedures from "A in "B", and in a different procedure in "B", need to access an unrelated procedure in "A". It should be possible to have cross references in the uses clause, without referring to anything recursively.
You can circumvent this by using "external" declarations, see http://www.rosseeld.be/DRO/PIC/Make_Process.pdf, section "External References".
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Re: "Recursive build"
Thank you. That document is excellent.
If you know what you're doing, you're not learning anything.