Overview
| Artifact ID: | 25ad5280d446113ee1a1b6c1074bf6dd73c81937 |
|---|---|
| Ticket: | 218984ffffffffffffffffffffffffffffffffff
tclDate.c should not use keyword "const" |
| User & Date: | nobody on 2000-10-26 01:08:57 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3521 Bug Version: 8.2.2 SubmitDate: '1999-11-08' LastModified: '1999-12-04' Severity: MED Status: Released Submitter: techsupp ChangedBy: hobbs RelatedBugIDs: 3547 3659 OS: HP-UX FixedDate: '1999-12-04' FixedInVersion: 8.3b1 ClosedDate: '2000-10-25' Name: Ulrich Ring Comments: simply spoken: replace "const" by "CONST" ReproducibleScript: On HP-UX (width native cc compiler): cd unix ./configure make ObservedBehavior: cc unable to compile generic/tclDate.c DesiredBehavior: successful make Patch: 146c146 < void TclDateerror(CONST char *); --- > void TclDateerror(const char *); 811c811 < static CONST TclDatetabelem TclDateexca[] ={ --- > static const TclDatetabelem TclDateexca[] ={ 818c818 < static CONST TclDatetabelem TclDateact[]={ --- > static const TclDatetabelem TclDateact[]={ 843c843 < static CONST TclDatetabelem TclDatepact[]={ --- > static const TclDatetabelem TclDatepact[]={ 850c850 < static CONST TclDatetabelem TclDatepgo[]={ --- > static const TclDatetabelem TclDatepgo[]={ 854c854 < static CONST TclDatetabelem TclDater1[]={ --- > static const TclDatetabelem TclDater1[]={ 861c861 < static CONST TclDatetabelem TclDater2[]={ --- > static const TclDatetabelem TclDater2[]={ 868c868 < static CONST TclDatetabelem TclDatechk[]={ --- > static const TclDatetabelem TclDatechk[]={ 875c875 < static CONST TclDatetabelem TclDatedef[]={ --- > static const TclDatetabelem TclDatedef[]={ 1302c1302 < register CONST int *TclDatexi = TclDateexca; --- > register const int *TclDatexi = TclDateexca; ~ PatchFiles: diff tclDate.c tclDate.c.orig Fixed the makefile, which already runs over the tclDate.c that is generated from the tclGetDate.y yacc, to replace 'const ' with 'CONST '. -- 12/04/1999 hobbs - foundin changed to: "obsolete: 8.2.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "75. Tutorial"
- title changed to: "tclDate.c should not use keyword "const""
- type changed to: "Bug"