The problem will continue to exist regardless of Lazarus version unless you contact the maintainer of the package to fix it.
It's same problem in new lazarus 2.2.0No. The issue has been fixed in rx-trunk on Nov 30,2021 by the package maintainer. rxnew compiles with every Lazarus version. But be aware: This is not true for the version which is distributed by online-package-manager (OPM)
It's same problem in new lazarus 2.2.0No. The issue has been fixed in rx-trunk on Nov 30,2021 by the package maintainer. rxnew compiles with every Lazarus version. But be aware: This is not true for the version which is distributed by online-package-manager (OPM)
actual version - https://svn.code.sf.net/p/lazarus-ccr/svn/components/rx/trunk