<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 - __float_128 clang-cl on Windows 10 x64 using Mingw64 / GCC 8.1 to enable 128-bit float Boost.Multiprecision and Boost.Math fails to compile."
   href="https://bugs.llvm.org/show_bug.cgi?id=40879">40879</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>__float_128 clang-cl on Windows 10 x64 using Mingw64 / GCC 8.1 to enable 128-bit float Boost.Multiprecision and Boost.Math fails to compile.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>8.0
          </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>paul@pbristow.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>__float_128 clang-cl on Windows 10 x64 using Mingw64 / GCC 8.1 to enable
128-bit float Boost.Multiprecision and Boost.Math fails to compile.

I have Clang-cl (8.0.0) working on Windows 10 64-bit to run current develop
Boost.Math and boost.Multiprecision tests and examples using MSVC 15.9.7
(without float128) and Mingw64 GCC 8.1.0 (including 128-bit using quadmath.h
from Mingw64 GCC), but when I try to enable Clang to similarly use quadmath.h
(using the header and library libquadmath.dll from Mingw64 install via an
include, or even copying the file into the Clang include folder), it fails to
compile thus

C:\LLVM\clang-800\LLVM\lib\clang\8.0.0\include\quadmath.h

In file included from hello_boost_float128.cpp:10:
In file included from ..\..\..\boost/multiprecision/float128.hpp:47:
C:\LLVM\clang-800\LLVM\lib\clang\8.0.0\include\quadmath.h(33):  error:
unsupported machine mode 'TC'
C:\LLVM\clang-800\LLVM\lib\clang\8.0.0\include\quadmath.h(47):  error:
__float128 is not supported on this target

error: unsupported machine mode 'TC' is said to refer to complex__float128
which is not something that I am explicitly using (but might be in the
Boost.Multiprecision internals).

  error: __float128 is not supported on this target

is quite explicit, but it would be very useful if this could be supported.</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>