clay
clay copied to clipboard
[Examples/Raylib] Raylib Renderer uses C99 style designated initializers
The title is pretty self explanatory, but I'm trying to use clay_renderer_raylib.c with C++, and whenever I compile, I get a bunch of errors which read
Error C4576 a parenthesized type followed by an initializer list is a non-standard explicit type conversion syntax
They're all pointing to different lines in clay_render_raylib.c. I'm not sure if I need to define or flag something to stop this from being an issue, but I can't figure it out. I have my project configured to ISO C++ 20
, and ISO C17
for C++ and C respectively.
If you need more info, let me know.