Re: C++20 and wxwidgets 3.0.5 error

Vadim Zeitlin <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Tue, 5 Sep 2023 13:34:27 -0700 (PDT) Max Ernst wrote:

ME> I am trying to build a project using meson.
ME> 
ME> However, I am getting the error 
ME> 
ME> in C++20 this comparison calls the current function recursively with 
ME> reversed arguments [-Werror]
ME>  4062 |     { return i == *this; }
ME> 
ME> This is not a project I started so I am not sure the exact purpose of using 
ME> wxwidgets here, but I have been unable to find a solution for this problem. 
ME> Any advice?

 Update to wxWidgets 3.2 if you need C++20 support, wx 3.0 doesn't support
it (which is hardly surprising considering it had been released 10 years
ago, i.e. even before C++14 let alone C++20).

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
              https://www.tt-solutions.com/
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZPeVHwAKCRAG6kHeT2we
hsBCAJ9+xXx/DobdSwTUAycB3xQbUYHXOwCfZQjwRJJ1JTVGwuPYKOBNLDXw88Y=
=znL6
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.