Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Compilation errors with non-ANSI cct

Closed / Fixed219014ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:09:19
OriginalBugID: 3945 Bug
Version: 8.3b1
SubmitDate: '1999-12-27'
LastModified: '2000-01-03'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: HP-UX
FixedDate: '2000-01-03'
FixedInVersion: 8.3b2
ClosedDate: '2000-10-25'


Name:
Ulrich Ring

ReproducibleScript:
configure + make

ObservedBehavior:
failure

DesiredBehavior:
success

Patch:
diff tclFileName.c  tclFileName.c.old
1655c1655
< #ifndef NOT_NEEDED_ANYMORE
---
>       #ifndef NOT_NEEDED_ANYMORE
1657c1657
< #else
---
>       #else
1669c1669
< #endif
---
>       #endif

---------------------------------------
diff tclUnixFile.c tclUnixFile.c.old
198,203c198,203
< TclpMatchFilesTypes(interp, separators, dirPtr, pattern, tail, types)
<     Tcl_Interp *interp;               /* Interpreter to receive results. */
<     char *separators;         /* Directory separators to pass to TclDoGlob. */
<     Tcl_DString *dirPtr;      /* Contains path to directory to search. */
<     char *pattern;            /* Pattern to match against. */
<     char *tail;                       /* Pointer to end of pattern.  Tail must
---
> TclpMatchFilesTypes(
>     Tcl_Interp *interp,               /* Interpreter to receive results. */
>     char *separators,         /* Directory separators to pass to TclDoGlob. */
>     Tcl_DString *dirPtr,      /* Contains path to directory to search. */
>     char *pattern,            /* Pattern to match against. */
>     char *tail,                       /* Pointer to end of pattern.  Tail must
206c206
<     GlobTypeData *types;      /* Object containing list of acceptable types.
---
>     GlobTypeData *types)      /* Object containing list of acceptable types.
427,432c427,432
< TclpMatchFiles(interp, separators, dirPtr, pattern, tail)
<     Tcl_Interp *interp;               /* Interpreter to receive results. */
<     char *separators;         /* Directory separators to pass to TclDoGlob. */
<     Tcl_DString *dirPtr;      /* Contains path to directory to search. */
<     char *pattern;            /* Pattern to match against. */
<     char *tail;                       /* Pointer to end of pattern.  Tail must
---
> TclpMatchFiles(
>     Tcl_Interp *interp,               /* Interpreter to receive results. */
>     char *separators,         /* Directory separators to pass to TclDoGlob. */
>     Tcl_DString *dirPtr,      /* Contains path to directory to search. */
>     char *pattern,            /* Pattern to match against. */
>     char *tail)                       /* Pointer to end of pattern.  Tail must

PatchFiles:
tclFileName.c + tclUnixFile.c



Irk, another case of being bitten by the non-ANSI aware HP
compiler.  We're moving away from supporting such compilers,
but this has been changed for 8.3b2. 
-- 01/03/2000 hobbs
welch Closed ticket [219014ffff]. [History diff]2000-10-26 08:33:09
dgp Ticket [219014ffff]: 3 changes [History diff]2001-04-05 06:52:48
Log in (anonymous is fine) to add a comment.