Difference between revisions of "User Changes 3.2.2/zh CN"

From Lazarus wiki
Jump to navigationJump to search
Line 39: Line 39:
  
 
== 先前的发行说明 ==
 
== 先前的发行说明 ==
{{Navbar Lazarus Release Notes}}
+
{{Navbar Lazarus Release Notes/zh_CN}}
  
 
[[Category:FPC User Changes by release]]
 
[[Category:FPC User Changes by release]]
 
[[Category:Release Notes]]
 
[[Category:Release Notes]]

Revision as of 02:38, 28 May 2021

关于这个页面

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

TBufferedFileStream.Seek(0,soBeginning)
  • 旧的行为: TBufferedFileStream.Seek(0,soBeginning) returned -1.
  • 新的行为: Now TBufferedFileStream.Seek(0,soBeginning) returns 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


先前的发行说明