4.2 upgrade issues
Ayman Habib <[email protected]> Wed, 17 Apr 2024 09:18:55 -0700
| Newsgroups | gmane.comp.programming.swig |
|---|---|
| Message-ID | <CAFkhwKtYm1Lc7m7h5WXz1sKphzw8p7on9otaQU3m2sx7FZb5Zw@mail.gmail.com> |
--===============3013394130606328416==
Content-Type: multipart/alternative; boundary="000000000000d73aaa06164d3666"
--000000000000d73aaa06164d3666
Content-Type: text/plain; charset="UTF-8"
Hello,
Trying to upgrade our code base that uses swig 4.1.1 to generate bindings
to swig version 4.2, I'm running into problems with regular expressions
Swig parsing output follows...
...Utilities.h(158): error : Unterminated raw string, started with R"( is
not terminated by )"
the corresponding C++ line in the header file is
std::regex endheader{R"([ \t]*)" + _endHeaderString + R"([ \t]*)"};
The release notes indicate that there were changes relevant to regular
expressions, but it's not clear to me if this code is still allowed and we
should hold off upgrading pending a fix or if we should update the code on
our side.
Your advice or pointers to relevant changes would be much appreciated,
Thank you,
-Ayman
--000000000000d73aaa06164d3666
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hello,<div><br></div><div>Trying to upgrade our code base =
that uses swig 4.1.1 to generate bindings to swig version 4.2, I'm runn=
ing into problems with regular expressions</div><div>Swig parsing output fo=
llows...</div><div><br></div><div>...Utilities.h(158): error : Unterminated=
raw string, started with R"( is not terminated by )"<br></div><d=
iv><br></div><div>the corresponding C++ line in the header file is</div><di=
v>std::regex endheader{R"([ \t]*)" + _endHeaderString + R"([=
\t]*)"};<br></div><div><br></div><div>The release notes indicate that=
there were changes relevant to regular expressions, but it's not clear=
to me if this code is still allowed and we should hold off upgrading pendi=
ng a fix or if we should update the code on our side.</div><div><br></div><=
div>Your advice or pointers to relevant changes would be much appreciated,<=
/div><div><br></div><div>Thank you,</div><div>-Ayman</div><div><br></div><d=
iv><br></div></div>
--000000000000d73aaa06164d3666--
--===============3013394130606328416==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============3013394130606328416==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user
--===============3013394130606328416==--