Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 36bd0c7a65857203484af0fd34de8acde0d5ec53
Ticket: 930862ffffffffffffffffffffffffffffffffff
OSX warnings and errors (1)
User & Date: tauvan on 2004-04-07 05:31:37
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I ran into a problem (acually more) in porting Tcl to MAC_OSX.
    I will address each in baby steps so if one rejected we can go
    on (hopefully). I make these suggestions believing that it will
    help all not just my port.
    
    Note: (1) added to title so if canned we, if you choose, can
    continue with the other issues.
    
    Now,
    machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5
    
    Since I first tried using it "out of the box",
    it worked, but with a ton of warnings and testing
    had a ton of fails.
    
    So I tried to start a setup that allowed process of
    elimation. I hit a lot of obstacles.
    
    My first suggestion is:
    
     locate all "#include "tcl.h"" directives
     place them as the topmost statement (it can be before or
        just after a #ifndef __FOO  #define __FOO)
        and just for cleanliness the surrounding #ifndef _TCL #endif
          are unnessary since it is part of "tcl.h"
    
     locate all "#include "tclInit.h"" directives
     place them as the topmost statement
     if a file has both #include "tcl.h" and #include "tclInit.h"
       delete the #include "tcl.h" since tclInit.h includes it.
       ditto with the cleanliness.
    
    MAJOR EXECEPTION:
      tclStubLib.c MUST HAVE stub define at top (FIRST)
    
    Thanks and I hope I am doing this "bug reporting" right.
    Reason for suggestion:
      In debugging the configuration script and trying to track other
      problems, I created a defines.h, which was a cp of confdefs.h
      just before it was deleted by the configure script.
      I placed it, and still am using the defines.h, in tcl.h.
      However for it to work, the suggestion proposed must be in 
    place.
      This makes it the same as the list of -D switches for the 
    compiling.
      It helped me locate other problems and assured elimation of 
    some.
    
    
  4. foundin changed to: "obsolete: 8.4.6"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "tauvan"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to: "OSX warnings and errors (1)"
  11. type changed to: "Bug"