FPC New Features 3.2.2: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: FPC New Features 3.2.2
| Old | New | Line | |
|---|---|---|---|
| 1 | + | ## About this page | |
| 2 | + | ||
| 3 | + | FPC 3.2.2 has been released on May 20th, 2021. | |
| 4 | + | ||
| 5 | + | 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. | |
| 6 | + | ||
| 7 | + | A list of changes that may break existing code can be found at [[User Changes 3.2.2]]. | |
| 8 | + | ||
| 9 | + | ## New compiler targets | |
| 10 | + | ||
| 11 | + | ### Support for macOS/AArch64 | |
| 12 | + | ||
| 13 | + | - **Overview**: The compiler can now target macOS running on AArch64 | |
| 14 | + | - **Notes**: The Darwin/AArch64 target corresponds to macOS/AArch64. Generating code for iOS/AArch64 requires a [[User Changes 3.2.2|different command line parameter]] compared to previous versions. | |
| 15 | + | - **More information**: [[macOS Big Sur changes for developers|Build instructions]] | |
| 16 | + | - **svn**: 45762 | |
| 17 | + | ||
| 18 | + | ### Language | |
| 19 | + | ||
| 20 | + | #### Record methods assigned to method variables | |
| 21 | + | ||
| 22 | + | - **Overview**: ? | |
| 23 | + | - **Notes**: | |
| 24 | + | - Delphi-compatibility | |
| 25 | + | - **Example**: <https://gitlab.com/freepascal.org/fpc/source/-/blob/main/tests/tbs/tb0681.pp> | |
| 26 | + | - **svn**: 47794 | |
| 27 | + | ||
| 28 | + | ## Units | |
| 29 | + | ||
| 30 | + | #### SQLdb | |
| 31 | + | ||
| 32 | + | ##### MySQL 8.0 support | |
| 33 | + | ||
| 34 | + | - **Overview**: Support for MySQL 8.0 has been implemented. | |
| 35 | + | - **svn:** 48692 | |
| 36 | + | ||
| 37 | + | #### Classes | |
| 38 | + | ||
| 39 | + | ##### Naming of Threads | |
| 40 | + | ||
| 41 | + | - **Overview**: *TThread.NameThreadForDebugging* has been implemented. | |
| 42 | + | - **Notes**: Delphi compatible, currently implemented for Windows, Linux and Android. Read documentation as every platform has its own restrictions. | |
| 43 | + | - **svn:** 45160, 45206, 45233 | |
| 44 | + | ||
| 45 | + | ## New Features from other versions | |
| 46 | + | ||
| 47 | + | --- | |
| 48 | + | *From the Free Pascal wiki, page "FPC New Features 3.2.2", as it stood on 2021-12-02 after a change by Alextp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 49 | + | Category: FPC 3.0+ stuff | |
| 50 | + | Category: FPC New Features by release | |
| 51 | + | Category: Release Notes |
