macOS 11.7.10: ISO C++17 error under Big Sur #1865
-
Hello, [ 17%] Building CXX object src/CMakeFiles/conky.dir/colours.cc.o How can I solve those errors? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Try installing gperf from homebrew with It looks like you hit an issue with older versions of gperf: https://savannah.gnu.org/bugs/?53028. Most likely it's because macOS include gperf, and your version is unpatched. It's fixed in gperf 3.1 (https://git.savannah.gnu.org/gitweb/?p=gperf.git;a=commit;h=baf89d87f0d94b83e7764569da9d84dd36f82ba9), which is available from Homebrew: https://formulae.brew.sh/formula/gperf. We can perhaps disable the warning when building that particular file, however, to make it compile with older versions. |
Beta Was this translation helpful? Give feedback.
Try installing gperf from homebrew with
brew install gperf
, then recompile Conky, and you should be good to go.It looks like you hit an issue with older versions of gperf: https://savannah.gnu.org/bugs/?53028.
Most likely it's because macOS include gperf, and your version is unpatched. It's fixed in gperf 3.1 (https://git.savannah.gnu.org/gitweb/?p=gperf.git;a=commit;h=baf89d87f0d94b83e7764569da9d84dd36f82ba9), which is available from Homebrew: https://formulae.brew.sh/formula/gperf.
We can perhaps disable the warning when building that particular file, however, to make it compile with older versions.