New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building under Mac OS 10.15.2 (Catalina) with gcc-9 fails #4821
Comments
That first error is not in curl code... |
Yeah, seems there is no C standard that allows the definition in the header:
|
If you're using GCC, try it again with Clang; it ought to work with Clang. Neither error is in curl code; the first one looks like something Clang supports but GCC does not, and the second is because |
Yes, it builds with Clang. Just inability to build curl with GCC on MacOS is quite an unfortunate. |
Sure, but since this is at least one error that isn't ours we can't even fix this... |
Judging from a quick googling this is not a new problem. GCC just doesn't like it. The common answer is: use clang... |
This is not a problem in our lap. |
Building curl 7.68.0 under Mac OS 10.15.2 with gcc-9 with the Secure Transport enabled fails with the following errors:
I did this
I expected the following
I expected to successfully build curl.
curl/libcurl version
7.68.0
operating system
Mac OS 10.15.2
The text was updated successfully, but these errors were encountered: