April 24, 2026
2:47 p.m.
Jacek Caban (@jacek) commented about dlls/opengl32/tests/opengl.c:
ok_(__FILE__,line)( err == exp, "glGetError returned %x, expected %x\n", err, exp ); }
+#define USE_GL_FUNC( func ) static PFN_ ## func p ## func; +ALL_GL_EXT_FUNCS +ALL_WGL_EXT_FUNCS +#undef USE_GL_FUNC
This will trigger a ton of `-Wunused-but-set-global` on recent Clang. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10739#note_137608