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