User Changes 2.6.4
From Free Pascal wiki
Jump to navigationJump to searchAbout this page
Listed below are intentional changes made to the FPC compiler (2.6.4) 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.
All systems
Unit changes
FPCanvas Strikethough property spelling fixed to StrikeThrough
- Old behaviour: Fonts had a Striketrough property which is a typo.
- New behaviour: The property has been changed to Strikethrough.
- Reason: Spelling fix.
- Remedy: Please rename property calls in your code. FPC 2.6.2 contains both versions so there is a window for adaptation.
shlobj symbols removed from unit Windows
- Old behaviour: When unit windows was split between the windows and shlobj units, not all shlobj symbols were removed from Windows.
- New behaviour:
- Now: the symbols are marked deprecated in the windows unit.
- Next major version: shlobj symbols will be removed from the windows unit. Code relying on that will fail to compile if it doesn't import shlobj.
- Reason: shlobj and windows versions were not compatible and lead to errors.
- Remedy: put shlobj in your uses, if not there already.