-
Notifications
You must be signed in to change notification settings - Fork 1.2k
android: fix va_* and cleanup pal + first output #2292
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
Conversation
obastemur
commented
Dec 28, 2016

b766354 to
ea6b954
Compare
|
@dotnet-bot test Windows x86_release please |
|
Very cool! @EdMaurer FYI |
| /******************* Compiler-specific glue *******************************/ | ||
|
|
||
| #ifndef _MSC_VER | ||
| #define FEATURE_PAL_SXS 1 |
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.
Why is this change needed?
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.
Cleanup.
| #endif // !_MSC_VER | ||
|
|
||
| #if defined(_MSC_VER) || defined(__llvm__) | ||
| #define DECLSPEC_ALIGN(x) __declspec(align(x)) |
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.
I'm confused- __declspec(align) is a VC++ concept, no? Wasn't the ifdef that was there correct?
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 use either Clang or VC++.
| #define DECLSPEC_NORETURN PAL_NORETURN | ||
|
|
||
| #ifndef _MSC_VER | ||
| #define __assume(x) (void)0 |
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.
I'm trying to understand the changes to this file- is the idea basically that this file should never be built with VC++? Otherwise, for instance, this change breaks prefast, no?
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.
the idea basically that this file should never be built with VC++?
Yes
digitalinfinity
left a comment
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.
Generally, LGTM- just have questions about the changes in Pal.h, which appear to be more than just android-specific changes
|
@digitalinfinity Thanks for the review!! |
…tput Merge pull request #2292 from obastemur:chandroid_001 <img width="225" alt="andro-chakra" src="https://cloud.githubusercontent.com/assets/4390745/21525939/d62b41b4-cd20-11e6-9c97-9f295651dc37.png">