|
2019-02-02
| ||
| 18:12 | • Closed ticket [f559bbde4e]: TclInt.h: tclUnixPort.h:162:13: fatal error: ../comp... artifact: 7076981e3b user: jan.nijtmans | |
|
2019-01-31
| ||
| 22:42 | fix [f559bbde4e]: TclInt.h: tclUnixPort.h:162:13: fatal error: ../compat/unistd.h: No such file or d... check-in: 34f124f2b8 user: jan.nijtmans tags: core-8-branch | |
|
2019-01-29
| ||
| 17:51 | • Ticket [f559bbde4e] TclInt.h: tclUnixPort.h:162:13: fatal error: ../compat/unist... artifact: 4e8e3908cd user: pooryorick | |
|
2019-01-28
| ||
| 22:26 | • Ticket [f559bbde4e]: 3 changes artifact: c12c9d3710 user: jan.nijtmans | |
| 22:25 | • Ticket [f559bbde4e]: 3 changes artifact: 87f7ce7ba8 user: jan.nijtmans | |
| 22:20 | Fix for [f559bbde4e] (even though that's not really a bug) closed check-in: 52f9377326 user: jan.nijtmans tags: bug-f559bbde4e | |
| 11:28 | • New ticket [f559bbde4e] TclInt.h: tclUnixPort.h:162:13: fatal error: ../compat/u... artifact: 7161b04849 user: pooryorick | |
TclInt.h: tclUnixPort.h:162:13: fatal error: ../compat/unistd.h: No such file or directory
tclUnixPort.h:162:13: fatal error: ../compat/unistd.h: No such file or directory
Is tclInt.h designed to be included by other programs? If so, should it
include tclConfig.h so that macros like HAVE_UNISTD_H are defined for files
like tclInt.h/tclPort.h/tclUnixPort.h?
34f124f2b8fix [f559bbde4e]: TclInt.h: tclUnixPort.h:162:13: fatal error: ../compat/unistd.h: No such file or directory check-in2019-01-31 22:42:1452f9377326Fix for [f559bbde4e] (even though that's not really a bug) check-in2019-01-28 22:20:40
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 ...
If tclInt.h is not intended for inclusion by other programs, why is there a
"install-private-headers" target in the Makefile? Doesn't
tclInt.decls 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 , tkMacOSXNotify.c that includes
tclInt.h. Expect includes it in places.
Here is an old reference to the same issue, TCLCORE TCLINT.H REQUIRES TCLPORT.H ?, Daniel A. Steffan, 2004.
Maybe the real solution would be to reform the headers so that things like
tclPort.h aren't included when they aren't needed, and are instead
obstacles.
Merged to core-8-branch, so will be fixed in Tcl 8.7.