Skip to content
Tcl Source Code History Of Ticket 3545875fffffffff
Login

History Of Ticket 3545875fffffffff

Artifacts Associated With Ticket 3545875fffffffff

  1. Ticket change [99e69c926f] (rid 110870) by dgp on 2012-07-19 13:37:35:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Forwarded from Gustaf Neumann:
      
      % clang --version
      Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
      
      
      /usr/local/src/tcl8.5.12/unix/../generic/tclExecute.c:727:22: warning: array index of '-1' indexes before the beginning of the array [-Warray-bounds]
           esPtr->tosPtr = &esPtr->stackWords[-1];
                            ^                 ~~
      /usr/local/src/tcl8.5.12/unix/../generic/tclInt.h:1319:5: note: array 'stackWords' declared here
           Tcl_Obj *stackWords[1];
           ^
      /usr/local/src/tcl8.5.12/unix/../generic/tclExecute.c:939:31: warning: array index of '-1' indexes before the beginning of the array [-Warray-bounds]
               currElems = esPtr->endPtr - &esPtr->stackWords[-1];
                                            ^                 ~~
      /usr/local/src/tcl8.5.12/unix/../generic/tclInt.h:1319:5: note: array 'stackWords' declared here
           Tcl_Obj *stackWords[1];
           ^
      /usr/local/src/tcl8.5.12/unix/../generic/tclExecute.c:940:45: warning: array index of '-1' indexes before the beginning of the array [-Warray-bounds]
               if (esPtr->markerPtr || (esPtr->tosPtr != &esPtr->stackWords[-1])) {
                                                          ^                 ~~
      /usr/local/src/tcl8.5.12/unix/../generic/tclInt.h:1319:5: note: array 'stackWords' declared here
           Tcl_Obj *stackWords[1];
           ^
      /usr/local/src/tcl8.5.12/unix/../generic/tclExecute.c:952:31: warning: array index of '-1' indexes before the beginning of the array [-Warray-bounds]
               currElems = esPtr->endPtr - &esPtr->stackWords[-1];
                                            ^                 ~~
      /usr/local/src/tcl8.5.12/unix/../generic/tclInt.h:1319:5: note: array 'stackWords' declared here
           Tcl_Obj *stackWords[1];
           ^
      /usr/local/src/tcl8.5.12/unix/../generic/tclExecute.c:1094:22: warning: array index of '-1' indexes before the beginning of the array [-Warray-bounds]
           esPtr->tosPtr = &esPtr->stackWords[-1];
                            ^                 ~~
      /usr/local/src/tcl8.5.12/unix/../generic/tclInt.h:1319:5: note: array 'stackWords' declared here
           Tcl_Obj *stackWords[1];
           ^
      5 warnings generated.
      
      If there's a sensible way to make the code better without
      negative indexing, it will quiet the compiler.  Not urgent.
      
    4. foundin initialized to: "obsolete: 8.5.12"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "47. Bytecode Compiler"
    11. title initialized to: "Mac OSX clang compiler warning"
    12. type initialized to: "Bug"
  2. Ticket change [e15166be82] (rid 203127) by chrstphrchvz on 2022-08-19 08:52:01:

    1. closedate changed to: "2459810.86945867"
    2. closer changed to: "chrstphrchvz"
    3. comment changed to:
      Forwarded from Gustaf Neumann:
      
      % clang --version
      Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
      
      
      /usr/local/src/tcl8.5.12/unix/../generic/tclExecute.c:727:22: warning: array index of '-1' indexes before the beginning of the array [-Warray-bounds]
           esPtr->tosPtr = &esPtr->stackWords[-1];
                            ^                 ~~
      /usr/local/src/tcl8.5.12/unix/../generic/tclInt.h:1319:5: note: array 'stackWords' declared here
           Tcl_Obj *stackWords[1];
           ^
      /usr/local/src/tcl8.5.12/unix/../generic/tclExecute.c:939:31: warning: array index of '-1' indexes before the beginning of the array [-Warray-bounds]
               currElems = esPtr->endPtr - &esPtr->stackWords[-1];
                                            ^                 ~~
      /usr/local/src/tcl8.5.12/unix/../generic/tclInt.h:1319:5: note: array 'stackWords' declared here
           Tcl_Obj *stackWords[1];
           ^
      /usr/local/src/tcl8.5.12/unix/../generic/tclExecute.c:940:45: warning: array index of '-1' indexes before the beginning of the array [-Warray-bounds]
               if (esPtr->markerPtr || (esPtr->tosPtr != &esPtr->stackWords[-1])) {
                                                          ^                 ~~
      /usr/local/src/tcl8.5.12/unix/../generic/tclInt.h:1319:5: note: array 'stackWords' declared here
           Tcl_Obj *stackWords[1];
           ^
      /usr/local/src/tcl8.5.12/unix/../generic/tclExecute.c:952:31: warning: array index of '-1' indexes before the beginning of the array [-Warray-bounds]
               currElems = esPtr->endPtr - &esPtr->stackWords[-1];
                                            ^                 ~~
      /usr/local/src/tcl8.5.12/unix/../generic/tclInt.h:1319:5: note: array 'stackWords' declared here
           Tcl_Obj *stackWords[1];
           ^
      /usr/local/src/tcl8.5.12/unix/../generic/tclExecute.c:1094:22: warning: array index of '-1' indexes before the beginning of the array [-Warray-bounds]
           esPtr->tosPtr = &esPtr->stackWords[-1];
                            ^                 ~~
      /usr/local/src/tcl8.5.12/unix/../generic/tclInt.h:1319:5: note: array 'stackWords' declared here
           Tcl_Obj *stackWords[1];
           ^
      5 warnings generated.
      
      If there's a sensible way to make the code better without
      negative indexing, it will quiet the compiler.  Not urgent.
      
    4. icomment:
      Closing: this was ultimately addressed by [49a45d782ef9] for 8.5 and by [f5a69fee4db2] for 8.6.
      
    5. login: "chrstphrchvz"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. severity changed to: "Minor"
    9. status changed to: "Closed"