Tcl Source Code

View Ticket
Login
Ticket UUID: 3339502
Title: trunk compile warning in windows build
Type: Bug Created on: 2011-06-28 04:56:12
Submitter: mistachkin Assigned to: andreas_kupries
Subsystem: 47. Bytecode Compiler Severity:
Priority: 5 Medium Last modified: 2011-07-12 03:05:53
Status: Closed Closed by: mistachkin
Resolution: Fixed Closed on: 2011-07-11 20:05:53
Version: obsolete: 8.6b1.1
Description:
.\generic\tclExecute.c(6343) : error C2220: warning treated as error - no 'object' file generated
.\generic\tclExecute.c(6343) : warning C4018: '>' : signed/unsigned mismatch

The proposed fix is attached, seeking review.
User Comments:
mistachkin added on 2011-06-28 11:56:27:

File Added - 416219: tclExecute.c.diff

andreas_kupries added on 2011-06-30 02:56:12:
As the "catchTop" the CURR_DEPTH is compared against seems to be of type ptrdiff_t this seems to be ok.

mistachkin added on 2011-07-12 02:59:59:
Ok, I consider that to be an approval of this patch.  Will be committing to trunk only (the code is different in 8.5).

mistachkin added on 2011-07-12 03:05:53:

allow_comments - 1

Attachments: