Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: efaabd7fcaacac2e28a1ef328b26fc7ae3376c3d8b0bddbe1b572e314133d5f6
Ticket: 9c1dc88f86e8766bba634db228f1ed3cf034e3b4
warning about different signedness when compile TCL on Windows
User & Date: sl1200mk2 on 2022-03-17 16:27:34
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Hi Jan,
    when compiling latest core-8-branch on Windows (using gcc) I got the following warnings:
    
    C:/Users/nico/dev/dlight/win64/tcltk/tcl-9f61609437/generic/tclLink.c: In function 'LinkTraceProc':
    C:/Users/nico/dev/dlight/win64/tcltk/tcl-9f61609437/generic/tclLink.c:943:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
      943 |     ((value) >= (lowerLimit) && (value) <= (upperLimit))
          |                                         ^~
    C:/Users/nico/dev/dlight/win64/tcltk/tcl-9f61609437/generic/tclLink.c:1120:29: note: in expansion of macro 'InRange'
     1120 |                         || !InRange(0, valueInt, USHRT_MAX)) {
          |                             ^~~~~~~
    C:/Users/nico/dev/dlight/win64/tcltk/tcl-9f61609437/generic/tclLink.c:943:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
      943 |     ((value) >= (lowerLimit) && (value) <= (upperLimit))
          |                                         ^~
    C:/Users/nico/dev/dlight/win64/tcltk/tcl-9f61609437/generic/tclLink.c:1130:25: note: in expansion of macro 'InRange'
     1130 |                     || !InRange(0, valueInt, USHRT_MAX)) {
          |                         ^~~~~~~
    
    
    best regards,
    Nicolas
    
  5. foundin changed to: "core-8-branch"
  6. is_private changed to: "0"
  7. login: "sl1200mk2"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "10e302b1a1ae78d60a0878d87bdb4b5f874b815e"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "sl1200mk2"
  14. subsystem changed to: "69. Other"
  15. title changed to:
    warning about different signedness when compile TCL on Windows
    
  16. type changed to: "Support"