Skip to content
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

Internal compiler error Ms VS 2019 #20

Open
Logris opened this issue Nov 21, 2020 · 4 comments
Open

Internal compiler error Ms VS 2019 #20

Logris opened this issue Nov 21, 2020 · 4 comments

Comments

@Logris
Copy link

Logris commented Nov 21, 2020

Visual Studio 2019 version 16.8.2

portable_concurrency.cpp
1>portable_concurrency\bits\future.hpp(168,1): fatal error C1001: Internal compiler error.

@Logris Logris closed this as completed Nov 21, 2020
@Logris Logris reopened this Nov 21, 2020
@VestniK
Copy link
Owner

VestniK commented Nov 21, 2020

Hi

Which version of the code are you trying to compile? Is it master or some release tag?

I have tried to rebuild latest master commit and latest release tag in appveyor and both completed successfully. Appveyor uses cl version 19.28.29333.0 Detailed toolchain version info in cmake log: https://ci.appveyor.com/project/VestniK/portable-concurrency/build/job/87x0bgywon2a4jm0?fullLog=true#L208

My knowlage about MSVS versions semantics is not so good but as far as I can understand cl version is the most important information fot ICE investigation.

@Logris
Copy link
Author

Logris commented Nov 21, 2020

Hi

image

@Logris
Copy link
Author

Logris commented Nov 22, 2020

Solved the problem.

If you try to compile portable concurrency.sln created on a previous update MCVS (16.7.xx), there will be an internal compiler error.

My actions: CMake -> Delete Cache -> Configure -> Generate -> Compile portable_concurrency.sln -> Ok!!!

@Logris
Copy link
Author

Logris commented Nov 22, 2020

If you set the option С++Language standart - Preview - Features from the Latest C++ Working Draft (/std:c++latest), there will be an internal compiler error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants