exception on DateTime convert functions (linux, arm, 2.1.4)
Original Reporter info from Mantis: Alex_Lutovinin
-
Reporter name:
Original Reporter info from Mantis: Alex_Lutovinin
- Reporter name:
Description:
Hello !
Any call of convertin TDateTime to string (DateTimeToString, FormatDateTime)
causes exception EAccessViolation.
The effect is found out at the compiler (and RTL) version 2.1.4 for ARM.
For the version 2.0.4 the mistake is absent.
test.pp:
uses SysUtils;
var S: String;
begin
Writeln('hello');
S:= DateTimeToStr(1); // or FormatDateTime()
Writeln('good bye');
Writeln(S);
end.
On run:
hello
An unhandled exception occured at $BE8A5BE0 :
EAccessViolation : Access violation
Mantis conversion info:
- Mantis ID: 9080
- Fixed in version: 2.2.0
- Fixed in revision: 8044 (#7113e98f)