-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
../pTk/mTk/xlib/X11/X.h:182:34: error: expected identifier or '(' before numeric constant #87
Comments
hakonhagland
added a commit
to hakonhagland/perl-tk
that referenced
this issue
Oct 25, 2022
The name "ControlMask" is already defined in processthreadsapi.h OS=Win32. Instead use "ControlMask2". See issue eserte#87 for more information.
This issue was already addressed by upstream Tcl/Tk, see https://core.tcl-lang.org/tk/info/9e31fd9449 I would prefer that Perl/Tk backport their approach for consistency; I will open a PR to do so. |
chrstphrchvz
pushed a commit
to chrstphrchvz/perl-tk
that referenced
this issue
Oct 25, 2022
Backported from Tcl/Tk 8.6.10: see https://core.tcl-lang.org/tk/info/9e31fd944934 Fixes eserte#87
chrstphrchvz
pushed a commit
to chrstphrchvz/perl-tk
that referenced
this issue
Sep 5, 2023
Backported from Tcl/Tk 8.6.10: see https://core.tcl-lang.org/tk/info/9e31fd944934 Fixes eserte#87
eserte
added a commit
that referenced
this issue
Nov 5, 2023
eserte
pushed a commit
that referenced
this issue
Nov 5, 2023
Backported from Tcl/Tk 8.6.10: see https://core.tcl-lang.org/tk/info/9e31fd944934 Fixes #87
eserte
added a commit
that referenced
this issue
Nov 5, 2023
eserte
added a commit
that referenced
this issue
Nov 5, 2023
eserte
added a commit
that referenced
this issue
Nov 5, 2023
eserte
added a commit
that referenced
this issue
Nov 5, 2023
eserte
added a commit
that referenced
this issue
Mar 10, 2024
Test for two constans from this module. This is done in preparation for fixing #87.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have installed a debug version of perl 5.37.5 on Windows 11 using MinGW-w64 and gcc 11.3 from https://winlibs.com/ (using the MSVCRT runtime library), see Perl/perl5#20395 for more information on this.
When trying to install Tk with this perl I get:
The complete output from the last two commands is here: perl-makefile.log, and gmake.log
A wild guess could be that this error happens because
X.h
, see line 182 definesControlMask
whereasControlMask
is already typedef'ed in another header file (processthreadsapi.h
) pulled in fromwindows.h
. I cannot find this header file as direct link online, but locally it is located inC:\Winlibs64-gcc11.3-msvcrt\mingw64\include
. At line 163 of that file I have this typedef:The text was updated successfully, but these errors were encountered: