|
2009-02-10
| ||
| 16:16 | • Ticket [2555129fff] const compiler warning (as error) in tclCompile.c status... artifact: ac0f09ab3b user: nijtmans | |
| 16:15 | • Closed ticket [2555129fff]. artifact: abfb0941e5 user: nijtmans | |
| 16:15 | • Ticket [2555129fff]: 4 changes artifact: 9371f337d4 user: nijtmans | |
|
2009-02-09
| ||
| 23:38 | • Ticket [2555129fff]: 1 change artifact: 5208f48379 user: nijtmans | |
| 23:38 | • Ticket [2555129fff]: 4 changes artifact: db2b04c301 user: nijtmans | |
|
2009-02-01
| ||
| 08:39 | • New ticket [2555129fff]. artifact: af4fd6d80e user: mistachkin | |
const compiler warning (as error) in tclCompile.c
Closed / Fixed2555129fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-02-01 08:39:07
The threaded debug build on Windows XP does not compile (using MSVC9):
tcl\win\..\generic\tclCompile.c(3377) : error C2220: warning treated as error - no 'object' file generated
tcl\win\..\generic\tclCompile.c(3377) : warning C4090: 'function' : different 'const' qualifiers
The code in question:
int
TclPrintInstruction(
ByteCode *codePtr, /* Bytecode containing the instruction. */
const unsigned char *pc) /* Points to first byte of instruction. */
{
<snip>
numBytes = FormatInstruction(codePtr, pc, bufferObj); /* <-- const mismatch for pc argument */
<snip>
}
nijtmansplain2009-02-09 23:38:22
will be fixed
nijtmans Ticket [2555129fff]: 1 change
[History diff]2009-02-09 23:38:27
nijtmansplain2009-02-10 16:15:46
fixed 2009-2-9
nijtmansplain2009-02-10 16:15:55
allow_comments - 1
nijtmansplain2009-02-10 16:16:12
fixed 2009-2-9
Log in (anonymous is fine) to add a comment.