Getting A LOT of errors from python source (header files)

Lyle Johnson jlj at cfdrc.com
Wed Oct 27 13:22:48 EDT 1999


Are you sure it's picking up the correct version of the "config.h"
header file? These error message seem to indicate that the compiler is
seeing the function prototypes without arguments, which would mean
that the Py_PROTO macro is defined incorrectly, which eventually gets
us back to the definitions in "config.h"...

On Wed, 27 Oct 1999 12:39:37 +0200, "Egeland" <egelando at online.no>
wrote:

>When compiling my app, which embedds python1.5.2, using MSVC6.0, I compile
>against the
>Python sources. These errros leave me clueless. Any help ?
>
>
>Anders Moe
>
><file>(91) : error C2660: 'PySys_SetArgv' : function does not take 2
>parameters
><file>(122) : error C2660: 'PyRun_SimpleFile' : function does not take 2
>parameters
><file>(134) : error C2660: 'Py_Exit' : function does not take 1 parameters
><file>(168) : error C2660: 'PyArg_ParseTuple' : function does not take 3
>parameters
><file>(185) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(186) : error C2660: 'Py_BuildValue' : function does not take 2
>parameters
><file>(187) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(193) : error C2197: 'void (__cdecl *)(void)' : too many actual
>parameters
><file>(194) : error C2197: 'void (__cdecl *)(void)' : too many actual
>parameters
><file>(211) : error C2660: 'Py_BuildValue' : function does not take 2
>parameters
><file>(223) : error C2660: 'PyArg_ParseTuple' : function does not take 3
>parameters
><file>(232) : error C2660: 'Py_BuildValue' : function does not take 2
>parameters
><file>(238) : error C2660: 'PyInt_FromLong' : function does not take 1
>parameters
><file>(251) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(254) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(257) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(273) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(274) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(275) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(281) : error C2660: 'PyInt_FromLong' : function does not take 1
>parameters
><file>(282) : error C2660: 'PyTuple_New' : function does not take 1
>parameters
><file>(283) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(283) : error C2660: 'PyTuple_SetItem' : function does not take 3
>parameters
><file>(284) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(284) : error C2660: 'PyTuple_SetItem' : function does not take 3
>parameters
><file>(286) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(301) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(302) : error C2660: 'PyInt_FromLong' : function does not take 1
>parameters
><file>(303) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(305) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(306) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(307) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(309) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(310) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(311) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(314) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(315) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(316) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(318) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(319) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(320) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(322) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(323) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(324) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(326) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(327) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(328) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(330) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(331) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(332) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(334) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(335) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(336) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(338) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(339) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(340) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(342) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(343) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(344) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(346) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(347) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(348) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(350) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(351) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(352) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(354) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(355) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(356) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(358) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(359) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(360) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(362) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(363) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(364) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(366) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(367) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(368) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(370) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(371) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(372) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(374) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(375) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(376) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(378) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(379) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(380) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(382) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(383) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(384) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(386) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(387) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(388) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(390) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(391) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(392) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(394) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(395) : error C2660: 'PyFloat_FromDouble' : function does not take 1
>parameters
><file>(396) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(399) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(400) : error C2660: 'PyString_FromString' : function does not take 1
>parameters
><file>(401) : error C2660: 'PyDict_SetItem' : function does not take 3
>parameters
><file>(401) : fatal error C1003: error count exceeds 100; stopping
>compilation
>cadActHand.cxx
>c:\program files\microsoft visual studio\vc98\include\varargs.h(70) :
>warning C4005: 'va_start' : macro redefinition
>        c:\program files\microsoft visual studio\vc98\include\stdarg.h(58) :
>see previous definition of 'va_start'
>c:\program files\microsoft visual studio\vc98\include\varargs.h(72) :
>warning C4005: 'va_end' : macro redefinition
>        c:\program files\microsoft visual studio\vc98\include\stdarg.h(60) :
>see previous definition of 'va_end'
>cadActwin.cxx
>c:\program files\microsoft visual studio\vc98\include\varargs.h(70) :
>warning C4005: 'va_start' : macro redefinition
>        c:\program files\microsoft visual studio\vc98\include\stdarg.h(58) :
>see previous definition of 'va_start'
>c:\program files\microsoft visual studio\vc98\include\varargs.h(72) :
>warning C4005: 'va_end' : macro redefinition
>        c:\program files\microsoft visual studio\vc98\include\stdarg.h(60) :
>see previous definition of 'va_end'
>cadAlpha.cxx
>c:\program files\microsoft visual studio\vc98\include\varargs.h(70) :
>warning C4005: 'va_start' : macro redefinition
>        c:\program files\microsoft visual studio\vc98\include\stdarg.h(58) :
>see previous definition of 'va_start'
>c:\program files\microsoft visual studio\vc98\include\varargs.h(72) :
>warning C4005: 'va_end' : macro redefinition
>
>





More information about the Python-list mailing list