Issue 154406
Summary [C++4OpenCL] -nostdinc is broken due to "-finclude-default-header" passed by driver
Labels new issue
Assignees
Reporter piotrrak
    ```clang -std-cl=clc++ -nostdinc``` on any input.

```
<built-in>:1:10: fatal error: 'opencl-c-base.h' file not found
    1 | #include "opencl-c-base.h"
```

https://godbolt.org/z/ohT9a675b

Please note that since there is no `-fno-include-default-header` option there is no workaround even with `-Xclang` (known to me)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to