Skip to content
Tcl Source Code History Of Ticket f559bbde4e
Login

History Of Ticket f559bbde4e

Artifacts Associated With Ticket f559bbde4e

  1. Ticket change [7161b04849] (rid 168672) by pooryorick on 2019-01-28 11:28:18:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. 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>?
      
    5. is_private initialized to: "0"
    6. login: "pooryorick"
    7. priority initialized to: "5 Medium"
    8. private_contact initialized to: "e476148cded301ffff84bcdc432536dc0c949e88"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "pooryorick"
    13. subsystem initialized to: "53. Configuration and Build Tools"
    14. title initialized to:
      TclInt.h: tclUnixPort.h:162:13: fatal error: ../compat/unistd.h: No such file or directory
      
    15. type initialized to: "Bug"
  2. Ticket change [87f7ce7ba8] (rid 168758) by jan.nijtmans on 2019-01-28 22:25:34:

    1. 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 ...
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  3. Ticket change [c12c9d3710] (rid 168759) by jan.nijtmans on 2019-01-28 22:26:11:

    1. assignee changed to: "jan.nijtmans"
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  4. Ticket change [4e8e3908cd] (rid 168760) by pooryorick on 2019-01-29 17:51:02:

    1. 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.
      
    2. login: "pooryorick"
    3. mimetype: "text/x-fossil-wiki"
  5. Ticket change [7076981e3b] (rid 168889) by jan.nijtmans on 2019-02-02 18:12:32:

    1. closedate changed to: "2458517.25870407"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Merged to core-8-branch, so will be fixed in Tcl 8.7.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"