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
Build failure with gcc 7.0.1 #81
Comments
|
...and there are a few more: |
|
Hi, Can you confirm if the Thanks for the report! |
|
Yep, the gcc7 branch builds for me. |
|
Thanks for the report! I'd love to get this in CI to make sure we don't regress, but I don't see an easy way to get gcc-7 packages in travis right now. |
|
One way to get gcc7 and pretty much anything would be to use docker in Travis, for inspiration see e.g. what I've done in https://github.com/rpm-software-management/rpmlint (not necessarily the prettiest, but has worked for me). |
|
Hi, i just tried packaging tag 0.6.2 into a conda package and ran into the same issue, referenced in OPs first post. I hard coded a patch for ubuntu/debian systems by truncating explicitly, This version of snprintf obviously lacking type safety because sizeof() returns size_t. Edit: (couldn't stop myself) |
|
Which suggests to me that this comparison is a valid way to check for truncation. I'm not really sure what the right fix is here. |
|
Yeah you are absolutely right. Also my truncating before using snprintf() and checking the size afterwards is really redundant. This tool works like a charm by the way. |
Build fails with current Fedora rawhide, gcc 7.0.1:
The text was updated successfully, but these errors were encountered: