-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
variable 'j' set but not used #1288
Comments
I'm not sure why |
It looks like this variable is only used by a human to debug if the test |
Maybe this variable could be renamed to something like |
Sorry, I'm not familiar with your setup and it might depend on your configuration or software versions. I don't get the warning with g++ 11.4.0. Have you tried renaming the variable to |
No, renaming Probably there are some C/C++ specific ways to suppress the warning? As far as I understand Android NDK uses |
You have to come up with ways to re-write the code so that the compiler detects
or you could change the loop condition to use
If none of those work... you have to be more creative than me. Another option is to disable the warning from the compiler, perhaps you could add |
Building
cryptopp-cmake
v8.9.0 withcmake
v3.22.1 under Android Studio on Windows 10 produces the following warning:The text was updated successfully, but these errors were encountered: