Broken c++ std libraries on macOS High Sierra 10.13

前端 未结 5 586
庸人自扰
庸人自扰 2020-12-04 19:28

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

5条回答
  •  时光取名叫无心
    2020-12-04 19:49

    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).

提交回复
热议问题