User Changes 3.2.0

This is an old revision of User Changes 3.2.0, edited by Jonas at . The current revision is 133336.

About this page

Note: FPC 3.2 has not yet been released. It will be released later this year.

Listed below are intentional changes made to the FPC compiler (3.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

Implementation Changes

Dynamic array parameters are passed like pointers

VMT Interface table uses private variable FPC_EMPTYINTF

Modeswitch TypeHelpers in Delphi modes enables type helper-syntax

Class references in a class VMT's field table

Language Changes

Visibility of generic type parameters

type
  generic TTest<T> = class
  public type
    TAlias = T;
  end;

Parsing of specialize has been changed

Operator overload + no longer allowed for dynamic arrays

Generic type parameters need to match

Visibility of methods implementing interface methods

Methods implementing interface methods and overloads

RTTI changes

RTTI for Interfaces (published property count)

RTTI for COM Interfaces (IID String)

RTTI Binary format change

RTTI for Corba Interfaces (IID String)

Reference to Record Init Information

TOrdType extended

New OrdType field for tkInt64 and tkQWord

First field of TProcedureParam changed

TParamFlag extended for constref

Ranges of Boolean types adjusted

OrdType of Boolean64 and QWordBool adjusted

All Boolean types have TypeKind tkBool

TParamFlag extended for hidden parameters

Parameters of method pointer variables contain hidden parameters

Parameters of procedure variables contain hidden parameters

Unit changes

SysUtils

TList auto-growth

StrUtils AnsiStartsText/AnsiEndsText

Types IStream interface and Classes TStreamAdapter

Baseunix (Linux only)

Classes TStrings.LoadFromStream/File encoding handling

TStringStream now observes system encoding

DB

TParam.LoadFromFile sets share mode to fmShareDenyWrite
CodePage aware TStringField and TMemoField
ODBC headers on Unix platforms defaults to 3.52 version
TBlobData opaque type reworked to TBytes

FGL

Declaration of type TTypeList changed

Linux/Android platforms

GNU Binutils 2.19.1 or later are required by default

i386 platforms

-Ooasmcse/{$optimization asmcse} has been removed

i8086 platforms

the codepointer type has been changed in the small and compact memory models

Previous release notes

Lazarus - Release Notes and GIT Branch with Release Fixes

Release notes for Version:

0.9.24 | 0.9.26 | 0.9.28 | 0.9.28.2 | 0.9.30 | 1.0 | 1.2 | 1.4 | 1.6 | 1.8 | 2.0 | 2.2 | 3.0 | 4.0 | 5.0

Fixes branch (How to merge):

0.9 | 1.0 | 1.2 | 1.4 | 1.6 | 1.8 | 2.0 | 2.2 | 3.0 | 4.0

Free Pascal Compiler - User Changes (Release Notes)