-
Notifications
You must be signed in to change notification settings - Fork 141
Generating build files for Windows is failing #1192
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
Labels
windows
Add this to all windows specific issues or PRs
Comments
kaadam
added a commit
to kaadam/flang
that referenced
this issue
Dec 16, 2021
clang-cl doesn't recognize "-P -E -x c" compiler arguments, we should use MSVC version of them "/E /TC". Seems clang-cl is not able to handle /P /E together so I only left the necessery one. Fixes: flang-compiler#1192
kaadam
added a commit
to kaadam/flang
that referenced
this issue
Dec 16, 2021
clang-cl doesn't recognize "-P -E -x c" compiler arguments, we should use MSVC version of them "/E /TC". Seems clang-cl is not able to handle /P /E together so I only left the necessery one. Fixes: flang-compiler#1192
kaadam
added a commit
to kaadam/flang
that referenced
this issue
Dec 16, 2021
clang-cl doesn't recognize "-P -E -x c" compiler arguments, we should use MSVC version of them "/E /TC". Seems clang-cl is not able to handle /P /E together so I only left the necessary one. Fixes: flang-compiler#1192
kaadam
added a commit
to kaadam/flang
that referenced
this issue
Dec 16, 2021
clang-cl doesn't recognize "-P -E -x c" compiler arguments, we should use MSVC version of them "/E /TC". Seems clang-cl is not able to handle /P /E together so I only left the necessary one. Due to preprocessing upperilm.in, '#' will be represented in output. It needs to add a new list filter which exclude those lines which starts with '#'. Fixes: flang-compiler#1192
kaadam
added a commit
to kaadam/flang
that referenced
this issue
Dec 17, 2021
clang-cl doesn't recognize "-P -E -x c" compiler arguments, we should use MSVC version of them "/E /TC". Seems clang-cl is not able to handle /P /E together so I only left the necessary one. Due to preprocessing upperilm.in, '#' will be represented in output. It needs to add a new list filter which exclude those lines which starts with '#'. Fixes: flang-compiler#1192
bryanpkc
pushed a commit
that referenced
this issue
Dec 21, 2021
clang-cl doesn't recognize "-P -E -x c" compiler arguments, we should use MSVC version of them "/E /TC". Seems clang-cl is not able to handle /P /E together so I only left the necessary one. Due to preprocessing upperilm.in, '#' will be represented in output. It needs to add a new list filter which exclude those lines which starts with '#'. Fixes: #1192
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With a recent version of Flang, I got the following error message after this PR #1129 :
It seems preprocessing upperilm.in with clang-cl is not working.
It blocks to enable build Flang for Windows until CMakefiles #1184 at the moment.
The text was updated successfully, but these errors were encountered: