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

Clang: Info bar with error: unknown type name '_Float128'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.6.1
    • Qt Creator 4.6.0
    • C/C++/Obj-C++ Support
    • None
    • gcc (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0

    Description

      CMakeLists.txt:

      cmake_minimum_required(VERSION 2.8)
      add_definitions( -D_GNU_SOURCE )
      project(untitled20)
      add_executable(${PROJECT_NAME} "main.c")
      

      main.c:

      #include <stdlib.h>
      int main() {}

      Opening main.c leads to

      stdlib.h:133:8: error: unknown type name '_Float128'
      main.c:1:1: note: in file included from /home/nik/work/testprojects/untitled20/main.c:1:
      main.c:1:10: note: in file included from /home/nik/work/testprojects/untitled20/main.c:1:
      

      This errors occurs if you open e.g. c-index-test.c from LLVM/Clang.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: