-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
Hi! I got this error caused by clatexmath package when building on macos:
Last 15 lines from /Users/haozhe/Library/Logs/Homebrew/clatexmath/02.ninja:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/__functional/not_fn.h:38:36: note: candidate template ignored: substitution failure [with _Fn = int (int)]: no member named '_EnableIfImpl' in 'std::_MetaBase<false>'
_LIBCPP_CONSTEXPR_AFTER_CXX17 auto not_fn(_Fn&& __f)
^
In file included from ../src/atom/atom_matrix.cpp:3:
In file included from ../src/atom/atom_impl.h:4:
In file included from ../src/common.h:31:
../src/utils/string_utils.h:92:46: error: no matching function for call to 'not_fn'
s.erase(std::find_if(s.rbegin(), s.rend(), std::not_fn<int(int)>(isspace)).base(), s.end());
^~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/__functional/not_fn.h:38:36: note: candidate template ignored: substitution failure [with _Fn = int (int)]: no member named '_EnableIfImpl' in 'std::_MetaBase<false>'
_LIBCPP_CONSTEXPR_AFTER_CXX17 auto not_fn(_Fn&& __f)
^
2 errors generated.
ninja: build stopped: subcommand failed.
How can I fix this? Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels