<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 - `llvm-config --cxxflags` does not include the C++ standard on Windows"
href="https://bugs.llvm.org/show_bug.cgi?id=44840">44840</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>`llvm-config --cxxflags` does not include the C++ standard on Windows
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dmajor@mozilla.com
</td>
</tr>
<tr>
<th>CC</th>
<td>compnerd@compnerd.org, htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Linux, 10.0.0 release candidate branch:
$ llvm-config --cxxflags
-I/home/vm/src/llvm.install/include -std=c++14 -fno-exceptions -fno-rtti
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
Windows, 10.0.0 release candidate branch:
e:\llvm.out\bin>llvm-config.exe --cxxflags
-IE:\llvm-project\llvm\include -IE:\llvm.out\include /EHs-c- /GR-
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DUNICODE -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
Note the missing `-std=c++14` on Windows.
+compnerd because
<a href="https://github.com/llvm/llvm-project/commit/7a25de6d2073f77ea1a0d8f4cd715bec55678941">https://github.com/llvm/llvm-project/commit/7a25de6d2073f77ea1a0d8f4cd715bec55678941</a>
looks like it was trying to solve a similar problem, it seems not to have
worked on Windows though.</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>