mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 23:39:08 +02:00
LCL: raise an error if compiled with old fpc < 2.4.2
git-svn-id: trunk@32319 -
This commit is contained in:
parent
e3087421fb
commit
1ae034db2b
@ -22,14 +22,14 @@
|
|||||||
}
|
}
|
||||||
unit LCLVersion;
|
unit LCLVersion;
|
||||||
|
|
||||||
{ At least 2.4.0 is required, except for wince which supports fpc 2.2.0+ too }
|
{ At least 2.4.2 is required, except for wince which supports fpc 2.2.0+ too }
|
||||||
{$ifdef Wince}
|
{$ifdef Wince}
|
||||||
{$if defined(ver1) or (defined(ver2) and (fpc_release<2))}
|
{$if defined(ver1) or (FPC_FULLVERSION<20200)}
|
||||||
{$fatal Lazarus for WinCE requires at least FPC 2.2.0}
|
{$fatal Lazarus for WinCE requires at least FPC 2.2.0}
|
||||||
{$endif}
|
{$endif}
|
||||||
{$else}
|
{$else}
|
||||||
{$if defined(ver1) or (defined(ver2) and (fpc_release<4))}
|
{$if defined(ver1) or (FPC_FULLVERSION<20402) }
|
||||||
{$fatal Lazarus requires at least FPC 2.4.0}
|
{$fatal Lazarus requires at least FPC 2.4.2}
|
||||||
{$endif}
|
{$endif}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user