Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix build with mips-mti-elf-gcc 4.9.2 #3

Closed
wants to merge 1 commit into from

Conversation

vincent-d
Copy link
Contributor

While integrating littlefs as a package for RIOT (RIOT-OS/RIOT#8239), I had build errors with gcc 4.9.2 on mips (missing-field-initializers).

This PR fix them.

@geky
Copy link
Member

geky commented Jan 2, 2018

Hi @vincent-d, thanks for the patch.

Interesting though, this looks like a compiler bug that's been resolved in gcc version 5:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64480

If you aren't able to update gcc, is it possible to add the -Wno-missing-field-initializers flag in the meantime?

@vincent-d
Copy link
Contributor Author

Hopefully we'll be able to update the toolchain. I'll disable the waning in the meantime.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants