<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55807>55807</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
visual studio 17 report error when I try to include "clang/Frontend/CompilerInstance.h"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
AlexPeiran
</td>
</tr>
</table>
<pre>
```C++
#include "clang/Frontend/CompilerInstance.h"
int main(int argc, char **argv) {
return 0;
}
```
When I try to build this, vs told me:
'operator __surrogate_func': no matching overloaded function
and
Failed to specialize function template 'unknown-type std::less<void>::operator ()(_Ty1 &&,_Ty2 &&) const'
The location where these errors occur is ...\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\algorithm
llvm version:12.0.1
vs version:15.9.48
Is this a known error or is it my fault?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydU01v2zAM_TXyhaghy7FdH3zI0gXoYUCBFt0xkGXa1qZIhiQny379aCftsusAQeKHRL5HUq3rLg0r-XXtmPiyLP7E-JaJXFtl5g6BCaGMtAMT-713NqLtSNy546QN-mcborQK05Hu3d6uu7YRjlJbJh4XUfpBMbEDNUpPISnBlkwnJmpg1UdSXnuMs7fAWf5hq55uwgfOq_p9RAvPEP0FooN21qaDOOqw5DgFspF-RJZvP_hUbkIvo_NwOITZezfIiId-tgSrontgHeGNatR2AHdCb5zssIPlRtTOXuNIIr8Ke0nsuyV3mFBpafRv_LwLEY-TofjEtJrtT-vO9iFeJoQQuwVTvjUYAst3J6fJ8PVq-0RINaPC0H54u2SklevakSY-tRqUo9ov4O-q_jYiGKfkiuI8okeqCgYEJMY-gFNq9qADpGnKit03rbwLro_wrsMsDbzGudOOPIJnFR0v3vWElKJJQ-r7jrY350xYHr-uarZJszIVFRc5abepIUmawXkdx-M9PmNOR6DiLhGJcSZSnmZXF3XtzlGkdbp5vH_6HNYGg4S1nldG4FY2mmbtAr2cTWT5PumavKvzWiZRR4PN6cotrNwgq8Dj5Hy8RTj_M0n_MfXJ7E0zxjiFpY1iT2sg3nObKnckZeF8Ox4m736goq7tdQgz0rjui-KRV8nYqFaWVSt4V-NGZLLOy052vKj6XAqZ9zIxskUTGlbQNxUWz7CGWL5d8ZToRnAheMkzXouCl2lfZRtVttmmrUTRtwXbcKT_aNIFR-r8kPhmhdTOQyCn0SGGv05JTR8s4pqO4ss5js43NLe_XlB7aZM1e7Oi_wO731aE">