View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0038718 | FPC | Compiler | public | 2021-04-07 18:36 | 2021-04-09 22:39 |
Reporter | Ondrej Pokorny | Assigned To | Florian | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | arm-linux | OS | Raspberry Pi | ||
Product Version | 3.3.1 | ||||
Fixed in Version | 3.3.1 | ||||
Summary | 0038718: Wrong hint when Currency is divided with an Integer | ||||
Description | "Hint: Use DIV instead to get an integer result" is shown by the compiler when you do C := C / D; for C: Currency; D: Integer; | ||||
Steps To Reproduce | program CurrencyTest; {$mode objfpc}{$H+} var C: Currency; D: Integer; begin C := 1234.56; D := 2; C := C / D; // Hint: Use DIV instead to get an integer result Writeln(C); end. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 49154 | ||||
FPCOldBugId | |||||
FPCTarget | - | ||||
Attached Files |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-04-07 18:36 | Ondrej Pokorny | New Issue | |
2021-04-09 22:39 | Florian | Assigned To | => Florian |
2021-04-09 22:39 | Florian | Status | new => resolved |
2021-04-09 22:39 | Florian | Resolution | open => fixed |
2021-04-09 22:39 | Florian | Fixed in Version | => 3.3.1 |
2021-04-09 22:39 | Florian | Fixed in Revision | => 49154 |
2021-04-09 22:39 | Florian | FPCTarget | => - |