[MacPorts] #67559: solidity @0.8.19: Target requires the language dialect "CXX17" . But the current compiler "AppleClang" does not support this, or CMake does not know the flags to enable it.

MacPorts noreply at macports.org
Fri Jun 2 09:49:49 UTC 2023


#67559: solidity @0.8.19: Target requires the language dialect "CXX17" .  But the
current compiler "AppleClang" does not support this, or CMake does not know
the flags to enable it.
------------------------+------------------------
 Reporter:  ryandesign  |      Owner:  kaimingguo
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  solidity
------------------------+------------------------
 https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/146659/steps
 /install-port/logs/stdio
 {{{
 CMake Error in
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_solidity/solidity/work/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
   Target "cmTC_daa7c" requires the language dialect "CXX17" .  But the
   current compiler "AppleClang" does not support this, or CMake does not
 know
   the flags to enable it.
 }}}

 Portfile probably needs this added:
 {{{
 compiler.cxx_standard 2017
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67559>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list