Overview
| Artifact ID: | 03b2d0b8a983201cbaa53e9d49b1d0e27d5f64a6 |
|---|---|
| Ticket: | 1188863fffffffffffffffffffffffffffffffff
HEAD will not compile on Windows |
| User & Date: | mistachkin on 2005-04-24 09:07:32 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
ERROR #1: tclObj.c near line 1680: } else if (objPtr->typePtr == &tclIntType) { *dblPtr = objPtr->internalRep.longValue; return TCL_OK; VC++ does not like this. ..\generic\tclObj.c(1680) : error C2220: warning treated as error - no object file generated ..\generic\tclObj.c(1680) : warning C4244: '=' : conversion from '__int64 ' to 'double ', possib le loss of data If this is the true intention of this code, an explicit cast to double should be used. ERROR #2: tclLiteral.c near line 274: long n; char buf[TCL_INTEGER_SPACE]; Two stale local vars are in TclRegisterLiteral: ..\generic\tclLiteral.c(274) : error C2220: warning treated as error - no object file generated ..\generic\tclLiteral.c(274) : warning C4101: 'buf' : unreferenced local variable ..\generic\tclLiteral.c(273) : warning C4101: 'n' : unreferenced local variable They are only referenced in a block that has been "#if zero'd" out. The best fix is to move the variable declarations into the "#if 0" block near line 368. - foundin changed to: "obsolete: 8.5a3"
- priority changed to: "7 High"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mistachkin"
- subsystem changed to: "10. Objects"
- title changed to: "HEAD will not compile on Windows"
- type changed to: "Bug"