> Hi, > > I'm trying to reduce the number of recompilation needed of units. > Currently compiler very often recompiles due to possibility of changed > inlined functions being present. Attached patch tries store this info in > ppu (whether inlined functions are present). Is this a good patch ? > > Btw, question: is po_inline set for a pd's procoptions when > optimizations are disabled (so functions are not inlined anyway, I > assume?)
This is not correct. Also other things like calling conventions can change in delphi mode. In ppu.pas at line 33 you can enable {$define INTFPPU} then a ppu.intf will be generated that contains the info from the interface only. A rewrite of the unit handling is planned, but that will be a 2.3 todo. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel