Project

General

Profile

Actions

Bug #6918

closed

pcre2 compile warning

Added by Victor Julien about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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


Subtasks 1 (0 open1 closed)

Bug #6919: pcre2 compile warning (7.0.x backport)ClosedVictor JulienActions
Actions

Also available in: Atom PDF