[MacPorts] #67811: wesnoth build fails with gcc: error: 'quick_exit' is not a member of 'std'
MacPorts
noreply at macports.org
Sun Jul 23 11:32:42 UTC 2023
#67811: wesnoth build fails with gcc: error: 'quick_exit' is not a member of 'std'
--------------------------+------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Low | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: wesnoth
--------------------------+------------------------
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_wesnoth/wesnoth/work/wesnoth-1.16.9/src/serialization/schema/type.cpp:38:36:
error: 'monostate' in namespace 'std' does not name a type
:info:build 38 | bool operator()(const std::monostate&) const
:info:build | ^~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_wesnoth/wesnoth/work/wesnoth-1.16.9/src/gui/dialogs/loading_screen.cpp:185:22:
error: 'quick_exit' is not a member of 'std'
:info:build 185 | std::quick_exit(0);
:info:build | ^~~~~~~~~~
}}}
After the first error the build proceeds further, failing only after the
second, much later.
P. S. I had to use Boost 1.81 due to a need for coroutine, but apparently
the error is not due to Boost version.
--
Ticket URL: <https://trac.macports.org/ticket/67811>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list