[MacPorts] #73988: btop @1.4.7 does not build on macOS Sonoma 14.8.5 because src/btop_config.cpp:819:24: error: constexpr function's return type 'std::optional<fs::path>' is not a literal type
MacPorts
noreply at macports.org
Mon May 11 20:32:40 UTC 2026
#73988: btop @1.4.7 does not build on macOS Sonoma 14.8.5 because
src/btop_config.cpp:819:24: error: constexpr function's return type
'std::optional<fs::path>' is not a literal type
--------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Keywords: sonoma intel | Port: btop
--------------------------+--------------------
{{{
[1;97mCompiling src/osx/sensors.cpp[0m
clang++: warning: -framework IOKit: 'linker' input unused [-Wunused-
command-line-argument]
clang++: warning: -framework CoreFoundation: 'linker' input unused
[-Wunused-command-line-argument]
clang++: warning: -lIOReport: 'linker' input unused [-Wunused-command-
line-argument]
clang++: warning: argument unused during compilation: '-fstack-clash-
protection' [-Wunused-command-line-argument]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-
warning-option]
src/btop_config.cpp:819:24: error: constexpr function's return type
'std::optional<fs::path>' is not a literal type
819 | static constexpr auto get_xdg_state_dir() ->
std::optional<fs::path> {
| ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/73988>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list