Bug ID: 30685
           Summary: clang 3.9 targeting mingw fails for __float128 (from
                    type_traits) with -std=gnu++0x
           Product: clang
           Version: 3.9
          Hardware: PC
                OS: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
    Classification: Unclassified

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:

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 - looks like
mingw was forgotten?

(There is some history before, e.g. original/initial change was, then it was reverted with

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to