[fpc-devel] Error: Procedure/Function declared with call option NOSTACKFRAME but without ASSEMBLER
Martin Frb
lazarus at mfriebe.de
Thu Mar 20 20:09:12 CET 2025
It is possible to declare a type for a cdecl function like
type a=procedure cdecl;
But, not for "assembler" which makes sense, because its not a calling
convention. Same should likely be the case for NoStackframe.
But
program Project1;
type a=procedure {assembler} NoStackFrame ;
begin
end.
gives a different error?
Should it?
More information about the fpc-devel
mailing list