Description
I tried building ugrep 1.5.4 on Windows 10 using Cygwin's gcc. That would be handy, e.g. for symlinks. The build hits problems with fseeko and ftello:
input.cpp:642:13: error: 'ftello' was not declared in this scope
input.cpp:642:13: note: suggested alternative: 'ftell'
input.cpp:737:2: error: 'fseeko' was not declared in this scope
input.cpp:737:2: note: suggested alternative: 'fseek'
If I work around this, I then hit other problems with _vsnprintf, fopen_s and strerror_s:
In file included from ugrep.cpp:104:0:
/usr/include/w32api/strsafe.h:1555:12: error: '_vsnprintf' was not declared in this scope
/usr/include/w32api/strsafe.h:1555:12: note: suggested alternative: 'vsnprintf'
ugrep.cpp:1609:9: error: 'fopen_s' was not declared in this scope
ugrep.cpp:1609:9: note: suggested alternative: '_fopen_r'
ugrep.cpp:5370:5: error: 'strerror_s' was not declared in this scope
ugrep.cpp:5370:5: note: suggested alternative: '_strerror_r'
Any chance of making this compile under Cygwin? Many thanks!