Forum > macOS / Mac OS X

Mac OS 3.0RC2 throws __datacoal_nt errors building default app


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?



Jonas Maebe:
These are warnings from the linker, not errors. For some reason Lazarus interprets them as errors, but they are harmless.

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,20) Warning: Symbol "GetDialogIcon" is deprecated: "Use DialogRes.DialogGlyphs",18) Warning: Symbol "GetDialogIcon" is deprecated: "Use DialogRes.DialogGlyphs"

Do I have a version mismatch somewhere?

Thank you,



[0] Message Index

Go to full version