Overview
| Artifact ID: | 52da2bcf7a57f5d603d3ca0d1f9717f2295e35ebe7d9258aec03b2dab9f8de08 |
|---|---|
| Ticket: | 98832303a93180c4663fa577f58fd347cf4561d2
X11/X.h and Windows.h have conflicting symbols |
| User & Date: | anonymous on 2018-12-13 21:42:32 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
When building Tk with the latest Windows SDK, there are conflicting #defines. The X11/X.h header defines 'None' and 'ControlMask' to literals, and the latest Windows SDK then attempts to use these as names. The preprocessor substitution replaces them and compilation fails. See https://bugs.python.org/issue35402#msg331643 for details and our discussion on the Python tracker. I didn't figure out whether the X.h header is necessary on Windows, and particularly whether it needs to be visible in the Tk.h header. We can patch our copy of Tk to undefine and redefine these names, but such a change would need to be upstreamed eventually anyway. For CPython on Windows, we will likely use an old Windows SDK or just avoid updating Tcl and Tk.
- foundin changed to: "8.6.9"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "c6460b0c364542117ffee19bfc5b1a63abb0a52e"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "X11/X.h and Windows.h have conflicting symbols"
- type changed to: "Bug"