| Issue 206: | Error compiling py3 branch of pyodbc | |
| 3 people starred this issue and may be notified of changes. | Back to list |
I've downloaded py3 branch of pyodbc: # git clone --branch py3 https://code.google.com/p/pyodbc/ After I've made compiling: # cd pyodbc # python3 setup.py install But doesn't compile due an C error: cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ In file included from /tmp/pyodbc/src/pyodbc.h:151:0, from /tmp/pyodbc/src/row.cpp:12: /tmp/pyodbc/src/pyodbccompat.h:106:8: warning: extra tokens at end of #endif directive /tmp/pyodbc/src/row.cpp:386:1: error: invalid conversion from ‘PyObject* (*)(PyObject*, Py_ssize_t, Py_ssize_t)’ to ‘void*’ /usr/include/python3.2mu/datetime.h:185:25: warning: ‘PyDateTimeAPI’ defined but not used error: command 'gcc' failed with exit status 1
Aug 31, 2011
#1
nickl...@gmail.com
Sep 1, 2011
Ok. I though that in Isse 201 was compiling with python 2.7 (2. Build using python 2.7 (setyp.py doesn't seem to work in python 3.x, syntax error)). Sorry.
Sep 1, 2011
You are right, I just wanted to say "me too", really.
Sep 27, 2011
Same here Python 3.2.2 64 bit Ubuntu 11.04
Nov 2, 2011
Fixed in 3.0.1
Status:
Complete
|