Project

General

Profile

Actions

Bug #6918

closed
VJ VJ

pcre2: compile warning

Bug #6918: pcre2: compile warning

Added by Victor Julien about 2 years ago. Updated 12 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

VJ Updated by Victor Julien about 2 years ago Actions #1

  • 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

OT Updated by OISF Ticketbot about 2 years ago Actions #2

  • Subtask #6919 added

OT Updated by OISF Ticketbot about 2 years ago Actions #3

  • Label deleted (Needs backport to 7.0)

VJ Updated by Victor Julien about 2 years ago Actions #4

  • Status changed from In Review to Resolved

VJ Updated by Victor Julien almost 2 years ago Actions #5

  • Status changed from Resolved to Closed

VJ Updated by Victor Julien 12 months ago Actions #6

  • Subject changed from pcre2 compile warning to pcre2: compile warning
Actions

Also available in: PDF Atom