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

2021-01-04 Thread 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): string;" of StrUtils. Instead it only seems to see the functions in

Re: [fpc-devel] Generics-related compilation issue

2021-01-04 Thread Bart via fpc-devel
On Mon, Jan 4, 2021 at 11:00 PM Bart wrote: > So, most likely this has nothing to do with generics? > I'm using r47193 of fpc trunk Try to compile attached program for Win64-bit with either 3.2.0 or trunk: Free Pascal Compiler version 3.2.0 [2020/06/04] for x86_64 Copyright (c) 1993-2020 by

Re: [fpc-devel] Generics-related compilation issue

2021-01-04 Thread Bart via fpc-devel
On Mon, Jan 4, 2021 at 5:13 PM Bart wrote: > > > What is strange to me is that the compilation issue does not happen with > > the LazControls package alone, but only when ExCtrls package is added. > > Moreover, the problem occurs only on 64bit, not on 32 bit. (I am on Windows) 64-bit Windows:

Re: [fpc-devel] Difficulty building i386-win32

2021-01-04 Thread Florian Klämpfl via fpc-devel
> Am 04.01.2021 um 11:34 schrieb J. Gareth Moreton via fpc-devel > : > > Hi everyone, > > I'm having a bit of difficulty building i386-win32 from my win64 workstation > (building under -CriotR -O4 because of my work on optimisation): > > [ 43%] Compiled package fv > Start compiling package

Re: [fpc-devel] Difficulty building i386-win32

2021-01-04 Thread J. Gareth Moreton via fpc-devel
Ah, thank you Florian. Gareth aka. Kit On 04/01/2021 11:49, Florian Klämpfl via fpc-devel wrote: Am 04.01.2021 um 11:34 schrieb J. Gareth Moreton via fpc-devel : Hi everyone, I'm having a bit of difficulty building i386-win32 from my win64 workstation (building under -CriotR -O4 because

[fpc-devel] Difficulty building i386-win32

2021-01-04 Thread J. Gareth Moreton via fpc-devel
Hi everyone, I'm having a bit of difficulty building i386-win32 from my win64 workstation (building under -CriotR -O4 because of my work on optimisation): [ 43%] Compiled package fv Start compiling package gdbint for target i386-win32. File libgdb.a not found Warning: Unable to determine the

[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

Re: [fpc-devel] Generics-related compilation issue

2021-01-04 Thread Bart via fpc-devel
On Mon, Jan 4, 2021 at 12:57 PM Werner Pamler via fpc-devel wrote: > What is strange to me is that the compilation issue does not happen with > the LazControls package alone, but only when ExCtrls package is added. > Moreover, the problem occurs only on 64bit, not on 32 bit. (I am on Windows)