Am 18.01.2016 um 23:04 schrieb Simon Ameis: > Thanks for the hint! I've had declared delay_loop_1 and delay_loop_2 > just inside the implementation section. > > Maybe these points should be added to documentation for inlining?
I am against documenting this: - inline is only a hint to the compiler - the exact rules are very subtile and might differ between platforms/abi - the behaviour might change between different compiler versions So it is hard to document this precisely. IMO the only proper solution is to implement delaying as compiler intrinsics as it is done by gcc as well. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal