Skip to content

Force clang to treat all input files as C++.#40

Open
jdm wants to merge 2 commits intomainfrom
jdm-patch-5
Open

Force clang to treat all input files as C++.#40
jdm wants to merge 2 commits intomainfrom
jdm-patch-5

Conversation

@jdm
Copy link
Member

@jdm jdm commented Jun 26, 2020

Fixes #38. sccache guesses what mode to run the compiler in based on the filename, which makes clang complain when we pass C++ flags when building C files. Forcing C++ mode causes sccache to skip the heuristic and clang happily compiles.

@jdm
Copy link
Member Author

jdm commented Jun 26, 2020

r? @jrmuizel

@jdm
Copy link
Member Author

jdm commented Jul 8, 2020

The windows failure is #41.

@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #50) made this pull request unmergeable. Please resolve the merge conflicts.

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

Successfully merging this pull request may close these issues.

Can't build with new versions of cc-rs when using sccache

2 participants