OpenCL-Headers icon indicating copy to clipboard operation
OpenCL-Headers copied to clipboard

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

Open MathiasMagnus opened this issue 3 years ago • 0 comments

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.

MathiasMagnus avatar May 24 '22 09:05 MathiasMagnus