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
- assignee changed to: "das"
- cmimetype changed to: "text/plain"
- 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)
- foundin changed to: "obsolete: 8.5a5"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mistachkin"
- subsystem changed to: "52. Portability Support"
- title changed to:
format string warnings on FreeBSD 4-STABLE with gcc 2.95.4
- type changed to: "Bug"