Forum > macOS / Mac OS X
[duplicate question] Compiler Warning/Error messages compiling on M2 for x86_64
(1/1)
Manlio:
[edit] This is a duplicate question, sorry.
On a MacBook Air M2 I installed Lazarus for x86_64 using fpcupdeluxed, Stable version for both FPC (3.2.2) and Lazarus (3)
I then try to compile and run a simple hello world program, where I also include an instance of a THtmlViewer component.
If I do a clean up and build, compiling succeeds but with many clusters of errors/warnings like the ones below.
Should I worry that something won't work in the program, or can I ignore all that?
Error: -macosx_version_min has been renamed to -macos_version_min
Verbose: Assembling cocoaint
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoaint.s:214932:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoaint.s:214932:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoaint.s:215080:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoaint.s:215080:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:141921:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142284:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142284:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142336:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142336:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142454:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142454:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142713:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142713:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142771:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142771:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142802:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142802:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142851:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoatextedits.s:142851:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Verbose: Assembling cocoawscomctrls
Verbose: Compiling ./cocoa/cocoawsdialogs.pas
cocoawsdialogs.pas(482,38) Warning: Symbol "NSOKButton" is deprecated: "in 10_0, 10_10, "Use NSModalResponseOK instead""
cocoawsdialogs.pas(957,7) Note: Call to subroutine "procedure FillChar(var x:<Formal type>;count:Int64;Value:Byte);" marked as inline is not inlined
Verbose: Assembling cocoawsdialogs
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsdialogs.s:127104:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsdialogs.s:127104:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsdialogs.s:127294:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsdialogs.s:127294:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsdialogs.s:127609:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsdialogs.s:127609:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Verbose: Compiling ./cocoa/cocoawsextctrls.pas
cocoatrayicon.inc(13,25) Hint: Parameter "sender" not used
cocoawsextctrls.pas(181,42) Hint: Parameter "ATrayIcon" not used
cocoawsextctrls.pas(182,38) Hint: Parameter "ATrayIcon" not used
Verbose: Assembling cocoawsextctrls
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsextctrls.s:137729:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsextctrls.s:137729:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Warning: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsextctrls.s:137790:10: warning: section "__datacoal_nt" is deprecated
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Error: /Applications/code/lazarus/x86_64/lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsextctrls.s:137790:10: note: change section name to "__data"
Error: .section __DATA, __datacoal_nt, coalesced
Debug: ^ ~~~~~~~~~~~~~~
Verbose: Compiling ./cocoa/cocoawsfactory.pas
Verbose: Compiling ./cocoa/cocoawsforms.pas
Manlio:
I apologize, I just saw that the same errors were reported in other similar messages. I tried to delete my message but it says I can't delete my own posts in this board. Sorry for the duplication.
Navigation
[0] Message Index