When I compile the statement mentioned in the title using GCC 12.3.0-2, the compilation fails with the error: "error: 'log2' is not a member of 'std'; did you mean 'log'?" However, when using GCC 12.4.0-2, it compiles successfully, with identical compilation parameters and source code. The only difference is the release version of GCC 12. Could this issue be caused by the parameters configured when building GCC 12 from source? If so, specifically which parameter might be responsible?
When I compile the statement mentioned in the title using GCC 12.3.0-2, the compilation fails with the error: "error: 'log2' is not a member of 'std'; did you mean 'log'?" However, when using GCC 12.4.0-2, it compiles successfully, with identical compilation parameters and source code. The only difference is the release version of GCC 12. Could this issue be caused by the parameters configured when building GCC 12 from source? If so, specifically which parameter might be responsible?