Artifacts Associated With Ticket 729200ffffffffffffffffffffffffffffffffff
Ticket change [eb2ee3178e] (rid 103494) by pointsman on 2003-04-28 21:40:59:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Compiling tcl.8.4.2 with gcc 3.3 libc 2.3.2 gives this warnings: ../unix/tclUnixFCmd.c: In function `CopyFile': ../unix/tclUnixFCmd.c:471: warning: comparison between signed and unsigned ../unix/tclUnixFCmd.c:474: warning: comparison between signed and unsigned ../unix/tclUnixFCmd.c:482: warning: comparison between signed and unsigned In file included from ../generic/regcomp.c:2175: ../generic/regc_locale.c: In function `cclass': ../generic/regc_locale.c:788: warning: comparison between signed and unsigned ../generic/regc_locale.c:791: warning: comparison between signed and unsigned ../generic/regc_locale.c:795: warning: comparison between signed and unsigned ../generic/regc_locale.c:804: warning: comparison between signed and unsigned ../generic/regc_locale.c:808: warning: comparison between signed and unsigned ../generic/regc_locale.c:832: warning: comparison between signed and unsigned ../generic/regc_locale.c:841: warning: comparison between signed and unsigned ../generic/regc_locale.c:845: warning: comparison between signed and unsigned ../generic/regc_locale.c:870: warning: comparison between signed and unsigned ../generic/regc_locale.c:874: warning: comparison between signed and unsigned ../generic/regc_locale.c:882: warning: comparison between signed and unsigned ../generic/regc_locale.c:886: warning: comparison between signed and unsigned ../generic/regc_locale.c:894: warning: comparison between signed and unsigned ../generic/regc_locale.c:898: warning: comparison between signed and unsigned ../generic/regc_locale.c:906: warning: comparison between signed and unsigned ../generic/regc_locale.c:910: warning: comparison between signed and unsigned Looks like, size_t is unsigned (as it should be, but not always was on all systems in the past). Most of the warnings looks like oversensibility of gcc 3.3, but at least unix/tclUnixFCmd.c, 471 compares a size_t with -1.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "pointsman"
- subsystem initialized to: "None"
- title initialized to: "Compiler warings w tcl8.4.2, gcc 3.3, libc 2.3.2"
- type initialized to: "Bug"
Ticket change [34ca4bd9fc] (rid 106807) by dkf on 2003-09-16 02:48:40:
- assignee changed to: "vincentdarley"
- subsystem changed to: "37. File System"
Ticket change [9d678a26ab] (rid 96301) by dkf on 2003-09-16 02:49:43:
- foundin changed to: "obsolete: 8.4.2"
Ticket change [48b6621197] (rid 99941) by vincentdarley on 2003-09-16 20:40:10:
- assignee changed to: "hobbs"
- icomment:
Logged In: YES user_id=32170 I'm not particularly a unix person, so I'll pass this on to Jeff as filesystem maintainer and unix guru... Looks like a simple fix to someone who knows what they're doing!
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
Ticket change [bca1118b47] (rid 101784) by dgp on 2003-10-03 05:16:40:
- assignee changed to: "jenglish"
- priority changed to: "8"
Ticket change [1afb385743] (rid 123071) by jenglish on 2003-10-03 07:17:15:
- icomment:
Logged In: YES user_id=68433 Current HEAD and core-8-4-branch no longer get these warnings under gcc 3.3.2/glibc 2.3.2 (Debian testing) or gcc 3.2/glibc 2.3.2 (Red Hat 8.0). The only compiler errors now are a handful of complaints like: tclUnixChan.c 2292 passing arg 1 of `ntohs' with different width due to prototype all about code like "ntohs(addr.sin_port)", where addr is a struct sockaddr_in. That's correct usage; gcc is only complaining because autoconf specifies "-Wconversion".
- login: "jenglish"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- username: "jenglish"
- icomment:
Ticket change [b766ab8705] (rid 125586) by jenglish on 2003-10-03 07:20:12:
- closedate changed to: "2003-10-03T00:20:12"
- closer changed to: "jenglish"
- status changed to: "Closed"