[issue20323] Argument Clinic: docstring_prototype output causes build failure on Windows
Zachary Ware
report at bugs.python.org
Tue Jan 21 07:19:51 CET 2014
Zachary Ware added the comment:
Attached is PC/winsound.c, as converted in issue20172, but using the two-pass preset output scheme.
Compiling with this file produces these errors:
..\PC\winsound.c(71): error C2133: 'winsound_PlaySound__doc__' : unknown size [P:\ath\to\cpython\PCbuild\winsound.vcxproj]
..\PC\winsound.c(79): error C2133: 'winsound_Beep__doc__' : unknown size [P:\ath\to\cpython\PCbuild\winsound.vcxproj]
..\PC\winsound.c(87): error C2133: 'winsound_MessageBeep__doc__' : unknown size [P:\ath\to\cpython\PCbuild\winsound.vcxproj]
MSVC doesn't like declaring the unsized array without an asignment.
----------
Added file: http://bugs.python.org/file33586/winsound.c
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20323>
_______________________________________
More information about the Python-bugs-list
mailing list