title: macos fatal error: sys/_types/_int8_t.h: No such file or directory #include <sys/_types/_int8_t.h>
body: <p>I recently updated the system macOS Mojave 10.14 and faced the following trouble. I'm not going to projects with using ++ through gcc (my version 8.2) and clang (7.0). The problem is that the program, as I understand it, does not find the standard libraries and gives all the errors like this one :</p>
  
  <pre><code>/usr/local/bin/g++-8 -I//Users/MyNames/Desktop myFile.cpp -MyFinalFile -std=c++2a
  In file included from /usr/local/Cellar/gcc/8.2.0/lib/gcc/8/gcc/x86_64-apple-darwin17.7.0/8.2.0/includ e/stdint.h:9,
  from builddest.cpp:1:
  /usr/local/Cellar/gcc/8.2.0/lib/gcc/8/gcc/x86_64-apple-darwin17.7.0/8.2.0/includ e-fixed/stdint.h:27:10:fatal error: sys/_types/_int8_t.h: No such file or directory
  
      #include &lt;sys/_types/_int8_t.h&gt;
  </code></pre>
  
  <p>Depending on the included header files, I get different errors.On the internet I found some tips, such as :
  reinstall XCode (my installed Version 10.0 (10A255) ), install command lines tools - I reinstalled, but nothing helped. In XCode everything works fine. My system is mac mini 2012, macOS 10.14 . Before the upgrade everything worked perfectly.I will be happy for any help
  p.s.
  If you don’t add any dependencies at all, then everything is going perfectly.</p>