Actions
Bug #6918
closedpcre2 compile warning
Affected Versions:
Effort:
Difficulty:
Label:
Description
The following causes a compile warning on recent pcre2 versions:
6. The prototype for pcre2_substring_list_free() specified its argument as PCRE2_SPTR * which is a const data type, whereas the yield from pcre2_substring_list() is not const. This caused compiler warnings. I have changed the argument of pcre2_substring_list_free() to be PCRE2_UCHAR ** to remove this anomaly. This might cause new warnings in existing code where a cast has been used to avoid previous ones.
https://github.com/PCRE2Project/pcre2/blob/master/ChangeLog#L267
Actions