You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit 364d440 conflicts with a macro defined in the macOS SDK which results in errors like:
[ 16%] Building CXX object src/CMakeFiles/libdavix.dir/curl/StandaloneCurlRequest.cpp.o
/Users/cburr/Development/conda-forge/davix-feedstock/miniforge3/conda-bld/davix_1711060355645/work/src/curl/StandaloneCurlRequest.cpp:208:23: error: no matching function for call to '__tolower'auto header_lower = _tolower(header_name);
^~~~~~~~~~~~~~~~~~~~~
/Users/cburr/Development/conda-forge/davix-feedstock/SDKs/MacOSX11.0.sdk/usr/include/_ctype.h:208:21: note: expanded from macro '_tolower'
#define_tolower(c) __tolower(c)
^~~~~~~~~
/Users/cburr/Development/conda-forge/davix-feedstock/SDKs/MacOSX11.0.sdk/usr/include/_ctype.h:189:20: note: candidate function not viable: no known conversion from 'const std::string' (aka 'const basic_string<char>') to '__darwin_ct_rune_t' (aka 'int') for 1st argument
__darwin_ct_rune_t__tolower(__darwin_ct_rune_t);
^
/Users/cburr/Development/conda-forge/davix-feedstock/miniforge3/conda-bld/davix_1711060355645/work/src/curl/StandaloneCurlRequest.cpp:211:25: error: no matching function for call to '__tolower'if (header_lower == _tolower(it.first)) {
^~~~~~~~~~~~~~~~~~
return0;
/Users/cburr/Development/conda-forge/davix-feedstock/SDKs/MacOSX11.0.sdk/usr/include/_ctype.h:208:21: note: expanded from macro '_tolower'
#define_tolower(c) __tolower(c)
^~~~~~~~~
/Users/cburr/Development/conda-forge/davix-feedstock/SDKs/MacOSX11.0.sdk/usr/include/_ctype.h:189:20: note: candidate function not viable: no known conversion from 'const std::string' to '__darwin_ct_rune_t' (aka 'int') for 1st argument
__darwin_ct_rune_t__tolower(__darwin_ct_rune_t);
^
In file included from /Users/cburr/Development/conda-forge/davix-feedstock/miniforge3/conda-bld/davix_1711060355645/work/src/curl/StandaloneCurlRequest.cpp:22:
/Users/cburr/Development/conda-forge/davix-feedstock/miniforge3/conda-bld/davix_1711060355645/work/src/curl/StandaloneCurlRequest.hpp:127:8: warning: private field '_reuse_session' is not used [-Wunused-private-field]
bool _reuse_session;
^
1 warning and2 errors generated.
Renaming _tolower fixes the issue.
The text was updated successfully, but these errors were encountered:
This commit 364d440 conflicts with a macro defined in the macOS SDK which results in errors like:
Renaming
_tolower
fixes the issue.The text was updated successfully, but these errors were encountered: