#38168: Conflicting declarations in tiff and opencv --------------------------+------------------------ Reporter: karo03de@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tiff opencv | --------------------------+------------------------ Comment (by karo03de@…): Replying to [comment:3 stromnov@…]:
Changing {{{ typedef int64_t int64; typedef uint64_t uint64; }}} to {{{ typedef long int int64; typedef long unsigned int uint64; }}} is a very bad idea (exceptionally for non-64bit platform).
Possibly the change in tiffconf.h in the lines or according those lines {{{ /* Signed 64-bit type */ #ifndef __LP64__ #define TIFF_INT64_T signed long long #else /* __LP64__ */ #define TIFF_INT64_T signed long #endif /* __LP64__ */ /* Signed 8-bit type */ #define TIFF_INT8_T signed char /* Unsigned 16-bit type */ #define TIFF_UINT16_T unsigned short /* Unsigned 32-bit type */ #define TIFF_UINT32_T unsigned int /* Unsigned 64-bit type */ #ifndef __LP64__ #define TIFF_UINT64_T unsigned long long #else /* __LP64__ */ #define TIFF_UINT64_T unsigned long #endif /* __LP64__ */ }}} is better ? -- Ticket URL: <https://trac.macports.org/ticket/38168#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X