#67559 closed defect (fixed)

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.

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: kaimingguo (Kai-Ming Guo)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: solidity

Description

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

Change History (1)

comment:1 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 1cbc49626852abf153e710493adef2b31aefb425/macports-ports (master):

solidity: Set C++ standard to 2017

Closes: #67559

Note: See TracTickets for help on using tickets.