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 after transferring to macOS High Sierra (though, errors were not the same, but similar).
I found a workaround by renaming /usr/local/include
to /usr/local/include_old
(well, name does not really matter, just the fact that g++/clang
will not search for headers in this folder anymore).