perl-tk icon indicating copy to clipboard operation
perl-tk copied to clipboard

pregcomp2.c: Avoid using incompatible pointer type

Open chrstphrchvz opened this issue 1 year ago • 0 comments

See https://github.com/eserte/perl-tk/issues/98#issuecomment-1948125587: Newer compilers may have -Werror=incompatible-pointer-types by default. Since pregcomp2.c does not dereference the result of pregcomp2(), the result can be assigned to void * instead. There is already the regexp511.c configuration test to decide whether to use REGEXP * instead of regexp *, but that test is run after pregcomp2.c.

chrstphrchvz avatar Feb 19 '24 20:02 chrstphrchvz