Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Crypt-IDEA CPAN distribution.

Report information
The Basics
Id: 103017
Status: new
Priority: 0/
Queue: Crypt-IDEA

Owner: Nobody in particular
Requestors: ZHENYZ [...]

Bug Information
Severity: Normal
Broken in: 1.10
Fixed in: (no value)

Subject: Not building with MSVC 2010
Download (untitled) / with headers
text/plain 614b
The problem is that MSVC that MSVC actually does not contain a inttypes.h, but a stdint.h instead. So I would suggest changing the part in idea.h to like below. #if defined(__osf__) || defined(__sun) || defined(__hpux) || defined(WIN32) #if defined (_MSC_VER) /* it seems inttypes.h is available in MSVC 2010 (_MSC_VER 1600) */ /* so, use following typedefs for MSVC 2005 and MSVC 2008 only */ #if (_MSC_VER) < 1600 typedef signed __int32 int32_t; typedef unsigned __int16 uint16_t; #else #include <stdint.h> #endif #else #include <inttypes.h> #endif typedef uint16_t u_int16_t; #endif

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to