Won't compile with VC++7.1

Bug #298615 reported by Noboru Uchida
2
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.

Revision history for this message
Darsey Litzenberger (dlitz) wrote :
Changed in pycrypto:
assignee: nobody → dlitz
status: New → Fix Released
Changed in pycrypto:
milestone: none → 2.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.