Won't compile with VC++7.1
Bug #298615 reported by
Noboru Uchida
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python-Crypto |
Fix Released
|
Undecided
|
Darsey Litzenberger |
Bug Description
Excuse my poor English.
Under Windows MSVC7.1, I needed some modification to build.
1) RIPEMD160.c and _counter.h includes stdint.h, which VC++7.1 doesn't have.
I needed to copy cygwin gcc's stdint.h into src/ and slightly modify it.
2) In _counter.h, semicolon apears after the macro PyObject_HEAD, which causes compile error.
3) Some functions declared as "inline", which VC++ doesn't support for C sources.
Instead, VC++ has Microsoft specific extension "__inline" for C.
Using #ifdef _MSC_VER or something would be better.
Changed in pycrypto: | |
milestone: | none → 2.1.0 |
To post a comment you must log in.
Thanks for the bug report.
Fixed in http:// gitweb. pycrypto. org/?p= crypto/ pycrypto- 2.x.git; a=commitdiff; h=1af3ed1dd8552 58efa4fc277cc07 980b3e9a4126