I agree - but it is over 2 million lines of code. And disabling CDECL on the windows build of my compiler/interpreter, fixed the issue.
Now, my only problem is when I run the compiler with no parameter it returns back to C:> with a trailing letter. If I trace in FPC.EXE, it does not produce this stray C:>d prompt with a Halt(0). On Sat, Sep 28, 2019 at 6:35 PM Sven Barth via fpc-devel < [email protected]> wrote: > Ozz Nixon <[email protected]> schrieb am Sa., 28. Sep. 2019, 22:53: > >> It's a CDECL thing... :-( >> >> Disabled Using_CDECL, and now the pointer passes to/from the imported >> functions. (Florian/Jonas/Michael - is this an expected issue on Windows?) >> > > It would help if you'd provide a self contained example that demonstrates > the problem. > > Regards, > Sven > >> _______________________________________________ > fpc-devel maillist - [email protected] > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel >
_______________________________________________ fpc-devel maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
