[MacPorts] #67307: glib2 compilation issues with clang

MacPorts noreply at macports.org
Wed Apr 26 14:39:13 UTC 2023


#67307: glib2 compilation issues with clang
-----------------------+----------------------
  Reporter:  rmottola  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard
      Port:  glib2     |
-----------------------+----------------------

Comment (by kencu):

 did you fix your leopard sdk?

 https://trac.macports.org/wiki/LeopardSDKFixes

 once you do, your missing symbols should be found.

 The type_traits issue has to do with the c++ standard not being set. gcc
 defaulted to c++11 as of about gcc5. clang defaulted to c++03 until about
 clang-10 or so, then defaults to c++17 after that.

 So best to just set the c++ standard you want (need) to avoid these
 differences.

-- 
Ticket URL: <https://trac.macports.org/ticket/67307#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list