In storage.c, around line 500, _wstat takes a _wstat*, not a stat* Compiler spits out an incompatible pointer warning. This would be an error in C++ Not sure how to quickly fix it.