File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 44{ If GENERICS_CONSTREF is defined, then various routines used with Generics.Collections
55 (like callbacks we pass to TComparer, or OnNotify callback or Notify virtual method)
66 should have "constref" parameter, not "const".
7- This was the case of FPC<= 3.2.0, FPC changed it in
8- https://gitlab.com/freepascal.org/fpc/source/-/commit/693491048bf2c6f9122a0d8b044ad0e55382354d .
9- It is also applied to FPC fixes branch 3.2.3 and later 3.2.4(rc1). }
7+ This was the case in FPC <= 3.2.0.
8+ FPC changed constref->const in
9+ https://gitlab.com/freepascal.org/fpc/source/-/commit/693491048bf2c6f9122a0d8b044ad0e55382354d
10+ and the change is present in FPC fixes branch 3.2.3 and later 3.2.4(rc1). }
1011{ $ifdef VER3_0} { $define GENERICS_CONSTREF} { $endif}
1112{ $ifdef VER3_2_0} { $define GENERICS_CONSTREF} { $endif}
1213{ $ifdef VER3_2_2} { $define GENERICS_CONSTREF} { $endif}
Original file line number Diff line number Diff line change 44{ If GENERICS_CONSTREF is defined, then various routines used with Generics.Collections
55 (like callbacks we pass to TComparer, or OnNotify callback or Notify virtual method)
66 should have "constref" parameter, not "const".
7- This was the case of FPC<= 3.2.0, FPC changed it in
8- https://gitlab.com/freepascal.org/fpc/source/-/commit/693491048bf2c6f9122a0d8b044ad0e55382354d .
9- It is also applied to FPC fixes branch 3.2.3. }
7+ This was the case in FPC <= 3.2.0.
8+ FPC changed constref->const in
9+ https://gitlab.com/freepascal.org/fpc/source/-/commit/693491048bf2c6f9122a0d8b044ad0e55382354d
10+ and the change is present in FPC fixes branch 3.2.3 and later 3.2.4(rc1). }
1011{ $ifdef VER3_0} { $define GENERICS_CONSTREF} { $endif}
1112{ $ifdef VER3_2_0} { $define GENERICS_CONSTREF} { $endif}
1213{ $ifdef VER3_2_2} { $define GENERICS_CONSTREF} { $endif}
You can’t perform that action at this time.
0 commit comments