When compiling Tcl 8.6.0 with the latest mingw-w64 headers, the following warning arises. See below.
I traced this problem to the following commit, done by cjacek:
The signature of vswprintf in the newly added swprintf.inl file is not correct: It's
second argument is size_t __count, but this functions doesn't have a count argument.
tclWinDde.c: In function ‘DdeSetServerName’:
tclWinDde.c:388:3: warning: passing argument 2 of ‘swprintf’ makes integer from pointer without a cast
/usr/i686-w64-mingw32/sys-root/mingw/include/swprintf.inl:30:5: note: expected ‘size_t’ but argument is of type ‘short unsigned int *’
tclWinDde.c:388:3: warning: passing argument 3 of ‘swprintf’ makes pointer from integer without a cast
/usr/i686-w64-mingw32/sys-root/mingw/include/swprintf.inl:30:5: note: expected ‘const wchar_t *’ but argument is of type ‘int’