Difference between revisions of "FPC New Features 3.2.2"

From Lazarus wiki
Jump to navigationJump to search
(Support for macOS/AArch64)
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
== About this page ==
 
== About this page ==
  
FPC 3.2.2 has been released on XXX, 2021.
+
FPC 3.2.2 has been released on May 20th, 2021.
  
 
Below you can find a list of new features introduced since the [[FPC New Features 3.2.0|previous release]], along with some background information and examples.
 
Below you can find a list of new features introduced since the [[FPC New Features 3.2.0|previous release]], along with some background information and examples.
Line 14: Line 14:
 
* '''More information''': [[macOS_Big_Sur_changes_for_developers#ARM64.2FAArch64.2FAppleSilicon_Support|Build instructions]]
 
* '''More information''': [[macOS_Big_Sur_changes_for_developers#ARM64.2FAArch64.2FAppleSilicon_Support|Build instructions]]
 
* '''svn''': 45762
 
* '''svn''': 45762
 +
 +
=== Language ===
 +
 +
==== Record methods assigned to method variables  ====
 +
* '''Overview''': ?
 +
* '''Notes''':
 +
** Delphi-compatibility
 +
* '''Example''': https://gitlab.com/freepascal.org/fpc/source/-/blob/main/tests/tbs/tb0681.pp
 +
* '''svn''': 47794
 +
 +
== Units ==
 +
 +
==== SQLdb ====
 +
===== MySQL 8.0 support =====
 +
* '''Overview''': Support for MySQL 8.0 has been implemented.
 +
* '''svn:''' 48692
 +
 +
==== Classes ====
 +
===== Naming of Threads =====
 +
* '''Overview''': ''TThread.NameThreadForDebugging'' has been implemented.
 +
* '''Notes''': Delphi compatible, currently implemented for Windows, Linux and Android. Read documentation as every platform has its own restrictions.
 +
* '''svn:''' 45160, 45206, 45233
  
 
== New Features from other versions ==
 
== New Features from other versions ==

Latest revision as of 15:54, 2 December 2021

About this page

FPC 3.2.2 has been released on May 20th, 2021.

Below you can find a list of new features introduced since the previous release, along with some background information and examples.

A list of changes that may break existing code can be found at User Changes 3.2.2.

New compiler targets

Support for macOS/AArch64

  • Overview: The compiler can now target macOS running on AArch64
  • Notes: The Darwin/AArch64 target corresponds to macOS/AArch64. Generating code for iOS/AArch64 requires a different command line parameter compared to previous versions.
  • More information: Build instructions
  • svn: 45762

Language

Record methods assigned to method variables

Units

SQLdb

MySQL 8.0 support
  • Overview: Support for MySQL 8.0 has been implemented.
  • svn: 48692

Classes

Naming of Threads
  • Overview: TThread.NameThreadForDebugging has been implemented.
  • Notes: Delphi compatible, currently implemented for Windows, Linux and Android. Read documentation as every platform has its own restrictions.
  • svn: 45160, 45206, 45233

New Features from other versions