Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 03b2d0b8a983201cbaa53e9d49b1d0e27d5f64a6
Ticket: 1188863fffffffffffffffffffffffffffffffff
HEAD will not compile on Windows
User & Date: mistachkin on 2005-04-24 09:07:32
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.5a3"
  5. priority changed to: "7 High"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mistachkin"
  9. subsystem changed to: "10. Objects"
  10. title changed to: "HEAD will not compile on Windows"
  11. type changed to: "Bug"