[MacPorts] #69744: tree-sitter-cpp: Undefined Symbol "_static_assert"

MacPorts noreply at macports.org
Sat Sep 28 10:48:54 UTC 2024


#69744: tree-sitter-cpp: Undefined Symbol "_static_assert"
------------------------------+--------------------------
  Reporter:  RobK88           |      Owner:  amake
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.9.3
Resolution:                   |   Keywords:  mountainlion
      Port:  tree-sitter-cpp  |
------------------------------+--------------------------

Comment (by rmottola):

 Replying to [comment:5 ryandesign]:
 > Because tree-sitter-cpp is using the tree_sitter portgroup which
 completely overrides the configure, build, and destroot phases with its
 own commands. Why does it do that? [https://github.com/tree-sitter/tree-
 sitter-cpp/blob/72fd00128f1c38319670cbf4bcedbba0dc849d96/Makefile#L35
 tree-sitter-cpp ships with a Makefile] that does specify `-std=c11`. Why
 isn't the port using that?

 perhaps because it sets CFLAGS, but for C++ CXX flags would be more
 correct?

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


More information about the macports-tickets mailing list