mozangle icon indicating copy to clipboard operation
mozangle copied to clipboard

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

Open jdm opened this issue 5 years ago • 3 comments

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 avatar Jun 26 '20 20:06 jdm

r? @jrmuizel

jdm avatar Jun 26 '20 20:06 jdm

The windows failure is #41.

jdm avatar Jul 08 '20 19:07 jdm

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

bors-servo avatar Mar 10 '21 20:03 bors-servo