hunspell / hunspell

The most popular spellchecking library.

Home Page:http://hunspell.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1.7.2 fails to build on windows with MSVC

autoantwort opened this issue · comments

From microsoft/vcpkg#29340 (comment)
it fails with

F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(350): error C2065: 'mode_t': undeclared identifier
F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(350): error C2146: syntax error: missing ';' before identifier 'mask'
F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(350): error C2065: 'mask': undeclared identifier
F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(350): error C2065: 'S_IXUSR': undeclared identifier
F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(350): error C2065: 'S_IRWXG': undeclared identifier
F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(350): error C2065: 'S_IRWXO': undeclared identifier
F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(350): error C3861: 'umask': identifier not found
F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(351): error C3861: 'mkstemp': identifier not found
F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(352): error C2065: 'mask': undeclared identifier
F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(352): error C3861: 'umask': identifier not found
F:\Feature-test\hunspell\vcpkg\buildtrees\hunspell\src\v1.7.2-ed1399a63f.clean\src\tools\hzip.cxx(360): error C3861: 'close': identifier not found

I guess it has something to do with #811