<div dir="ltr">Certain low level headers are very tightly tied to the compiler implementation (containing compiler intrinsics, etc) - so they have to be provided by/paired with the compiler.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 1, 2019 at 11:58 PM Gaier, Bjoern via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="DE">
<div class="gmail-m_7404914732510855915WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hello Clang-Experts,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I’m using Clang-CL in Visual Studio – everything is working fine! Hooray!
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">But recently I noticed that some header files related to the C-Library are duplicated on my hard drive. For example: stddef.h – so I searched for it and noticed, that Visual Studio has like… 5 of them, but all related
to different versions of MSVC. That made sense to me, but then: surprise! I also have that file under “C:\Program Files\LLVM9\lib\clang\9.0.0\include” being obviously related to Clang. I also noticed that there are many files duplicated between Clang and MSVC.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Now I wonder… If I run Clang-CL, should I use the most up to date MSVC header or the Clang one?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Why are these files duplicated anyway? <u></u>
<u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I feel like, that this is a silly question, but I seriously have no idea.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kind greetings<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Björn<u></u><u></u></span></p>
</div>
Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816, USt.ID-Nr. DE 114 165 789 Geschäftsführer: Dr. Hiroshi Nakamura, Dr. Robert Plank, Markus Bode, Heiko Lampert, Takashi Nagano, Takeshi Fukushima. Junichi Tajika
</div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>