[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: C++20 deprecation warning regarding enum arithmetic
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 23 Mar 2023 15:54:24 -0300
> > I found that when building Lua 5.4.4 as C++20 source using gcc 12, there are warnings like this:
> > lcode.c:1446:29: warning: arithmetic between different enumeration types 'BinOpr' and 'TMS' is deprecated [-Wdeprecated-enum-enum-conversion]
> Thanks for the report. Could you send all the warnings and which
> version you are compiling?
You already sent the version; I missed that.