spiffy icon indicating copy to clipboard operation
spiffy copied to clipboard

Can't build on mingw

Open DimmKirr opened this issue 10 years ago • 2 comments

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;
         ^

DimmKirr avatar Apr 14 '15 20:04 DimmKirr

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

There is an issue with errno.

DimmKirr avatar Apr 14 '15 21:04 DimmKirr

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

ADiea avatar Jul 14 '15 09:07 ADiea