Tcl Source Code

View Ticket
Login
Ticket UUID: 716327
Title: Dict fails to build with MSVC
Type: Bug Version: obsolete: 8.5a0
Submitter: patthoyts Created on: 2003-04-06 19:56:35
Subsystem: 15. Dict Object Assigned To: dkf
Priority: 7 High Severity:
Status: Closed Last Modified: 2003-04-07 19:54:40
Resolution: Fixed Closed By: dkf
    Closed on: 2003-04-07 12:54:40
Description:
When building the new HEAD with MSVC we get two
problems with the new Dict source that cause the build
to fail:

tclDictObj.c
..\generic\tclDictObj.c(1770) : error C2143: syntax
error : missing ';' before '}'

and

tclDictObj.c
..\generic\tclDictObj.c(2520) : warning C4715:
'Tcl_DictObjCmd' : not all control paths return a value

Attached is a simple patch which permits this to build.
User Comments: dkf added on 2003-04-07 19:54:40:
Logged In: YES 
user_id=79902

I'd already fixed the error, now fixed the warning too.

patthoyts added on 2003-04-07 03:00:23:

File Added - 46935: dict.patch

Attachments: