|
2001-04-05
| ||
| 06:52 | • Ticket [218984ffff] tclDate.c should not use keyword "const"</... artifact: 60ef7be06d user: dgp | |
|
2000-10-26
| ||
| 08:33 | • Closed ticket [218984ffff]. artifact: 75ff5b43ff user: welch | |
| 01:08 | • New ticket [218984ffff]. artifact: 25ad5280d4 user: nobody | |
tclDate.c should not use keyword "const"
Closed / Fixed218984ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:08:57
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
welch Closed ticket [218984ffff].
[History diff]2000-10-26 08:33:07
dgp Ticket [218984ffff]: 4 changes
[History diff]2001-04-05 06:52:48
Log in (anonymous is fine) to add a comment.