-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix assorted breakages and Windows compilation changes #9966
Fix assorted breakages and Windows compilation changes #9966
Conversation
…uild This fix to foreign_cc BoringSSL build addresses the fact that its own bazel build doesn't respect Envoy's choice to build a static library. The patch deserve further additions and adjustment, but resolves #8754 which could not be reopened due to my force push. It was intended for PR9915 but missed the boat. Signed-off-by: William A Rowe Jr <[email protected]> Signed-off-by: Yechiel Kalmenson <[email protected]> Signed-off-by: Sunjay Bhatia <[email protected]> Co-authored-by: William A Rowe Jr <[email protected]> Co-authored-by: Yechiel Kalmenson <[email protected]> Co-authored-by: Sunjay Bhatia <[email protected]>
This picks up a bugfix from Ylavic which avoids using Win32 MSVC warning pragmas in the case of clang-cl compilation. Unfortunately clang-cl presents itself with an _MSC_VER preprocessor built-in macro, which is very misleading. Note that compiling with MSVC's own distribution of clang-cl is not corrected, but it seems very unlikely that will ever happen in the future (32 not 64 bit compiler.) Co-authored-by: William A Rowe Jr <[email protected]> Co-authored-by: Sunjay Bhatia <[email protected]> Signed-off-by: William A Rowe Jr <[email protected]> Signed-off-by: Sunjay Bhatia <[email protected]>
Signed-off-by: William A Rowe Jr <[email protected]>
Support platform process scope requirements, such as WSAStartup behavior for Windows. Signed-off-by: William A Rowe Jr <[email protected]>
This creates a space for source/common/api/win32 and seperates changes to posix from the commit which here relocates the files Signed-off-by: Sunjay Bhatia <[email protected]> Signed-off-by: William A Rowe Jr <[email protected]>
Signed-off-by: Sunjay Bhatia <[email protected]> Signed-off-by: William A Rowe Jr <[email protected]>
Otherwise compiling the mocks w/ gcc on Linux fails due to `-Werror=overloaded-virtual` being treated as an error Signed-off-by: William A Rowe Jr <[email protected]> Co-authored-by: Sunjay Bhatia <[email protected]>
APC is a common acronym we will likely use more for Windows Signed-off-by: William A Rowe Jr <[email protected]> Co-authored-by: Sunjay Bhatia <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with small question, thank you!
/wait-any
source/common/api/BUILD
Outdated
] + select({ | ||
"//conditions:default": [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be deleted, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd prefer to leave it (fill-in-the-gap adds windows specifics there in a upcoming patch, if that's alright.) Trying to keep as many changes in the upcoming commits to be line-oriented diffs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK sounds good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we found that we didn't need the subsequent changes in the later commit for Windows, so we will remove this bit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Signed-off-by: Sunjay Bhatia <[email protected]> Co-authored-by: William A Rowe Jr <[email protected]> Co-authored-by: Sunjay Bhatia <[email protected]>
Description:
Risk Level: Low
Testing: Local on gcc Linux, msvc Windows
Docs Changes: N/A
Release Notes: N/A
Fixes #8351