Re: [fpc-devel] compiler has problem finding right function: IfThen (Math vs. StrUtils)

2021-01-05 Thread Werner Pamler via fpc-devel
Am 05.01.2021 um 08:55 schrieb Pascal Riekenberg via fpc-devel: Since i updated my local fpc trunk some of my programs do not compile anymore. Version from before christmas was okay. The compiler can't find the function "IfThen(AValue: Boolean; const ATrue: string; const AFalse: string):

[fpc-devel] Generics-related compilation issue

2021-01-04 Thread Werner Pamler via fpc-devel
A happy, successful and healthy New Year to everybody! I have a generics related compilation issue in my package ExCtrls package (https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/exctrls/). This package contains a TCurrencySpinEditEx component which inherits from the

[fpc-devel] Building a debug version of FPC-main on Windows

2021-08-23 Thread Werner Pamler via fpc-devel
I am using the following script to build a debug version of FPC-main on Windows: set BINUTILS_DIR=C:\Lazarus\fpc_bootstrap_compiler\3.2.2\i386-win32 set BOOTSTRAP_COMPILER=%BINUTILS_DIR%\ppc386.exe set FPC_DEST_DIR=c:\Lazarus\fpc-main set BIN_DIR=bin\i386-win32 set

Re: [fpc-devel] Building trunk of today fails on Windows: Error: Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size

2021-08-23 Thread Werner Pamler via fpc-devel
Am 23.08.2021 um 11:52 schrieb Bart via fpc-devel: Does anybody have a common.dll in \windows\system32 at all? I don't have it, neither in system32 nor in SysWOW64. Just pulled the current revision of fpc-trunk, and did not observe this error (Win 10, fpc3.2.2 32-bit bootstrap compiler)

Re: [fpc-devel] Building a debug version of FPC-main on Windows

2021-08-24 Thread Werner Pamler via fpc-devel
Am 23.08.2021 um 18:14 schrieb Marco van de Voort via fpc-devel: [...] I notice is that you point lazarus to the ppu's in the FPC source tree [...] Sorry, I don't understand: There is no Lazarus involved in my build script. If there is, show me the line and how you would modify it.

Re: [fpc-devel] Building a debug version of FPC-main on Windows

2021-08-28 Thread Werner Pamler via fpc-devel
Am 25.08.2021 um 20:53 schrieb Marco van de Voort via fpc-devel: Sorry. I'm on holiday, and I only check in occasionally at night. Try changing PP= to FPC= Thank you, Marco. Now I did already the second successful build of a older clone after an update. This really was the solution. But what is

Re: [fpc-devel] Building a debug version of FPC-main on Windows

2021-08-23 Thread Werner Pamler via fpc-devel
Am 23.08.2021 um 14:06 schrieb Marco van de Voort via fpc-devel: Op 8/23/2021 om 1:36 PM schreef Werner Pamler via fpc-devel: make install all OPT=%OPTIONS% INSTALL_PREFIX=%FPC_DEST_DIR% PP=%BOOTSTRAP_COMPILER% Shouldn't this (install all) be the other way around? Classically one builds

Re: [fpc-devel] Lazarus server back online

2021-12-31 Thread Werner Pamler via fpc-devel
https://forum.lazarus.freepascal.org/index.php/topic,57621.msg428799.html#msg428799 --> the issue occured already on Dec 24. https://forum.lazarus.freepascal.org/index.php/topic,57611.msg428693.html#msg428693 --> the issue did not yet exist on Dec 23.

Re: [fpc-devel] Overloading problem in generic class.

2022-09-18 Thread Werner Pamler via fpc-devel
Am 18.09.2022 um 14:04 schrieb Bart via fpc-devel: Werner reported that it does not compile on MacOS (64 bit) with fpc 3.3.1. Sorry if I was not precise here: I only tested with fpc 3.2.0. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] TDateTime issue.

2024-04-01 Thread Werner Pamler via fpc-devel
Am 01.04.2024 um 16:19 schrieb Marco van de Voort via fpc-devel: Op 01/04/2024 om 12:30 schreef Werner Pamler via fpc-devel: Am 31.03.2024 um 11:55 schrieb Pascal Pype via fpc-devel: There seems to be a bug in the TDateTime data type. When the time difference between two TDateTime variables

Re: [fpc-devel] TDateTime issue.

2024-04-01 Thread Werner Pamler via fpc-devel
Am 31.03.2024 um 11:55 schrieb Pascal Pype via fpc-devel: There seems to be a bug in the TDateTime data type. When the time difference between two TDateTime variables is just one millisecond, the compareDateTime function returns 0 (equality) rather than the expected -1 or 1 (different). It is

Re: [fpc-devel] TDateTime issue.

2024-04-01 Thread Werner Pamler via fpc-devel
Am 01.04.2024 um 16:19 schrieb Marco van de Voort via fpc-devel: Op 01/04/2024 om 12:30 schreef Werner Pamler via fpc-devel: Am 31.03.2024 um 11:55 schrieb Pascal Pype via fpc-devel: There seems to be a bug in the TDateTime data type. When the time difference between two TDateTime variables