<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 - Hidden /d1PP flag is ignored by clang-cl"
href="https://bugs.llvm.org/show_bug.cgi?id=36446">36446</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Hidden /d1PP flag is ignored by clang-cl
</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 NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alexandre.ganea@ubisoft.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The hidden /d1PP flag is required by some buildsystems such as Fastbuild
(<a href="http://fastbuild.org/docs/home.html">http://fastbuild.org/docs/home.html</a>)
The purpose of this flag is to emit #defines in the preprocessed output, when
using /E. In the case of Fastbuild, this flag is needed to properly invalidate
Fastbuild's cache, if a PCH file changes only with different #defines.
The function TestPrecompiledHeaders::CacheUniqueness() in
<a href="https://github.com/fastbuild/fastbuild/blob/master/Code/Tools/FBuild/FBuildTest/Tests/TestPrecompiledHeaders.cpp">https://github.com/fastbuild/fastbuild/blob/master/Code/Tools/FBuild/FBuildTest/Tests/TestPrecompiledHeaders.cpp</a>
illustrates the issue.
/d1PP shall translate to -dD (OPT_dD)</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>