Skip to content

2.1.2: Restore support for non-C++17 compilers

Compare
Choose a tag to compare
@mudge mudge released this 20 Sep 08:28
· 154 commits to main since this release
700567a

Some of the C++ changes in 2.1.1 involved a C++17 extension: 'if' initialization statements (e.g. if (bool foo = bar; bar != baz) { which meant the gem would only compile with a C++ compiler that supported that version of the language.

As users may be compiling against older versions of RE2 that only require C++11, remove this extension from the codebase to restore support for this use case.


SHA256 checksums:

dbd87fb2432f17734cfb948d38cb0d138335228d31c4316719c75ac0a976731f  re2-2.1.2-aarch64-linux.gem
4c0d903508bc0d82f27d09c84498e0fdc6ab87ef418bea884d711b85f7fca62f  re2-2.1.2-arm-linux.gem
39bb8a44a4afbd2d3f2e07d531d223728f7c4b83946bc55e8ce6aae8c2c34579  re2-2.1.2-arm64-darwin.gem
a1ad9cda576dae6020664c7578d7e43d2062ca21e5e945aea125f539944ee713  re2-2.1.2-x64-mingw-ucrt.gem
804fc9bafc6590e3e75d27d289546d7223b51bf3e46e9d81ee89cf5168c1a9be  re2-2.1.2-x64-mingw32.gem
6a048f8a1511a5481f7a386045e67ecbb221a856d2987b33a231efb5e17250bc  re2-2.1.2-x86-linux.gem
8e0e9d0f3166ff3000ffa38a05c9e5275ba431f2abce494fa7600033206ce108  re2-2.1.2-x86-mingw32.gem
6b41f328b551173e58eb04320c70295de143b5aeb38c78122aa623a4308bc472  re2-2.1.2-x86_64-darwin.gem
e082a1db722b7da3adc9e1f9d8681cba80a2d1176c54ae741443965ce277e6af  re2-2.1.2-x86_64-linux.gem
06bd25bf566dda720cbc607ceecb65ed16871427fbcb3e5239c300ec796fee9c  re2-2.1.2.gem