[fpc-pascal] Fwd: Understanding error messages in static linking

2024-10-31 Thread Thomas Kurz via fpc-pascal
I'm trying to post this message again. I got no responses in August, maybe I have better luck now :)) - Original Message - From: Thomas Kurz via fpc-pascal To: FPC-Pascal users discussions Sent: Tuesday, August 20, 2024, 18:16:05 Subject: [fpc-pascal] Understanding error messages in

Re: [fpc-pascal] Generic type helper

2024-10-31 Thread Sven Barth via fpc-pascal
Thomas Kurz via fpc-pascal schrieb am Do., 31. Okt. 2024, 18:36: > a quick question: how do I define a generic type helper? > You don't. FPC doesn't support them yet. Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://li

Re: [fpc-pascal] Understanding error messages in static linking

2024-10-31 Thread Sven Barth via fpc-pascal
Thomas Kurz via fpc-pascal schrieb am Di., 20. Aug. 2024, 18:16: > And this is the point where I'm completely stuck. Is there anything I can > try or is it just impossible to create an .exe which doesn't depend need > the libcrypto DLL? > > Please, I don't want to discuss the pros and cons about

[fpc-pascal] Generic type helper

2024-10-31 Thread Thomas Kurz via fpc-pascal
Hello, a quick question: how do I define a generic type helper? Example: type generic TArray = array of T; type generic TArrayHelper = type helper for TArray function Count: Cardinal; function Contains (AItem: T): Boolean; end; This doesn't work, but I don't know how to do it properly. Tha