``` --- /var/tmp/portage/media-gfx/opentoonz-1.4.0/temp/clang16-safe.log 2023-02-04 22:11:17.547117173 +0000 +++ /var/tmp/portage/media-gfx/opentoonz-1.4.0/temp/clang16-errors.log 2023-02-04 22:11:17.547117173 +0000 [...] @@ -189,12 +195,13 @@ ignoreme: error: ISO C requires a named parameter before '...' GLvoid (*func)(...); gluTessCallback(0, 0, func) ^ -ignoreme: warning: incompatible function pointer types passing 'GLvoid (*)(...)' (aka 'void (*)(...)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] +ignoreme: error: incompatible function pointer types passing 'GLvoid (*)(...)' (aka 'void (*)(...)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] GLvoid (*func)(...); gluTessCallback(0, 0, func) ^~~~ /usr/include/GL/glu.h:336:87: note: passing argument to parameter 'CallBackFunc' here GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^ ```
[19:45:59] <@sam_> $ grep -rsin "error.*incompatible function" /var/tmp/portage/dev-tcltk/tkimg-1.4.14-r2/work/Img-1.4.14-Source/ [19:46:03] <@sam_> /var/tmp/portage/dev-tcltk/tkimg-1.4.14-r2/work/Img-1.4.14-Source/libtiff/config.log:2243:conftest.c:58:44: error: incompatible function pointer types passing 'GLvoid (*)(...)' (aka 'void (*)(...)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] [19:46:06] <@sam_> (w/ clang 16) [19:46:19] <@sam_> the test is 'checking for varargs GLU tesselator callback function type' so it might be ok [19:47:01] <@sam_> i think it's ok (a false positive/not a problem)