Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-17126

Clang/ClangStaticAnalyzer: "_float128 is not supported on this target" for mingw's <type_traits> header and clang 3.9

    XMLWordPrintable

Details

    Description

      The code

      #include <type_traits>
      int main() {}
      

      leads to parse errors with a mingw toolchain and -std=gnu++0x (-std=c++11 works fine):

      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.
      

      This is reproducible out of the box with a qmake project and a mingw toolchain
      because qmake passes on -std=gnu++0x (as result of CONFIG = c+11). To
      reproduce with qbs, the cpp.cxxLanguageVersion has to be set explicitly to
      gnu++0x.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-17126
          # Subject Branch Project Status CR V

          Activity

            People

              kosjar Nikolai Kosjar
              kosjar Nikolai Kosjar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes