Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-19
11:36 • Ticket [219030ffff] compile problem with tclDecls.h status still Closed with... artifact: d8e3358d36 user: dgp
11:36 • Ticket [219030ffff]: 1 change artifact: 1a80e2b706 user: dgp
2000-10-26
08:34 • Closed ticket [219030ffff]. artifact: a21450a5cc user: welch
01:09 • New ticket [219030ffff]. artifact: 508701d84c user: nobody

compile problem with tclDecls.h

Closed / Fixed219030ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:09:38
OriginalBugID: 4038 Bug
Version: 8.3b2
SubmitDate: '2000-01-19'
LastModified: '2000-01-23'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Other
OSVersion: UTS SystemV
Machine: IBM
FixedDate: '2000-01-23'
FixedInVersion: 8.3
ClosedDate: '2000-10-25'


Name:
John Ellson

CVS:
Jan 16, 00   02.00

ObservedBehavior:
/usr/ccs/bin/cc -eft -Xa -c -O    -I./../generic -I.  -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DNO_GETWD=1 -DNO_WAIT3=1 -DNO_REALPATH=1 -DNO_DLFCN_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DGETTOD_NOT_DECLARED=1 -D__CHAR_UNSIGNED__=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1           -DTCL_SHLIB_EXT=\"\" -DTCL_LIBRARY=\"/opt/exp/tcl/lib/tcl8.3\"  -DTCL_PACKAGE_PATH="\"/opt/exp/tcl/lib\""  ./../unix/tclUnixInit.c

"./../generic/tclDecls.h", line 1669: (in macro) Storage class in structure definition
1669        void (*tcl_AppendUnicodeToObj) _ANSI_ARGS_((register Tcl_Obj * objPtr, Tcl_UniChar * unicode, int length)); /* 384 */
________^(in macro)
          ./../unix/tclUnixInit.c ... 1 Error.

DesiredBehavior:
no compile errors

Patch:
*** tcl8.3/generic/tclDecls.h.orig      Sun Jan 16 13:22:41 2000
--- tcl8.3/generic/tclDecls.h   Sun Jan 16 13:22:58 2000
***************
*** 1200,1206 ****
                                int first, int last));
  /* 384 */
  EXTERN void           Tcl_AppendUnicodeToObj _ANSI_ARGS_((
!                               register Tcl_Obj * objPtr,
                                Tcl_UniChar * unicode, int length));
  /* 385 */
  EXTERN int            Tcl_RegExpMatchObj _ANSI_ARGS_((Tcl_Interp * interp,
--- 1200,1206 ----
                                int first, int last));
  /* 384 */
  EXTERN void           Tcl_AppendUnicodeToObj _ANSI_ARGS_((
!                               Tcl_Obj * objPtr,
                                Tcl_UniChar * unicode, int length));
  /* 385 */
  EXTERN int            Tcl_RegExpMatchObj _ANSI_ARGS_((Tcl_Interp * interp,
***************
*** 1666,1672 ****
      Tcl_UniChar (*tcl_GetUniChar) _ANSI_ARGS_((Tcl_Obj * objPtr, int index)); /* 381 */
      Tcl_UniChar * (*tcl_GetUnicode) _ANSI_ARGS_((Tcl_Obj * objPtr)); /* 382 */
      Tcl_Obj * (*tcl_GetRange) _ANSI_ARGS_((Tcl_Obj * objPtr, int first, int last)); /* 383 */
!     void (*tcl_AppendUnicodeToObj) _ANSI_ARGS_((register Tcl_Obj * objPtr, Tcl_UniChar * unicode, int length)); /* 384 */
      int (*tcl_RegExpMatchObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * stringObj, Tcl_Obj * patternObj)); /* 385 */
      void (*tcl_SetNotifier) _ANSI_ARGS_((Tcl_NotifierProcs * notifierProcPtr)); /* 386 */
      Tcl_Mutex * (*tcl_GetAllocMutex) _ANSI_ARGS_((void)); /* 387 */
--- 1666,1672 ----
      Tcl_UniChar (*tcl_GetUniChar) _ANSI_ARGS_((Tcl_Obj * objPtr, int index)); /* 381 */
      Tcl_UniChar * (*tcl_GetUnicode) _ANSI_ARGS_((Tcl_Obj * objPtr)); /* 382 */
      Tcl_Obj * (*tcl_GetRange) _ANSI_ARGS_((Tcl_Obj * objPtr, int first, int last)); /* 383 */
!     void (*tcl_AppendUnicodeToObj) _ANSI_ARGS_((Tcl_Obj * objPtr, Tcl_UniChar * unicode, int length)); /* 384 */
      int (*tcl_RegExpMatchObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * stringObj, Tcl_Obj * patternObj)); /* 385 */
      void (*tcl_SetNotifier) _ANSI_ARGS_((Tcl_NotifierProcs * notifierProcPtr)); /* 386 */
      Tcl_Mutex * (*tcl_GetAllocMutex) _ANSI_ARGS_((void)); /* 387 */

PatchFiles:
generic/tclDecls.h



removed 'register' for 8.3.0. 
-- 01/23/2000 hobbs
welch Closed ticket [219030ffff]. [History diff]2000-10-26 08:34:04
dgp Ticket [219030ffff]: 1 change [History diff]2001-04-19 11:36:40
dgp Ticket [219030ffff]: 2 changes [History diff]2001-04-19 11:36:43
Log in (anonymous is fine) to add a comment.