KhronosGroup / OpenCL-Headers

Khronos OpenCL-Headers
Apache License 2.0
666 stars 236 forks source link

Disable anon struct warnings for Clang on Win using GNU-like CLI #200

Closed MathiasMagnus closed 2 years ago

MathiasMagnus commented 2 years ago

I started compiling OpenCL-Layers on Windows using clang using both clang-cl.exe and clang.exe. When using the GNU-like CLI, it warns about anon-structs like GCC does too and the __extension__ decorator is required.

bashbaug commented 2 years ago

This PR has been open for a while with no other reviews and CI is clean. Merging.