Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3c98ba7d7a642960d7bfeecef3832e7ec0d199a5
Ticket: 1548330fffffffffffffffffffffffffffffffff
format string warnings on FreeBSD 4-STABLE with gcc 2.95.4
User & Date: mistachkin on 2006-08-29 05:46:48
Changes

  1. assignee changed to: "das"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    These warnings appear to be legitimate.  According to
    the ANSI C standard, the "%ld" format specifier
    literally means "long int".  The arguments (members of
    the ByteCode structure) being passed were declared as
    "int".
    
    /home/tcl/tcl8.5/tcl/unix/../generic/tclCompile.c: In
    function `TclPrintByteCodeObj':
    /home/tcl/tcl8.5/tcl/unix/../generic/tclCompile.c:2940:
    warning: long int format, int arg (arg 4)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclCompile.c:2940:
    warning: long int format, int arg (arg 6)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclCompile.c:2940:
    warning: long int format, int arg (arg 7)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclCompile.c:2940:
    warning: long int format, int arg (arg 8)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c: In
    function `PrintByteCodeInfo':
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6306:
    warning: long int format, int arg (arg 4)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6306:
    warning: long int format, int arg (arg 6)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6306:
    warning: long int format, int arg (arg 7)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6306:
    warning: long int format, int arg (arg 8)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c: In
    function `EvalStatsCmd':
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6856:
    warning: long int format, int arg (arg 3)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6856:
    warning: long int format, int arg (arg 4)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6877:
    warning: long int format, int arg (arg 3)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6877:
    warning: long int format, int arg (arg 4)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6877:
    warning: long int format, int arg (arg 5)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6877:
    warning: long int format, int arg (arg 6)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6971:
    warning: long int format, int arg (arg 3)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6971:
    warning: long int format, int arg (arg 4)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6971:
    warning: long int format, int arg (arg 5)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6971:
    warning: long int format, int arg (arg 6)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6984:
    warning: long int format, int arg (arg 3)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6984:
    warning: long int format, int arg (arg 4)
    /home/tcl/tcl8.5/tcl/unix/../generic/tclExecute.c:6984:
    warning: long int format, int arg (arg 5)
    
    
  4. foundin changed to: "obsolete: 8.5a5"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "mistachkin"
  10. subsystem changed to: "52. Portability Support"
  11. title changed to:
    format string warnings on FreeBSD 4-STABLE with gcc 2.95.4
    
  12. type changed to: "Bug"