On 2015-08-26 00:26, Bart wrote:
What is the value of $FPC_FULLVERSION in this RC?
See revision 49401 and associated bugreport
http://bugs.freepascal.org/view.php?id=27754
Does it work if you change all {$IF FPC_FULLVERSION >= 30001}
into {$IF FPC_FULLVERSION >= 30000} in lresources.pp?
program Project1;
{$mode objfpc}{$H+}
begin
{$IF FPC_FULLVERSION = 30000}
writeln('3.0.0');
{$ELSE}
{$IF FPC_FULLVERSION = 30001}
writeln('3.0.1');
{$ELSE}
{$IF FPC_FULLVERSION > 30001}
writeln('3.0.?');
{$ENDIF}
{$ENDIF}
{$ENDIF}
end.
This program yields:
torsten@Rainier:~/tmp$ ./project1
3.0.0
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus