On Wednesday 29 March 2017, Petrus Hyvönen wrote: > Hi, > > Assuming the Prixmax stuff is just some typo, if I remove that I get > same error as in Ruedigers github version - MS linker error LNK1561 - > missing starting point. This seems to be fixed by the /DLL > directive. > > https://msdn.microsoft.com/en-us/library/ky737ya4.aspx > > and fix at > https://github.com/rudimeier/jcc/issues/1 > > Adding this /DLL to the linker options, I now get linker error: > "jcc3/sources/functions.cpp(303): error C3861: 'PY_SIZE': identifier > not found" > > The code is: > 301 int __parseArgs(PyObject *args, char *types, ...) > 302 { > 303: int count = PY_SIZE((PyTupleObject *) args); > 304 va_list list, check; > 305
Probably just a typo, try "Py_SIZE" (case sensitive "y"). cu, Rudi