Mac Catalina build, suppress warnings #39938
Conversation
|
It builds for me on 10.15 without any changes. What Xcode version do you use? It may be better to adjust cmake rules than fix every occurrence. |
it was XCode 11, downloaded latest version
Yeah, as it was not that many did it for every occurance as we might want to be notified with deprecated functionalies for other areas too |
wfurt
left a comment
There was a problem hiding this comment.
It turned out I was on 10.3. When using 11 Beta I saw same warnings/errors and this change fix them.
|
Thanks @buyaa-n |
|
The fact that these warnings are firing suggests that there's something better we should be using instead of these existing calls? |
|
The MD5 ones, at least, are "MD5 is broken, you shouldn't be using it". Except for all the places it's needed, of course. Otherwise they've added some stuff for 10.15, and deprecated the alternatives. But that doesn't help us on 10.13 or 10.14; so it's not useful for at least another two years (or we split our distribution from one build to one build per OS version). |
And that's what I'm wondering. It seemed like there were some other issues still being investigated that might cause us to need to do that? If that's the case, disabling these warnings seems premature. If it turns out that's a red herring, great, let's proceed to port this disabling to 3.0. But if that's actually required, seems we should hold off on #39984 and port the "right" fix? |
|
For 3.0 I don't think we'd rewrite SslStream on top of their new TLS stack in servicing; nor replace X509Chain with an easier to use, but less functionally capable (it only reports one code per chain), implementation of cert chaining. If we already have to split the distribution then maybe for 3.1 or 5.0 we'd change things... but I think it'd have to be for something actually "better" vs just "different"... especially when we have to keep the old code around anyways. |
|
Issue #40031 created for tracking further upgrade |
Commit migrated from dotnet/corefx@c4e7347
No description provided.