[fpc-devel]I suggest a new FPC feature

Peter Vreman peter at freepascal.org
Fri Oct 12 11:13:52 CEST 2001


> Hello, Pierre,
> >   Thus I would simply suggest to refuse cdecl for method,
> >popstack would still be accepted and has the same effect as
> >cdecl for the calling convention.
> I think, automatical replacing cdecl to cppdecl for methods would be a best solution

Implicit changing of meaning should always be avoided if possible. Since cppdecl is not
working the exact meaning can differ from cdecl. And the solution in your example is
simple, just use cppdecl for methods instead of cdecl







More information about the fpc-devel mailing list