Overview
| Artifact ID: | af4fd6d80e44056841307983ad413bc106f71ef2 |
|---|---|
| Ticket: | 2555129fffffffffffffffffffffffffffffffff
const compiler warning (as error) in tclCompile.c |
| User & Date: | mistachkin on 2009-02-01 08:39:07 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
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> } - foundin changed to: "obsolete: 8.6b1.1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mistachkin"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "const compiler warning (as error) in tclCompile.c"
- type changed to: "Bug"