Settings

Theme

Clang 5 in a Docker container for C++17 development

solarianprogrammer.com

2 points by octopus 8 years ago · 2 comments

Reader

ryanpepper 8 years ago

> The last point is especially important if your host operating system is macOS, on which it is a really bad idea to directly install a binary Clang other than the one that comes with Xcode.

Why is this? I mean, I understand why you don't want to install over the system compiler, but having another version of Clang installed side by side shouldn't be an issue, should it?

  • octopusOP 8 years ago

    People had all sort of problems when using Apple unsanctioned Clang binaries (problems when Xcode updates, other software gets confused if you add your new Clang to the system PATH). It is easy to get in trouble, better to avoid the problem.

    In theory, yes, you should be able to run a different version of Clang side by side.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection