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
error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
auto start_http_request_flow = [proxy_type, proxy_host, proxy_port AND_CAPTURE_MEMBER_FUNCTION_POINTERS](std::shared_ptr<asio_context> ctx)
Clang compiler also sets GNUC, so inevitably this get set
#define AND_CAPTURE_MEMBER_FUNCTION_POINTERS , this
Hmm, didn't see that one. More or less same approach to fix, just different locations and I added APPLE which was probably not needed, but didn't want to step on anyone's toes.
I probably won't submit my PR for iOS today, since I'm declaring bankruptcy on my older PR for it and am re-doing it (small changes so no biggie). Hopefully #732 will get approved....
In http_client_asio.cpp I am getting this error:
Clang compiler also sets GNUC, so inevitably this get set
#define AND_CAPTURE_MEMBER_FUNCTION_POINTERS , this
Currently I am doing this
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) || (__clang__ && __APPLE__)
As a work around. If this seems reasonable or if I should just drop the
&& __APPLE__
, let me know.I am currently updating the build process for iOS, so I plan on putting this change in that pull request.
The text was updated successfully, but these errors were encountered: