Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 31a850ad75e168eec6d01a34060a414fdd702cb6
Ticket: 771942ffffffffffffffffffffffffffffffffff
tclIO.c: compiler warning
User & Date: andreas_kupries on 2003-10-22 06:55:58
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    This cannot be fixed I believe. The buf in the ChannelBuffer 
    structure is declared as 4 chars long, and we allocate enough 
    to hold the buffer. The compiler obviously finds a constant 
    subscript which is greater 4 and thus warns about it. We 
    know that the reference is in the allocated range, which is 
    greater than the declared range. I have no idea how to 
    rewrite the code to either fake out the compiler, or to tell the 
    compiler to ignore problems of this type.
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. priority changed to: "3 Low"
  5. username: "andreas_kupries"