Compiling uncrustify from cygwin-64bit:
...
CXX uncrustify-unc_text.o
CXX uncrustify-compat_posix.o
CXX uncrustify-compat_win32.o
compat_win32.cpp:10:28: fatal error: windows_compat.h: No such file or directory
compilation terminated.
Makefile:554: recipe for target 'uncrustify-compat_win32.o' failed
make[2]: [uncrustify-compat_win32.o] Error 1
make[2]: Leaving directory '/cygdrive/d/Work/uncrustify/src'
Makefile:242: recipe for target 'all' failed
make[1]: [all] Error 2
make[1]: Leaving directory '/cygdrive/d/Work/uncrustify/src'
Makefile:340: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
I don't build using cygwin, but the error seems to be with "#ifdef WIN32".
Cygwin builds should use the same source as UNIX, so maybe there should be a "and not cygwin" in that ifdef. I would accept a patch, as long as it doesn't break the mingw build.
If you are looking for a build that runs on Windows, I recommend using mingw or MSVC. If you really just want it to run under cygwin, then change that ifdef to be "#if 0".
what's new?
Is it still actual?
We have migrated the bug to:
https://github.com/uncrustify/uncrustify/issues/675