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 fread ignored result #370

Merged
merged 1 commit into from
Aug 27, 2019
Merged

Conversation

swarren
Copy link
Contributor

@swarren swarren commented Aug 21, 2019

Some compilers (e.g. gcc-7.4.0 on Ubuntu 18.04 aarch64) complain about
the fact that fread()'s result is ignored. This breaks compilation. Fix
this so that the library can be compiled with more compilers.

This issue was found by a user who was accidentally(?) installing this
library on NVIDIA Jetson. I haven't evaluated whether this library is
useful on this platform, but there's no reason it should fail to compile
there for such a generic issue. Besides, this fix will probably be useful
on more relevant platforms if/when they upgrade their compilers.

Some compilers (e.g. gcc-7.4.0 on Ubuntu 18.04 aarch64) complain about
the fact that fread()'s result is ignored. This breaks compilation. Fix
this so that the library can be compiled with more compilers.

This issue was found by a user who was accidentally(?) installing this
library on NVIDIA Jetson. I haven't evaluated whether this library is
useful on this platform, but there's no reason it should fail to compile
there for such a generic issue. Besides, this fix will probably be useful
on more relevant platforms if/when they upgrade their compilers.
@ladyada
Copy link

ladyada commented Aug 21, 2019

@Gadgetoid dya know when you might be doing a sweep of this repo?

@Gadgetoid
Copy link
Collaborator

@ladyada sorry, I've been buried in all manner of other projects and have let this slip somewhat. Don't hestitate to have someone give me a shout if anything is urgent.

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.

5 participants