[Starkit] build warnings
Goodwin Lawlor
goodwin.lawlor at ucd.ie
Thu Apr 27 14:57:47 CEST 2006
Hi All,
I got a couple of warnings, building tclkit/tcl/tk from cvs yesterday...
not worth creating a ticket for. Building on WinXP/VC++8 2005:
1. tclkit\src\pwb.c(41) : warning C4113: 'int (__cdecl *)()' differs in
parameter lists from 'Tcl_ObjCmdProc (__cdecl *)'
This is because of:
#if 10 * TCL_MAJOR_VERSION + TCL_MINOR_VERSION < 85
#include <tcl.h>
only evaluates correctly if you swap the include...
#include <tcl.h>
#if 10 * TCL_MAJOR_VERSION + TCL_MINOR_VERSION < 85
2. tclkit\src\rechan.c(247) : warning C4047: 'initializing' :
'Tcl_ChannelTypeVersion' differs in levels of indirection from 'int
(__cdecl *)(ClientData,int)'
This seems to be due to this commit:
http://www.equi4.com/cgi-bin/cvstrac/tclkit/filediff?f=tclkit/src/rechan.c&v1=1.13&v2=1.14
reverting the commit, gets rid of the warning (but that will probably
break the MacOSX build).
Thanks,
Goodwin
More information about the Starkit
mailing list