Hi Thomas,
I tried building ncurses-6.5-20250628 and can confirm that build error with
clang-cl has been fixed.
Speaking of terminfo database. If building from Msys2 environment and have
ncurses installed, one can use --host={i386|x86_64}-w64-mingw32 so that
installed tools required to compile terminfo database are found by configure
script.
When building from Cygwin environment, `make install` seems to simply copy
existing terminfo database. One issue here is that it will copy Cygwin's
symbolic links which cannot be read by native Windows APIs.
Also, having libdir/terminfo on native Windows seems redundant. Recall that `ln
-s` in Msys2 is equivalent to `cp -Rp`, so we end up having two copies of the
terminfo database in prefix.
- Kirill Makurin