[fpc-pascal] Regression in 3.2.0 ??

Sven Barth pascaldragon at googlemail.com
Wed Aug 19 11:12:44 CEST 2020


Peter via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am Mi., 19.
Aug. 2020, 08:17:

> Has anyone any ideas to fix it?   It compiles if I change stdcall to
> CDecl, but I have no idea if that is a valid fix.
> (More info; see bug 37566)
>

Using the same ifdef as in the interface is the correct fix. The compiler
now more strictly ensures that the directives of the implementation match
the one in the interface (in this case cdecl (which is the default on
non-Windows) vs. stdcall). This should probably be mentioned in the User
Changes of 3.2.0...

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200819/9cbe1028/attachment.htm>


More information about the fpc-pascal mailing list