Silverfrost Forums

Welcome to our forums

Plato 4.72 compiling in reverse order

1 Jun 2016 10:24 #17531

I have a project containing about 60 modules. With previous versions of Plato, running 'Rebuild Dependencies' never seemed to put the files in a very sensible order and so I would always disallow dependency checking and force the compilation order by manually editing the .ftn95p file. In 4.72 the problem seems to have gotten even worse. With dependency checking switched on Plato has been trying to compile the files in almost exactly the opposite order in which they need to be compiled. Keeping the dependency checking switched off solves the problem, but it is rather annoying having to edit the order of all the files in the .ftn95p file.

1 Jun 2016 11:53 #17532

Can you confirm that a 'Rebuild' does not work. Makes sure that all .mod files are deleted and confirm that the compiler complains about missing modules.

3 Jun 2016 1:13 #17544

Rebuild and Build both have the same effect - they compile backwards. Deleting the .MOD files and running Clean seem to be insufficient: it seems that I have to quite Plato completely in order to get the files to recompile in the correct order again.

4 Jun 2016 6:23 #17549

I have checked this out on two projects involving modules. One project is the simplest possible case with just two files, the other is a complex project with hundreds of modules in 273 files. For me both work as designed.

If you are able to zip up a representative project and send it to me then I will check it out for you.

4 Jun 2016 9:43 #17551

I have now run a further test and it looks like there is something that needs fixing. So please wait for a further posting on this subject.

Please login to reply.