STINNER Victor added the comment: > g++ (...) > Modules/python.c:60: error: invalid conversion from 'void*' to 'wchar_t*'*** > Error code 1
This line was part of the function char2wchar() which was moved to Python/fileutils.c (and renamed to _Py_char2wchar). Since "configure --with-cxx_main" only changes the compiler for python.c (and _testembed.c), calls to PyMem_Malloc() in fileutils.c are not more an issue. In short: the issue has already been fixed since the creation of fileutils.c. changeset: 65162:39014f0abc32 user: Victor Stinner <victor.stin...@haypocalc.com> date: Thu Oct 07 21:45:39 2010 +0000 files: Include/Python.h Include/fileutils.h Makefile.pre.in Modules/getpath.c Modules/main.c PCbuild/pythoncore.vcproj Python/fileutils.c Python/im description: Create fileutils.c/.h ---------- nosy: +haypo resolution: -> fixed status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10349> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com