User Changes 3.2.2/zh CN

From Free Pascal wiki

关于这个页面

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.

所有系统

用法更改

语言更改

实施更改

TBufferedFileStream.Seek(0,soBeginning)
  • 旧的行为: TBufferedFileStream.Seek(0,soBeginning)返回 -1.
  • 新的行为: 现在TBufferedFileStream.Seek(0,soBeginning)返回 0.
  • 原因: Delphi兼容
  • svn版本: 48282
Fix matching of Boyer-Moore algorithm for periodicity
  • 旧的行为: Pattern "abcab" and the text "abcabcabcabcabcabcab" indicates matches at positions 1, 7, and 13.
  • 新的行为: Now the pattern "abcab" and the text "abcabcabcabcabcabcab" indicates matches at positions 1, 4, 7, 10 and 13.
  • svn版本: 48752
SeekEof
  • 旧的行为: 如果SeekEof没有找到文件的结尾,它将尝试将输入还原到原始状态/位置。
  • '新的行为: 在查找文件结尾时(例如:空格)Data consumed by SeekEof所消耗的数据将保持消耗状态。
  • 原因: 改善TP/BP/Delphi兼容性
  • svn版本: 46946

单元更改

Darwin/iOS

与IOS对应的Darwin目标已经重命名为iOS

  • 旧的行为: Darwin/ARM和Darwin/AArch64 (ARM64)目标为在这些架构上运行的iOS生成代码。
  • 新的行为: Darwin/AArch64 (ARM64)目标为运行在AArch64上的macOS生成代码。为iOS生成代码,使用新的iOS目标(-Tios)
  • 更改原因: macOS平台切换到AArch64
  • svn版本: 45762


先前的发行说明