Overview
| Artifact ID: | e8d8b0737cc6f666fca3ac92f491372bb7482067 |
|---|---|
| Ticket: | 928506ffffffffffffffffffffffffffffffffff
BUILD_tcl |
| User & Date: | tauvan on 2004-04-02 20:10:44 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Me agian. #------------------------------- tclCompile.h: Original Code: #ifndef _TCLINT #include "tclInt.h" #endif /* _TCLINT */ #ifdef BUILD_tcl # undef TCL_STORAGE_CLASS # define TCL_STORAGE_CLASS DLLEXPORT #endif Proposed: #include "tclInt.h" see "tracking defines" #------------------------------- tclRegexp.h: Removed: #ifdef BUILD_tcl # undef TCL_STORAGE_CLASS # define TCL_STORAGE_CLASS DLLEXPORT #endif #------------------------------- tclInt.h: Original Code: #define _TCLINT ....... to /* * The following procedures allow namespaces to be customized to changed to: #define _TCLINT #include "tcl.h" /* * Common include files needed by most of the Tcl source files are * included here, so that system-dependent personalizations for the * include files only have to be made in once place. This results * in a few extra includes, but greater modularity. The order of * the three groups of #includes is important.For example, stdio.h * is needed by tcl.h, and the _ANSI_ARGS_ declaration in tcl.h is * needed by stdlib.h in some configurations. */ #include <ctype.h> #include <limits.h> #include <stdlib.h> #include <string.h> #undef TCL_STORAGE_CLASS #ifdef USE_TCL_STUBS # define TCL_STORAGE_CLASS #else # define TCL_STORAGE_CLASS DLLIMPORT #endif /* * The following procedures allow namespaces to be customized to Logic: the above header and attached "tcl.h" #------------------------------- tcl.h: the top part consolidates almost all "compat" issues in one location. I had a problem of <limits.h> seeing "limits.h" in compat instead of system's <limits.h> ... and with others define <????> to ?????? might need #ifndef #define SOME_HEADER ????? According to Makefile.in # On unix we want to use the normal malloc/free implementation, so we # specifically set the USE_TCLALLOC flag. -DUSE_TCLALLOC=0 only #ifdef MAC_TCL sets USE_TCLALLOC so added #else sets -DUSE_TCLALLOC=0 and makes Makefile.in condition for all files not just tclAlloc.c since once you start compile it's not defined anyway except when MAC_TCL is requested call this "insurance" I guess. removed: (made standard include for all files @ top) #ifndef BUFSIZ # include <stdio.h> #endif the "#if !defined(NO_STDARG)" section: this code should be in the actual <stdarg.h> but was used to stop complier warnings the "#ifdef BUILD_tcl" again removed (previous sumitted "fixes") not ever defined ifdef NO_LIMITS_H changed to ifndef HAVE_LIMITS_H HAVE_LIMITS_H gets defined twice during makefile process the "#include <defines.h>" should be removed. It's a file created from configure's "confdef.h" file
- foundin changed to: "obsolete: 8.4.6"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "tauvan"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "BUILD_tcl"
- type changed to: "Bug"