PCRE is no longer maintained [1]. It is used for regular expression in
the "HAVE_RULES" feature. Cppcheck should move away from using it, as
more and more distributions remove its packages and it might break with
every new compiler version. This would replace an external dependency by
an already required C++ language standard.
The idea is not new, Daniel posted the idea 8 years ago. It would be an
answer to ticket #14902, too.
It will be some work but will reduce the project complexity.
Hi!
PCRE is no longer maintained [1]. It is used for regular expression in
the "HAVE_RULES" feature. Cppcheck should move away from using it, as
more and more distributions remove its packages and it might break with
every new compiler version. This would replace an external dependency by
an already required C++ language standard.
The idea is not new, Daniel posted the idea 8 years ago. It would be an
answer to ticket #14902, too.
It will be some work but will reduce the project complexity.
[1] https://www.pcre.org
[2]
https://sourceforge.net/p/cppcheck/discussion/development/thread/f1eec0a3f5/?limit=100#cb3b
Bye
Christoph
--
Most customers will not accept source code with compile errors in it.
Dan Saks, CppCon 2016 (https://youtu.be/D7Sd8A6_fYU)
See https://github.com/cppcheck-opensource/cppcheck/pull/7893