-
Notifications
You must be signed in to change notification settings - Fork 23
CI complain about missing standard module interface for Windows build #68
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
Comments
Thanks for opening this issue... I have not had a chance to look at this. |
@JohelEGP -- do you have any idea why this is happening? It used to work, then became intermittent, and now is consistently failing. |
I suppose it's the |
No, unfortunately it's not so simple. Here's one of the command lines from the tests:
I can clearly see both |
Then it might be |
Ugh, I wish I knew why that wasn't always needed. We can try adding that. |
It seems like it's already added at https://github.com/modern-cmake/cppfront/blob/main/regression-tests/cmake/CMakeLists.txt.in#L14. |
Oh, and sure enough, it's in the command line above... maybe removing it would help, if the MSVC version is new enough? |
Another difference is that https://github.com/hsutter/cppfront/blob/main/regression-tests/test-results/msvc-2022/run-tests-msvc-2022.bat |
We could try this
instead of this: Line 57 in 43340d3
That should give |
I don't think that's it. It still fails: https://compiler-explorer.com/z/aGaj5z58q. |
Maybe it's just as the error message says, |
Yeah, that's not going to work on GitHub Actions, though. |
Maybe you can downgrade the version of MSVC to one that works: https://github.com/ilammy/msvc-dev-cmd#inputs. |
This is frustrating... I cannot reproduce the error locally (with VS2022, v14.34 toolset, same as GHA). Everything "just works" here. The documentation suggests that the C++ modules are indeed installed (component |
I've put in the time I have to look at this during the week. I'll try again on the weekend. |
This is no longer the issue with MSVC. Now we have issues in the |
Some tests are failing due to the following error:
The text was updated successfully, but these errors were encountered: