Re: [fpc-pascal] InterlockedExchangeAdd64

2025-01-10 Thread Adriaan van Os via fpc-pascal
Sven Barth via fpc-pascal wrote: Am 10.01.2025 um 15:43 schrieb Adriaan van Os via fpc-pascal: I have an arm64 (aarch64) test program on MacOS that calls InterlockedExchangeAdd64 with a target variable that is not 8-byte aligned. Running the test program emits "EBusError: Bus error or misali

Re: [fpc-pascal] How to read the 'a_quick_guide_to_fpgui.ipf'

2025-01-10 Thread M B via fpc-pascal
Yes, thank you. I found out about wipfc. Unfortunately the quick_quide seems partly unimplemented. But there are lots of examples and other docs, so. it's good anyway. Regard Mikael Backman Den lör 11 jan. 2025 kl 01:23 skrev Andrew Haines via fpc-pascal < fpc-pascal@lists.freepascal.org>: > > O

Re: [fpc-pascal] How to read the 'a_quick_guide_to_fpgui.ipf'

2025-01-10 Thread Andrew Haines via fpc-pascal
On 1/8/25 12:02 PM, M B via fpc-pascal wrote: I have googled for a reader for this format but can't find one. I found a web page claiming to read this format but it didn't work. Am I misunderstanding something? The file is under /docs/quick_guide  in the repository. for fpGUI on github. ipf

Re: [fpc-pascal] InterlockedExchangeAdd64

2025-01-10 Thread Sven Barth via fpc-pascal
Am 10.01.2025 um 15:43 schrieb Adriaan van Os via fpc-pascal: I have an arm64 (aarch64) test program on MacOS that calls InterlockedExchangeAdd64 with a target variable that is not 8-byte aligned. Running the test program emits "EBusError: Bus error or misaligned data access". So far so goo

Re: [fpc-pascal] InterlockedExchangeAdd64

2025-01-10 Thread Adriaan van Os via fpc-pascal
Is this really a bug? This depends on what you do in your ErrorProc implementation, doesn't it? Do a writeln the runtime number and break. But normally, a bus error, doesn't call into System.ErrorProc. Regards, Adriaan van Os ___ fpc-pascal mai

Re: [fpc-pascal] InterlockedExchangeAdd64

2025-01-10 Thread Tomas Hajny via fpc-pascal
On 2025-01-10 15:43, Adriaan van Os via fpc-pascal wrote: I have an arm64 (aarch64) test program on MacOS that calls InterlockedExchangeAdd64 with a target variable that is not 8-byte aligned. Running the test program emits "EBusError: Bus error or misaligned data access". So far so good. But n

[fpc-pascal] InterlockedExchangeAdd64

2025-01-10 Thread Adriaan van Os via fpc-pascal
I have an arm64 (aarch64) test program on MacOS that calls InterlockedExchangeAdd64 with a target variable that is not 8-byte aligned. Running the test program emits "EBusError: Bus error or misaligned data access". So far so good. But now I install a system.ErrorProc and run the same progr