View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0038310 | FPC | Compiler | public | 2021-01-05 13:07 | 2021-01-06 09:04 |
Reporter | Pascal Riekenberg | Assigned To | Sven Barth | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | i386 | OS | Windows 10 x64 | ||
Product Version | 3.3.1 | ||||
Fixed in Version | 3.3.1 | ||||
Summary | 0038310: r48002 breaks determination of overloaded functions: IfThen (Math vs. StrUtils) | ||||
Description | Attached project does not compile after r48002. | ||||
Steps To Reproduce | Compile attched project. Compilation can be fixed by either moving the StrUtils unit to the end of the uses clause or by qualifying the IfThen function with the unit name (StrUtils). | ||||
Additional Information | SQLGenerator.pas(294,9) Error: Incompatible type for arg no. 3: Got "Char", expected "Double" math.pp(2523,10) Hint: Found declaration: IfThen(Boolean;const Double;const Double=` 0.00000000000000000000E+0000`):Double; math.pp(2518,10) Hint: Found declaration: IfThen(Boolean;const Int64;const Int64=`0`):Int64; math.pp(2513,10) Hint: Found declaration: IfThen(Boolean;const LongInt;const LongInt=`0`):LongInt; SQLGenerator.pas(299,9) Error: Incompatible type for arg no. 3: Got "Constant String", expected "Double" math.pp(2523,10) Hint: Found declaration: IfThen(Boolean;const Double;const Double=` 0.00000000000000000000E+0000`):Double; math.pp(2518,10) Hint: Found declaration: IfThen(Boolean;const Int64;const Int64=`0`):Int64; math.pp(2513,10) Hint: Found declaration: IfThen(Boolean;const LongInt;const LongInt=`0`):LongInt; SQLGenerator.pas(305,7) Error: Incompatible type for arg no. 3: Got "Constant String", expected "Double" math.pp(2523,10) Hint: Found declaration: IfThen(Boolean;const Double;const Double=` 0.00000000000000000000E+0000`):Double; math.pp(2518,10) Hint: Found declaration: IfThen(Boolean;const Int64;const Int64=`0`):Int64; math.pp(2513,10) Hint: Found declaration: IfThen(Boolean;const LongInt;const LongInt=`0`):LongInt; SQLGenerator.pas(442,60) Error: Incompatible type for arg no. 3: Got "Constant String", expected "Double" math.pp(2523,10) Hint: Found declaration: IfThen(Boolean;const Double;const Double=` 0.00000000000000000000E+0000`):Double; math.pp(2518,10) Hint: Found declaration: IfThen(Boolean;const Int64;const Int64=`0`):Int64; math.pp(2513,10) Hint: Found declaration: IfThen(Boolean;const LongInt;const LongInt=`0`):LongInt; | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 48088 | ||||
FPCOldBugId | |||||
FPCTarget | - | ||||
Attached Files |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-01-05 13:07 | Pascal Riekenberg | New Issue | |
2021-01-05 13:07 | Pascal Riekenberg | File Added: project1.zip | |
2021-01-05 21:59 | Sven Barth | Assigned To | => Sven Barth |
2021-01-05 21:59 | Sven Barth | Status | new => resolved |
2021-01-05 21:59 | Sven Barth | Resolution | open => fixed |
2021-01-05 21:59 | Sven Barth | Fixed in Version | => 3.3.1 |
2021-01-05 21:59 | Sven Barth | Fixed in Revision | => 48088 |
2021-01-05 21:59 | Sven Barth | FPCTarget | => - |
2021-01-05 21:59 | Sven Barth | Note Added: 0128104 | |
2021-01-06 09:04 | Pascal Riekenberg | Status | resolved => closed |
2021-01-06 09:04 | Pascal Riekenberg | Note Added: 0128117 |