zeux / volk

Meta loader for Vulkan API
MIT License
1.35k stars 118 forks source link

Ignore pedantic check on function pointer cast for GCC #182

Closed spanzeri closed 6 months ago

spanzeri commented 6 months ago

This change allows gcc to clean compile with Wall, pedantic and -Werror. Meson in particular toggles -pedantic in warning_level=3 which causes GCC compilation to fail. The error, while technically not incorrect, it has been discussed since 2017 and it is unlikely to be fixed/changed on GCC's side https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83584

zeux commented 6 months ago

Thanks!