Difference between revisions of "User Changes 3.2.2"

From Free Pascal wiki
Jump to navigationJump to search
(The Darwin targets corresponding to iOS have been renamed to iOS)
(Mention TBufferedFileStream.Seek(0,soBeginning) change)
Line 11: Line 11:
=== Language changes ===
=== Language changes ===
=== Implementation changes ===
=== Implementation changes ===
===== TBufferedFileStream.Seek(0,soBeginning) =====
* '''Old behaviour''': TBufferedFileStream.Seek(0,soBeginning) returned -1.
* '''New behaviour''': Now TBufferedFileStream.Seek(0,soBeginning) returns 0.
* '''Reason:''' Delphi-compatibility
* '''svn''': 48282
=== Unit changes ===
=== Unit changes ===

Revision as of 12:19, 9 April 2021

About this page

Listed below are intentional changes made to the FPC compiler (3.2.2) since the previous release that may break existing code. The list includes reasons why these changes have been implemented, and suggestions for how you might adapt your code if you find that previously working code has been adversely affected by these recent changes.

The list of new features that do not break existing code can be found here.

Please add revision numbers to the entries from now on. This facilitates moving merged items to the user changes of a release.

All systems

Usage Changes

Language changes

Implementation changes

  • Old behaviour: TBufferedFileStream.Seek(0,soBeginning) returned -1.
  • New behaviour: Now TBufferedFileStream.Seek(0,soBeginning) returns 0.
  • Reason: Delphi-compatibility
  • svn: 48282

Unit changes


The Darwin targets corresponding to iOS have been renamed to iOS

  • Old behaviour: The Darwin/ARM and Darwin/AArch64 (ARM64) targets generated code for iOS running on those architectures.
  • New behaviour: The Darwin/AArch64 (ARM64) target generates code for macOS running on AArch64. To generate code for iOS, use the new iOS target (-Tios)
  • Reason for change: The switch of the macOS platform to AArch64
  • svn: 45762

Previous release notes