|
2009-10-21
| ||
| 20:36 | • Closed ticket [2881259fff]: const compiler warning in tclTrace.c plus 7 othe... artifact: 8d6daf24de user: dkf | |
| 20:32 | • Ticket [2881259fff]: 4 changes artifact: 5a5567fc42 user: dkf | |
|
2009-10-20
| ||
| 04:26 | • Ticket [2881259fff]: 4 changes artifact: 4dd3398946 user: dgp | |
| 04:17 | • Ticket [2881259fff]: 2 changes artifact: 5f1945cc7b user: dgp | |
| 04:17 | • Ticket [2881259fff]: 4 changes artifact: 8bf7ec4229 user: dgp | |
|
2009-10-18
| ||
| 12:09 | • New ticket [2881259fff]. artifact: 287b9a6d7c user: mistachkin | |
const compiler warning in tclTrace.c
Closed / Fixed2881259fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-10-18 12:09:58
1>..\generic\tclTrace.c(2261) : warning C4090: 'function' : different 'const' qualifiers The fix seems to be to change the line: TclStackFree(interp, argv); to: TclStackFree(interp, (char **)argv);
dgpplain2009-10-20 04:17:01
One of dkf's "Style improvements" on 2008/10/16. put the (void *) cast back and things should be happy again.
dgp Ticket [2881259fff]: 2 changes
[History diff]2009-10-20 04:17:10
dgpplain2009-10-20 04:26:20
too much misreading. dkf's change came in with his mods to the 2629338 patch.
dkfplain2009-10-21 20:32:30
Stupid bug in MSVC; (const char **) should be silently cast-able to (void *) since it's not violating the constness requirements; it's not a (char *const *) after all (which I *would* expect to be a problem).
dkfplain2009-10-21 20:36:42
allow_comments - 1
Log in (anonymous is fine) to add a comment.