Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4e8e3908cd0d3ca82605e2b30af4eb0ad97123d98f1b3978e688ecf9cda7120b
Ticket: f559bbde4ef691d8799604df9442d99143f3e429
TclInt.h: tclUnixPort.h:162:13: fatal error: ../compat/unistd.h: No such file or directory
User & Date: pooryorick on 2019-01-29 17:51:02
Changes

  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"