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?
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to