[issue22136] Fix _tkinter compiler warnings on MSVC
Martin v. Löwis
report at bugs.python.org
Tue Aug 5 13:23:33 CEST 2014
Martin v. Löwis added the comment:
Serhiy: See
http://svn.python.org/projects/external/tcl-8.6.1.0/generic/tclDecls.h
where it now is
EXTERN CONST86 Tcl_ObjType * Tcl_GetObjType(const char *typeName);
I think the patch is wrong as it stands, as "const" is not a reserved word in C89. Instead, you should be using something like
#ifndef CONST86
#define CONST86
#endif
Tcl_ObjType CONST86 *BooleanType;
----------
nosy: +loewis
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22136>
_______________________________________
More information about the Python-bugs-list
mailing list