Recent

Author Topic: Mac OS 3.0RC2 throws __datacoal_nt errors building default app  (Read 1381 times)

sawtelle

  • Newbie
  • Posts: 2
Mac OS 3.0RC2 throws __datacoal_nt errors building default app
« on: December 02, 2023, 05:09:17 pm »
Having. used the 3.0RC2 prebuilt binary installers in Mac OS Monterey 12.6.7, I can run a hello world program and step through it in the debugger. But the build of the default example project yields a storm of deprecation warnings and hints (which may not matter?) and errors like this:

Warning: /Users/sawtelle/.lazarus/lib/units/x86_64-darwin/cocoa/cocoaprivate.s:57971:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Error: /Users/sawtelle/.lazarus/lib/units/x86_64-darwin/cocoa/cocoaprivate.s:57971:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced

Can anyone advise?

Thanks!

Don

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1057
Re: Mac OS 3.0RC2 throws __datacoal_nt errors building default app
« Reply #1 on: December 02, 2023, 05:26:39 pm »
These are warnings from the linker, not errors. For some reason Lazarus interprets them as errors, but they are harmless.

sawtelle

  • Newbie
  • Posts: 2
Re: Mac OS 3.0RC2 throws __datacoal_nt errors building default app
« Reply #2 on: December 06, 2023, 05:10:57 pm »
Thank you!

Now I am getting the following error in any 3.0RC2 Mac OS build that uses LCL, including the example application:

Compile package LCLBase 3.99: Exit code 1, Errors: 1, Warnings: 3
dialogs.pp(723,21) Warning: Symbol "THandle" is deprecated: "Use TLCLHandle instead of this redefined THandle"
dialogs.pp(993,35) Error: Expected another 2 array elements
promptdialog.inc(814,20) Warning: Symbol "GetDialogIcon" is deprecated: "Use DialogRes.DialogGlyphs"
promptdialog.inc(819,18) Warning: Symbol "GetDialogIcon" is deprecated: "Use DialogRes.DialogGlyphs"


Do I have a version mismatch somewhere?

Thank you,

Don

 

TinyPortal © 2005-2018