Am 14.03.2013 15:25, schrieb Frank Church:
On 13 March 2013 17:20, Frank Church <[email protected]> wrote:
On 13 March 2013 16:52, Vincent Snijders <[email protected]> wrote:
2013/3/13 Frank Church <[email protected]>:
Upgrading to Lazarus 1.0.7 with FPC 2.6.2 raised this error in a file
I was compiling? What does it mean?

procedure TRxDBGrid.CheckNewCachedSizes(var AGCache: TGridDataCache);
begin
   if (rdgFooterRows in OptionsRx) and (FooterRowCount > 0) then
     Dec(GCache.ClientHeight, DefaultRowHeight * FooterRowCount + 2);
end;

M:\Lazarus\ThirdPartyLibs\rx20\rxdbgrid.pas(2492,9) Error: Can't take
the address of constant expressions


Is the fixes branch supposed to introduce new functionality that can
break code that compiled in previous releases?
What fixes branch are you talking about? FPC 2.6 fixes or Lazarus 1.0 fixes?

Anyway, if you exploited a bug, then a fix for that bug might break your code.

FPC 2.6 fixes, that code has been compiling since 2.2.4. Perhaps it is
a bug which has been waiting to be caught.
Is the error message the result of a bug in the implementation of FPC
2.6.0 or earlier versions (according to the specifications)  which got
fixed, or the result of new specifications which were backported to
the 2.6 series?
As I already wrote in another mail: this fix was introduced in 2.6.0 as you can see here: http://wiki.lazarus.freepascal.org/User_Changes_2.6.0#Taking_the_address_of_fields_of_record_properties

Regards,
Sven


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to