You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file src/pcre2.h.in is instantiated as src/pcre2.h.generic with the version numbers filled in, which I guess sadly requires that every change made to pcre2.h is made twice. (I wonder... is there no way to split this header file into just the version number and then the rest of the content? ;P) Recently, while the changes from 303e3bc to pcre2.h.in were included in pcre2.h.generic, the changes from c13d54f, a608946, and c80c633 were not, causing an inconsistent drift in the available definitions.
The text was updated successfully, but these errors were encountered:
pcre2.h.generic is automatically generated when a release is being prepared using "make dist" (the code is in Makefile.am). This dates back to the days before PCRE2 was on GitHub. pcre2.h itself is generated from pcre2.h.in when somebody runs ./configure. There is a similar issue with config.h.generic, but no double editing is required. These days I do usually remember to run the script that updates the HTML docs when I edit the "man" versions. I will now try to remember to run the relevant Make targets when pcre2.h.in is edited, and do it soon so that everything is in step.
The file src/pcre2.h.in is instantiated as src/pcre2.h.generic with the version numbers filled in, which I guess sadly requires that every change made to pcre2.h is made twice. (I wonder... is there no way to split this header file into just the version number and then the rest of the content? ;P) Recently, while the changes from 303e3bc to pcre2.h.in were included in pcre2.h.generic, the changes from c13d54f, a608946, and c80c633 were not, causing an inconsistent drift in the available definitions.
The text was updated successfully, but these errors were encountered: