Re: C++20 and wxwidgets 3.0.5 error

Max Ernst <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Thank you Vadim!

How would I update to 3.2? The only sudo apt install packages I find are 
version 3.0. I would prefer to avoid a manual install and build if 
possible. Is there an easy command line approach to updating?

Best

On Tuesday, September 5, 2023 at 1:52:52 PM UTC-7 Vadim Zeitlin wrote:

> 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/
>

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/f47c5832-c5c5-484e-9131-c6b03e426cd7n%40googlegroups.com.
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.