<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - clang 3.9 targeting mingw fails for __float128 (from type_traits) with -std=gnu++0x"
href="https://llvm.org/bugs/show_bug.cgi?id=30685">30685</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang 3.9 targeting mingw fails for __float128 (from type_traits) with -std=gnu++0x
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.9
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows 2000
</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>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nikolai.kosjar@qt.io
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>The file reproduce.cpp with the content
#include <type_traits>
int main() {}
can be compiled just fine with clang 3.8:
> clang.exe -target i686-w64-mingw32 -std=gnu++0x reproduce.cpp
>
while clang 3.9 produces an error:
> clang.exe -target i686-w64-mingw32 -std=gnu++0x reproduce.cpp
In file included from reproduce.cpp:1:
D:\usr\qt-5.6.0-mingw492_32\Tools\mingw492_32\i686-w64-mingw32\include\c++\type_traits:279:39:
error: __float128 is not supported on this target
struct __is_floating_point_helper<__float128>
^
1 error generated.
>
Note: Works fine with -std=c++11 instead of -std=gnu++0x.
Relevant change seems to be <a href="https://reviews.llvm.org/rL268898">https://reviews.llvm.org/rL268898</a> - looks like
mingw was forgotten?
(There is some history before, e.g. original/initial change was
<a href="https://reviews.llvm.org/rL266186">https://reviews.llvm.org/rL266186</a>, then it was reverted with
<a href="https://reviews.llvm.org/rL266460">https://reviews.llvm.org/rL266460</a>)</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>