Project

General

Profile

Actions

Bug #6918

closed

pcre2 compile warning

Added by Victor Julien 8 months ago. Updated 7 months 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 #1

Updated by Victor Julien 8 months ago

  • Status changed from New to In Review
  • Assignee changed from OISF Dev to Victor Julien
  • Target version changed from TBD to 8.0.0-beta1
Actions #2

Updated by OISF Ticketbot 8 months ago

  • Subtask #6919 added
Actions #3

Updated by OISF Ticketbot 8 months ago

  • Label deleted (Needs backport to 7.0)
Actions #4

Updated by Victor Julien 8 months ago

  • Status changed from In Review to Resolved
Actions #5

Updated by Victor Julien 7 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF