coal sections deprecated - Lazarus turns Warnings into Errors? lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- trev · 2020-12-02 22:15 QuoteFree Pascal Compiler version 3.3.1 [2020/10/25] for x86_64 Copyright (c) 1993-2020 by Florian Klaempfl and others (1002) Target OS: Darwin for x86_64 (3104) Compiling project1.lpr /Users/trev/Documents/Programming/LAZPROJECTS/laz_nsurlsession2/lib/x8 6_64-darwin/unit1.s:1041:10: warning: section "__datacoal_nt" is deprecated .section __DATA, __datacoal_nt, coalesced          ^      ~~~~~~~~~~~~~~ /Users/trev/Documents/Programming/LAZPROJECTS/laz_nsurlsession2/lib/x8 6_64-darwin/unit1.s:1041:10: note: change section name to "__data" .section __DATA, __datacoal_nt, coalesced          ^      ~~~~~~~~~~~~~~ /Users/trev/Documents/Programming/LAZPROJECTS/laz_nsurlsession2/lib/x8 6_64-darwin/unit1.s:1087:10: warning: section "__datacoal_nt" is deprecated .section __DATA, __datacoal_nt, coalesced          ^      ~~~~~~~~~~~~~~ /Users/trev/Documents/Programming/LAZPROJECTS/laz_nsurlsession2/lib/x8 6_64-darwin/unit1.s:1087:10: note: change section name to "__data" .section __DATA, __datacoal_nt, coalesced          ^      ~~~~~~~~~~~~~~ (3104) Compiling unit1.pas [...] (9015) Linking /Users/trev/Documents/Programming/LAZPROJECTS/laz_nsurl session2/project1 (1008) 191 lines compiled, 0.7 sec (1021) 1 warning(s) issued (1022) 7 hint(s) issued Two issues: 1) Is there anything I can do to fix the deprecated use of coal sections? 2) It seems that Lazarus 2.1.0 (r63871) turns some FPC warnings into errors. Compare the messages copy and paste above with the Lazarus output in messages which states: "Compile project, Target: project1: Success, Errors:8, Warnings:1, Hints:4" Note also that the error and hint totals are different between FPC and Lazarus. [I would have attached an image, but Safari 14.0.1 (Intel) crashes when using the Forum "Choose File" link.]