Tcl Source Code

View Ticket
Login
Ticket UUID: 1618838
Title: strict alias warnings
Type: Bug Created on: 2006-12-19 15:37:35
Submitter: dgp Assigned to: dkf
Subsystem: 49. Threading Severity:
Priority: 5 Medium Last modified: 2006-12-19 23:19:40
Status: Closed Closed by: dkf
Resolution: Fixed Closed on: 2006-12-19 16:19:40
Version: obsolete: 8.5a6
Description:
when building tclUnixThrd.c:

/home/dgp/cvs/tcl/unix/../unix/tclUnixThrd.c: In function ‘Tcl_GetAllocMutex’:
/home/dgp/cvs/tcl/unix/../unix/tclUnixThrd.c:443: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/dgp/cvs/tcl/unix/../unix/tclUnixThrd.c: In function ‘TclpNewAllocMutex’:
/home/dgp/cvs/tcl/unix/../unix/tclUnixThrd.c:750: warning: type-punning to incomplete type might break strict-aliasing rules