Closed stac47 closed 3 years ago
Thanks @stac47,
I can duplicate similar problems on Fedora 33 with Clang. F33 GCC is 10.2, which does not tickle the issue.
A lot of those values are placed in enums to creates a const class value that does not take up space; as opposed to, say, a static int
, which would require a memory allocation.
(That's about a useless warning in my naive opinion, but that's a different matter).
What do you recommend?
Cleared at Commit de45ebeec15c and Commit f7e6af6344f2.
Thanks again for the report.
I am compiling Crypto++ with GCC 11 and
-std=gnu++20
and the compilation raises many warnings like the following one:From the GCC documentation (https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#C_002b_002b-Dialect-Options)
Requested information: