[fpc-devel] {$calling register} compiler-directive at wrong place (bug 12881)
Daniël Mantione
daniel.mantione at freepascal.org
Sun Jan 11 22:09:36 CET 2009
Op Sun, 11 Jan 2009, schreef Joost van der Sluis:
> {$calling cdecl}
> ...
> procedure fftw_execute(plan:fftw_plan_single);
> external 'fftw3f' name 'fftwf_execute'; // <-- register
> {$calling register}
>
> How can that happen?
It may have to do something with the proceduren not being processed
immedeatelym, after which the preprocessor may have already set the
calling convention to register. It sounds like a serious bug.
Daniël
More information about the fpc-devel
mailing list