Skip to content

Convert the check for stdatomic.h into a compile step as opposed to existence check - #58532

Merged
1 commit merged into
dotnet:mainfrom
AaronRobinsonMSFT:runtime57618
Sep 2, 2021
Merged

Convert the check for stdatomic.h into a compile step as opposed to existence check#58532
1 commit merged into
dotnet:mainfrom
AaronRobinsonMSFT:runtime57618

Conversation

@AaronRobinsonMSFT

@AaronRobinsonMSFT AaronRobinsonMSFT commented Sep 1, 2021

Copy link
Copy Markdown
Member

This is done because MSVC's STL provides the file as compilable for C++23 but not currently for C11/C17.

I was able to confirm locally the proposed fix in the issue - #57618.

Fixes #57618

/cc @jkoritzinsky

 to an existance check. This is done because MSVC's STL provides
 the file as compilable for C++23 but not currently for C11/C17.
@AaronRobinsonMSFT AaronRobinsonMSFT added the area-Infrastructure-coreclr Only use for closed issues label Sep 1, 2021
@AaronRobinsonMSFT AaronRobinsonMSFT added this to the 7.0.0 milestone Sep 1, 2021
@ghost

ghost commented Sep 1, 2021

Copy link
Copy Markdown

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

This is done because MSVC's STL provides the file as compilable for C++23 but not currently for C11/C17.

Fixes #57618

/cc @jkoritzinsky

Author: AaronRobinsonMSFT
Assignees: -
Labels:

area-Infrastructure-coreclr

Milestone: 7.0.0

@ghost

ghost commented Sep 1, 2021

Copy link
Copy Markdown

Hello @AaronRobinsonMSFT!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost
ghost merged commit 7e7dc52 into dotnet:main Sep 2, 2021
@AaronRobinsonMSFT
AaronRobinsonMSFT deleted the runtime57618 branch September 2, 2021 04:10
@ghost ghost locked as resolved and limited conversation to collaborators Oct 2, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure-coreclr Only use for closed issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MSVC's C++23 <stdatomic.h> breaks the CoreCLR build

3 participants