../pTk/mTk/xlib/X11/X.h:182:34: error: ...
<UPDATE>: A patched Tk-804.036 source has now become available at:
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/patched_cpan_modules/Tk-804.036_001.tar.gz
It's probably simpler to just grab, unpack and build it.
</UPDATE>
In an attempt to make things simpler, I have placed a corrected version of Tk-804.036/pTk/mTk/xlib/Xll/X.h on
my scratchpad.
Replace the existing contents of pTk/mTk/xlib/Xll/X.h with that scratchpad code (in either the Tk-804.036 source from cpan, or the current Tk source from
Tk's github repo) and Tk should build, test, and install just fine.
Note that this scratchpad version is obtained by applying the patch I linked to in
https://github.com/eserte/perl-tk/issues/104. The patch can be downloaded directly from
https://github.com/eserte/perl-tk/files/14965386/win32_patch.txt.
I should also point out that I can take no credit for this patch, as it merely combines solutions provided by @chrstphrchvz at
https://github.com/eserte/perl-tk/compare/master...gh-87 and
https://github.com/eserte/perl-tk/issues/92.
Cheers,
Rob