[MacPorts] #63110: clang-12 build error due to cmake portgroup setting an extremely old C and CXX standard because the llvm portfiles don't use base's compiler.c_standard or compiler.cxx_standard

MacPorts noreply at macports.org
Thu Jun 17 06:06:42 UTC 2021


#63110: clang-12 build error due to cmake portgroup setting an extremely old C and
CXX standard because the llvm portfiles don't use base's
compiler.c_standard or compiler.cxx_standard
----------------------+----------------------
  Reporter:  blair    |      Owner:  kencu
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  llvm-12  |
----------------------+----------------------

Comment (by jmroot):

 The `compiler.*_standard` options were designed as a compiler selection
 mechanism, not a language standard enforcement mechanism. They don't cause
 any `-std=` flag to be used normally, since projects should be setting
 that themselves, and some will use features from newer standards if
 available but work fine with an older standard.

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


More information about the macports-tickets mailing list