Artifacts Associated With Ticket f559bbde4e
Ticket change [7161b04849] (rid 168672) by pooryorick on 2019-01-28 11:28:18:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
Building another program and including tclInt.h: <code><verbatim> tclUnixPort.h:162:13: fatal error: ../compat/unistd.h: No such file or directory </verbatim></code> Is tclInt.h designed to be included by other programs? If so, should it include tclConfig.h so that macros like <code>HAVE_UNISTD_H</code> are defined for files like <code>tclInt.h/tclPort.h/tclUnixPort.h</code>?
- is_private initialized to: "0"
- login: "pooryorick"
- priority initialized to: "5 Medium"
- private_contact initialized to: "e476148cded301ffff84bcdc432536dc0c949e88"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "pooryorick"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
TclInt.h: tclUnixPort.h:162:13: fatal error: ../compat/unistd.h: No such file or directory
- type initialized to: "Bug"
Ticket change [87f7ce7ba8] (rid 168758) by jan.nijtmans on 2019-01-28 22:25:34:
- icomment:
Actually, tclInt.h is not meant to be used by other programs. That said, there is no C-compiler anymore which doesn't have <unistd.h>, so we can just assume HAVE_UNISTD_H to be true always. tclEpollNotfy.c already includes this header file always. If there is no objection, I will merge the [bug-f559bbde4e] branch soon, in a few days. One less header-file to worry about ...
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [c12c9d3710] (rid 168759) by jan.nijtmans on 2019-01-28 22:26:11:
- assignee changed to: "jan.nijtmans"
- login: "jan.nijtmans"
- mimetype: "text/plain"
Ticket change [4e8e3908cd] (rid 168760) by pooryorick on 2019-01-29 17:51:02:
- icomment:
If tclInt.h is not intended for inclusion by other programs, why is there a "install-private-headers" target in the Makefile? Doesn't <code>tclInt.decls</code> exist in order to provide and interface to functions that, while unsupported, might be useful to clients of the Tcl API? There's still one file in Tk , <code>tkMacOSXNotify.c</code> that includes <code>tclInt.h</code>. Expect includes it in places. Here is an old reference to the same issue, [http://code.activestate.com/lists/tcl-core/1190/|TCLCORE TCLINT.H REQUIRES TCLPORT.H ?], Daniel A. Steffan, 2004. Maybe the real solution would be to reform the headers so that things like <code>tclPort.h</code> aren't included when they aren't needed, and are instead obstacles.
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [7076981e3b] (rid 168889) by jan.nijtmans on 2019-02-02 18:12:32:
- closedate changed to: "2458517.25870407"
- closer changed to: "jan.nijtmans"
- icomment:
Merged to core-8-branch, so will be fixed in Tcl 8.7.
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"