Show quoted text 10 lines
I get a "Threading has been used before cthreads was initialized." crash for a simple program
program test;
uses cthreads;
begin
writeln( 'Hello')
end.
on macos 14.2.1 with a fpc 3.3.1-14334-g5205ce30f4 snapshot, but the crash only occurs with mode
-Mmacpas (which I assumes implicitely uses some unit that causes the issue).
-Mmacpas adds macpas.pas, which uses math.pas and throught that sysutils.pas. But, looking at the RTL source code, I don't see anything that explains why the problem should be aarch64 (or aarch64-darwin) specific ....
Regards,
Adriaan van Os
