When building libinstpatch v1.1.6 with gcc (SUSE Linux) 7.5.0 (no custom CFLAGS used) I see lots of warning messages.
warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]
warning: ISO C does not support ‘__PRETTY_FUNCTION__’ predefined identifier [-Wpedantic]
Now I know that warnings are warnings and not errors, but this one in particular because it mentions "overflow", and overflows lead to undefined behavior, should at least be considered for attenton.
warning: overflow in implicit constant conversion [-Woverflow]
#define UMAX 65535