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.