Can't take the address of constant expressions (Regression)
Original Reporter info from Mantis: ocean
-
Reporter name:
Original Reporter info from Mantis: ocean
- Reporter name:
Description:
Attached unit fails to compile, Windows.
c:>fpc test.pp
Free Pascal Compiler version 2.7.1 [2014/11/14] for x86_64
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Win64 for x64
Compiling test.pp
test.pp(24,3) Warning: Variable "tst" does not seem to be initialized
test.pp(24,10) Error: Can't take the address of constant expressions
test.pp(25,4) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: c:\pp\bin\x86_64-win64\ppcx64.exe returned an error exitcode
Bad rev 28995
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=28995