[Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

Sven Barth pascaldragon at googlemail.com
Tue Feb 28 10:15:55 CET 2012


Am 28.02.2012 08:14, schrieb Michael Schnell:
> On 02/28/2012 12:00 AM, Hans-Peter Diettrich wrote:
>> a stable D7 compatible version/branch is required,
> IMHO a compiler switch (Lazarus Project menu option) should be provided
> ("D7 compatibility" or "non-Unicode" or something like this)
>
> There are decent projects for which a user interface is of little or no
> importance. Here it should be possible to prevent including all the RTL
> (and LCL) code necessary for Unicode.

A switch in the Project options won't help you here, because switching 
String from AnsiString to UnicodeString (or back) would basically mean 
to recompile the complete RTL and FCL. The change of the default string 
is no easy matter and only recently there was a lengthy discussion on 
core about this topic and its technical and organisational problems.

Regards,
Sven





More information about the Lazarus mailing list