Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tclWinTime.c won't compile with debug on

Closed / Fixed225005ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-12-08 16:37:46
The function 'CalibrationThread' which is an infinite loop needs a return value to make compilers happy:

    /* For compilers */
    return (DWORD) 0;

Without this, you can't compile the debug version of Tcl.

Vince.
hobbsplain2000-12-10 10:08:09
While this looks like it should complain, VC++ 6 does not complain, even when compiling with debugging on.  I've added the return as it is "correct".
dgp Ticket [225005ffff]: 3 changes [History diff]2001-04-05 06:52:43
Log in (anonymous is fine) to add a comment.