Error with compiler option -gt in Win64 and currency local variable
Original Reporter info from Mantis: Petr-K
-
Reporter name:
Original Reporter info from Mantis: Petr-K
- Reporter name:
Description:
If I use local variable type currency and compile it by "ppcx64 -gt" in Win64, then I get error.
Example program:
procedure test;
var c: currency;
begin
end;
begin
end.
M:\test>ppcx64.exe -gt o.pas
Free Pascal Compiler version 2.7.1 [2012/08/03] for x86_64
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Win64 for x64
Compiling o.pas
o.pas(2,5) Note: Local variable "c" not used
o.pas(3,1) Warning: Local variable "c" does not seem to be initialized
o.pas(3,1) Error: Variable identifier expected
o.pas(8) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Without -gt option compilation is ok.
Mantis conversion info:
- Mantis ID: 22561
- OS Build: WinXP 64
- Build: trunk - SVN Revision 22000
- Platform: Win64
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 22014 (#3c1b82f9)