Skip to content
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

fix compile issues with gcc 5.x #3

Merged
merged 1 commit into from
Dec 26, 2015
Merged

fix compile issues with gcc 5.x #3

merged 1 commit into from
Dec 26, 2015

Conversation

gtgt
Copy link

@gtgt gtgt commented Nov 6, 2015

This is fix for make error messages like:

"error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]"

@osm0sis
Copy link
Owner

osm0sis commented Nov 9, 2015

Thank you for including what gcc version you're using in the pull request.

Judging by it being fread at fault again, this looks like the same issue as https://github.com/osm0sis/mkbootimg/pull/2/commits so now I'm just debating which solution I want to commit.

@gtgt
Copy link
Author

gtgt commented Nov 23, 2015

Yes, exactly. Same issue, different solution...

@osm0sis
Copy link
Owner

osm0sis commented Dec 26, 2015

Yours is cleaner. Thanks!

osm0sis added a commit that referenced this pull request Dec 26, 2015
fix compile issues with gcc 5.x
@osm0sis osm0sis merged commit 4e8fea9 into osm0sis:master Dec 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants