Overview
| Artifact ID: | b0291bee98f6b26c662f18171d1a65cc9b641059cb293e251cda2a0cd1b6ce8d |
|---|---|
| Ticket: | bf58b04202ac37e5e92fa1a338f9e213c763e5b7
compiler warning in tclEnv.c |
| User & Date: | chrstphrchvz on 2020-09-19 07:56:29 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
There is a warning when tclEnv.c is compiled with <tt>-DPURIFY</tt> (at least with Xcode 12): <pre> tcl/generic/tclEnv.c:776:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for (i = 0; i < env.cacheSize; i++) { ~ ^ ~~~~~~~~~~~~~ 1 warning generated. </pre> This is because <tt>i</tt> is declared as <tt>int</tt> whereas <tt>env.cacheSize</tt> is now <tt>size_t</tt> in Tcl 9; presumably <tt>i</tt> should also now be declared as </tt>size_t</tt>. - foundin changed to: "trunk"
- is_private changed to: "0"
- login: "chrstphrchvz"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Cosmetic"
- status changed to: "Open"
- submitter changed to: "chrstphrchvz"
- subsystem changed to: "08. Environment Variables"
- title changed to: "compiler warning in tclEnv.c"
- type changed to: "Bug"