<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - r362459's unit test hits a bug in MSVC that causes it to fail to build"
href="https://bugs.llvm.org/show_bug.cgi?id=42230">42230</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>r362459's unit test hits a bug in MSVC that causes it to fail to build
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows XP
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>erich.keane@intel.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>As RKSimon mentions here: <a href="https://reviews.llvm.org/rL362459#change-mx46UHL2Colz">https://reviews.llvm.org/rL362459#change-mx46UHL2Colz</a>
Compiling check-all on MSVC with Werror causes the unit test
DependencyDirectivesSourceMinimizerTest.cpp to fail to build due to the comma
issue mentioned.
This is actually because of the MSVC bug listed here:
<a href="https://developercommunity.visualstudio.com/content/problem/67300/stringifying-raw-string-literal.html">https://developercommunity.visualstudio.com/content/problem/67300/stringifying-raw-string-literal.html</a>
Here is a minimization of this issue here: <a href="https://godbolt.org/z/RFcVcb">https://godbolt.org/z/RFcVcb</a> .
Change one of the outputs to use /E to see the mess that MSVC makes out of
this while stringifying them :)
I suspect the MinimizeSourceToDependencyDirectivesTest, RawStringLiteral test
might need disabling in the meantime.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>