Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.6.0
-
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.