<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/83453>83453</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
General Question - Approach to Use of Clang for Windows Apps (Windows API)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
CompCodeNet
</td>
</tr>
</table>
<pre>
Hi, goal is:
- Write general Windows desktop and server apps using the Windows API
- Windows-only approach is OK, portability to other OS is not a priority
- Desktop apps include Windows UI (e.g. CreateWindow(...))
- Windows SDK only - No Visual Studio and no MSVC tools / libs that require Visual Studio license
What is a recommended approach to this? For example, can the LLVM 17.0.6 installation for Windows be used? Is ming4-64 (e.g. msys2) a better approach?
What are important considerations?
- Ramifications regarding standard C and C++ libraries?
- Issues regarding compiling with Windows headers, e.g. Windows.h?
- Issues linking with windows API libraries
Thank You. I'm somewhat familiar with clang and clang tools, but this is my first foray into using clang for Windows app development.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkVEtv4zYQ_jX0ZWBBpmRHOuiQOFBr7Kttugl6HIkjaRqKVEkqqf99Qdmx3V3AsAl6Ht9jOOg994aoEtsHsX1c4RwG66q9Hae9VfSVwqqx6lj9ykLuobeogb3I7kX6KNLz9xpeHAeCngw51PDCRtl3D4r8a7AToFHgyb2RA5wmD7Nn00MY6BJ5_9vhUup0tbZGH2O4s9gOwB6-fYoIJusCNqw5HCFYsGEgB9-eYoCxARAmx9ZxOH7Ue_wAETuzafWsrn2_H0DIgpI-gb0jDHT6Q8giSRIhy_j5Py54evwEC7Y1fLXwzH5GDU9hVmwXosbCl6fnPQRrtQcha9DceAgDBnD0z8yOfsjS3JLxdKvoS4xmDwiOWjuOZBSpqxrBQhiiDTXU1gH9i-OkKcrTolmE_fz5-Qts7pI02QEbH1BrDGwNdNZdqDQEsycVyxw8jGz6fL3LL4qM_uilkCUgNBTCyb0FgMjqn9CiI-BxsccEaK3xrMgtTf0lfg1_4Mgdt6d7cNSjU3EafECj0CnYLyruhXwQ8iFq59AxLVw_ahy8n-k2ubXjxDqe3jkMF34DoSLnoy4LofN9MtzgOdfSbF4v-e_XqbwCgFvGfw5oXuEvOydwEPJuBG9Heo8ydDiyZnSnSq1G0y-ETqdlKCKeZg6LhdHk8QgdOx-iN3gENsGen8gp6dYynCZQ9EbaTiOZkNyCWqkqU2VW4oqqzV1aSlmU22w1VBKzLi_UrtvmRVrIQhZ3m2yTtmXXNDvZpSuuZCrzVMpyc5eXmyzJCKnJm12ncKeabS7ylEZknWj9NibW9SuOulVFlm-zlcaGtF82iJQLZiFlXCauivHrZu69yFPNPvhrhcBBU_XLeWf8PpNfBnQN9zdj_t0T2A72PwlxH5-zkMXtBpHlana6GkKYlhUlayHrnsMwN0lrRyHr2Pz8s56c_ZvaIGS9cPFC1gud_wIAAP__P3Sr0g">