I recently bought a new MacBook on which I transferred my old session. Since then, and after i upgraded to 10.13, i can\'t get clang to compile anything including only iostr
I had exactly the same problem today and after executing xcode-select --install, everything works fine!
xcode-select --install