-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-129467: turn off false-positive -Wstringop-overflow in word_to_string() #116346
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
gh-129467: turn off false-positive -Wstringop-overflow in word_to_string() #116346
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
@vstinner, maybe you could review this little pr? Note, that 4.0.0 has more diagnostic ignored (at top of the file): #if defined(__GNUC__) && !defined(__INTEL_COMPILER) && __GNUC__ >= 7
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
#pragma GCC diagnostic ignored "-Warray-bounds"
#endif I turn of one diagnostic and more locally (with following pop directive).
|
libmpdec/ is vendored copy of a 3rd party project. You should fix the issue in the upstream first. Otherwise, it will be lost at the next update. See upstream: https://www.bytereef.org/mpdecimal/. |
Ok, then I close pr and issue. Unfortunately, @skrah blocked in python's repos. But he is aware about issue anyway. |
Merged, thank you. |
…ython#116346) Turn off false-positive -Wstringop-overflow in word_to_string().
main
:writing 1 byte into a region of size 0 [-Wstringop-overflow=]
#129467