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

Can't build on mingw #6

Open
AutomationD opened this issue Apr 14, 2015 · 2 comments
Open

Can't build on mingw #6

AutomationD opened this issue Apr 14, 2015 · 2 comments

Comments

@AutomationD
Copy link

I'm getting this error when building on Windows (mingw):

... depend build/spiffs_check.d
... depend build/spiffs_cache.d
... depend build/spiffs_hydrogen.d
... depend build/spiffs_gc.d
... depend build/spiffs_nucleus.d
... depend build/main.d
... compile build/main.o
In file included from src/main.c:1:0:
./src/spiffs.h:183:9: error: field '_errno' declared as a function
   s32_t errno;
         ^
@AutomationD
Copy link
Author

I created these patches - they seem to fix the problem
https://gist.github.com/kireevco/0183f3ca9df19ce7f9d7

There is an issue with errno.

@ADiea
Copy link
Contributor

ADiea commented Jul 14, 2015

this can also be fixed in spiffy:master by merging #8 (+size as inpuit param)

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

No branches or pull requests

2 participants