https://bugs.kde.org/show_bug.cgi?id=426335

Francis Herne <m...@flherne.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |m...@flherne.uk
          Component|Analyzer: Clang-Tidy        |Language Support: CPP
                   |                            |(Clang-based)
             Status|REPORTED                    |CONFIRMED

--- Comment #2 from Francis Herne <m...@flherne.uk> ---
The same errors are reported when calling `clang -cl-std=CL1.2 file.cl`.


Adding `-include /usr/lib/clang/10.0.1/include/opencl-c.h` to the command
resolves them, and jpsollie reports that adding this same header to 'Custom
Defines/Includes' makes KDevelop work.

We should probably include this automatically when parsing CL files in
KDevelop.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to