-
Notifications
You must be signed in to change notification settings - Fork 151
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
error: ‘%s’ directive output may be truncated writing up to 2511 bytes into a region of size between 875 and 966 #75
Comments
I did hit the same issue, seems the checks got stricter with the updated g++:
As a workaround you can just add an option to demote the error to a warning:
but in the long run better bounds checking might be needed. |
jharbott
added a commit
to x-ion-de/stress3
that referenced
this issue
May 25, 2018
There is some stricter bounds checking related to snprintf() calls with the updated compiler, causing issues when building e.g. on Ubuntu Bionic, see [0]. Add a flag to ignore that check. [0] bji/libs3#75
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! When i try to compile libs3 on a clean Ubuntu 18.04 I run into troubles:
The text was updated successfully, but these errors were encountered: