[MacPorts] #70442: Followup to #70440: libkml @1.3.0_4+debug+tests: error: C++ versions less than C++14 are not supported

MacPorts noreply at macports.org
Wed Jul 24 16:58:01 UTC 2024


#70442: Followup to #70440: libkml @1.3.0_4+debug+tests: error: C++ versions less
than C++14 are not supported
------------------------------+--------------------
  Reporter:  TheLastLovemark  |      Owner:  (none)
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.9.3
Resolution:  invalid          |   Keywords:
      Port:  libkml           |
------------------------------+--------------------
Changes (by ryandesign):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 What you select as `gcc` on the command line is irrelevant to MacPorts.
 MacPorts will use the compiler it has chosen for a port. I fixed the
 problem by using `compiler.cxx_standard 2014` which tells MacPorts to pick
 a C++14-supporting compiler. Wait two hours, then `sudo port selfupdate`
 and try again.

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


More information about the macports-tickets mailing list