Re: [fpc-devel] Pure function development discussion

2018-08-11 Thread J. Gareth Moreton
I'm still figuring bits and pieces out, but I've managed to change the checks so the error that I listed in the last e-mail only appears for forward-declared functions, not interface + implementation, since I believe everything gets fully defined by the time the first pass comes along.  I'm still

[fpc-devel] Pure function development discussion

2018-08-11 Thread J. Gareth Moreton
Hi everyone.  The development of pure function support is going well, along with catching error cases.  Thanks to some discussion from Sven, the compiler will now detect if you reference a function before defining it as "pure", so cases where it's defined as "forward" are trapped as errors so as

Re: [fpc-devel] Adapting MakeFile to make subfolders for targets with sub architectures

2018-08-11 Thread Christo
On Mon, 2018-08-06 at 13:44 +0200, Joost van der Sluis wrote: > Op 06-08-18 om 07:32 schreef Christo: > > > > * In fpmkunit.pp: > >    * add support for new command line options subarch and abi > >    * include subarch and abi in MakeTargetString function > I did not have a look at your patch.