Am 09.05.2015 21:01 schrieb "Martin Frb" <[email protected]>: > > On 09/05/2015 19:54, Martin Frb wrote: >> >> >> It does not work for me in units. fpc trunk r30815. >> >> If I copy all the code into the main project, then it works (and I get all the hints, about inlining disabled.). >> >> But the above, stopping with the debugger, and stepping in: >> - there is on "call" instruction from "main" to "x1" >> - and then there is no further call, the body of this function already has the writeln >> yet it should have calls to the other methods. >> > Ah, it seems to work, if I put the directive after the "interface" line. > > Is that documented? Or is that unexpected?
I'd say that's unexpected. Regards, Sven
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
