Skip to content
Tcl Source Code Artifact [e8d8b0737c]
Login

Artifact [e8d8b0737c]

Artifact e8d8b0737cc6f666fca3ac92f491372bb7482067:

Ticket change [e8d8b0737c] - New ticket [928506ffffffffff|928506ffff] <i>BUILD_tcl</i>. by tauvan on 2004-04-02 20:10:44.
D 2004-04-02T20:10:44
J assignee msofer
J cmimetype text/plain
J comment Me\sagian.\n\n#-------------------------------\ntclCompile.h:\n\nOriginal\sCode:\n#ifndef\s_TCLINT\n#include\s"tclInt.h"\n#endif\s/*\s_TCLINT\s*/\n\n#ifdef\sBUILD_tcl\n#\sundef\sTCL_STORAGE_CLASS\n#\sdefine\sTCL_STORAGE_CLASS\sDLLEXPORT\n#endif\n\nProposed:\n#include\s"tclInt.h"\n\nsee\s"tracking\sdefines"\n\n#-------------------------------\ntclRegexp.h:\nRemoved:\n#ifdef\sBUILD_tcl\n#\sundef\sTCL_STORAGE_CLASS\n#\sdefine\sTCL_STORAGE_CLASS\sDLLEXPORT\n#endif\n\n#-------------------------------\ntclInt.h:\n\nOriginal\sCode:\n#define\s_TCLINT\s.......\sto\n/*\n\s*\sThe\sfollowing\sprocedures\sallow\snamespaces\sto\sbe\scustomized\s\nto\nchanged\sto:\n#define\s_TCLINT\n\n#include\s"tcl.h"\n/*\n\s*\sCommon\sinclude\sfiles\sneeded\sby\smost\sof\sthe\sTcl\ssource\sfiles\s\nare\n\s*\sincluded\shere,\sso\sthat\ssystem-dependent\spersonalizations\sfor\s\nthe\n\s*\sinclude\sfiles\sonly\shave\sto\sbe\smade\sin\sonce\splace.\s\sThis\sresults\n\s*\sin\sa\sfew\sextra\sincludes,\sbut\sgreater\smodularity.\s\sThe\sorder\sof\n\s*\sthe\sthree\sgroups\sof\s#includes\sis\simportant.For\sexample,\s\nstdio.h\n\s*\sis\sneeded\sby\stcl.h,\sand\sthe\s_ANSI_ARGS_\sdeclaration\sin\stcl.h\s\nis\n\s*\sneeded\sby\sstdlib.h\sin\ssome\sconfigurations.\n\s*/\n\n#include\s<ctype.h>\n#include\s<limits.h>\n#include\s<stdlib.h>\n#include\s<string.h>\n\n#undef\sTCL_STORAGE_CLASS\n\n#ifdef\sUSE_TCL_STUBS\n#\s\s\sdefine\sTCL_STORAGE_CLASS\n#else\n#\s\s\sdefine\sTCL_STORAGE_CLASS\sDLLIMPORT\n#endif\n\n/*\n\s*\sThe\sfollowing\sprocedures\sallow\snamespaces\sto\sbe\scustomized\s\nto\n\nLogic:\nthe\sabove\sheader\sand\sattached\s"tcl.h"\n\n#-------------------------------\ntcl.h:\n\nthe\stop\spart\sconsolidates\salmost\sall\s"compat"\sissues\sin\sone\nlocation.\n\nI\shad\sa\sproblem\sof\s<limits.h>\sseeing\s"limits.h"\sin\scompat\sinstead\s\nof\nsystem's\s<limits.h>\s...\sand\swith\sothers\ndefine\s<????>\sto\s??????\nmight\sneed\s\n#ifndef\n#define\sSOME_HEADER\s?????\n\n\nAccording\sto\sMakefile.in\n#\sOn\sunix\swe\swant\sto\suse\sthe\snormal\smalloc/free\s\nimplementation,\sso\swe\n#\sspecifically\sset\sthe\sUSE_TCLALLOC\sflag.\n-DUSE_TCLALLOC=0\n\nonly\s#ifdef\sMAC_TCL\ssets\sUSE_TCLALLOC\n\nso\sadded\s#else\ssets\s-DUSE_TCLALLOC=0\sand\smakes\nMakefile.in\scondition\sfor\sall\sfiles\snot\sjust\stclAlloc.c\nsince\sonce\syou\sstart\scompile\sit's\snot\sdefined\sanyway\nexcept\swhen\sMAC_TCL\sis\srequested\n\ncall\sthis\s"insurance"\sI\sguess.\n\nremoved:\s(made\sstandard\sinclude\sfor\sall\sfiles\s@\stop)\n#ifndef\sBUFSIZ\n#\s\s\sinclude\s<stdio.h>\n#endif\n\nthe\s"#if\s!defined(NO_STDARG)"\ssection:\nthis\scode\sshould\sbe\sin\sthe\sactual\s<stdarg.h>\nbut\swas\sused\sto\sstop\scomplier\swarnings\n\nthe\s"#ifdef\sBUILD_tcl"\nagain\sremoved\s(previous\ssumitted\s"fixes")\nnot\sever\sdefined\n\nifdef\sNO_LIMITS_H\schanged\sto\sifndef\sHAVE_LIMITS_H\nHAVE_LIMITS_H\sgets\sdefined\stwice\sduring\smakefile\sprocess\n\nthe\s"#include\s<defines.h>"\sshould\sbe\sremoved.\sIt's\sa\sfile\screated\s\nfrom\nconfigure's\s"confdef.h"\sfile\n
J foundin obsolete:\s8.4.6
J priority 5\sMedium
J resolution None
J status Open
J submitter tauvan
J subsystem 47.\sBytecode\sCompiler
J title BUILD_tcl
J type Bug
K 928506ffffffffffffffffffffffffffffffffff
U tauvan
Z fdd1ff9c589214fab28e3a6b4df4cc35