Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Build warnings with clang 6 #2466
I did this
Built curl with clang 6.0.0.
I expected the following
Successful build. Instead, I got this:
Looks like this warning has been improved/changed in clang 6. From http://releases.llvm.org/6.0.0/tools/clang/docs/ReleaseNotes.html#improvements-to-clang-s-diagnostics
Linux (Arch Linux)
#2468 fixes the reported warnings. However, if I enable gnutls (--with-gnutls) I get the same warning in the last place CURLX_INTEGER_TO_POINTER_CAST is used:
Note that there is not warning from CURLX_POINTER_TO_INTEGER_CAST.