Opened 11 years ago
Last modified 11 years ago
#41280 closed defect
tiff @4.0.3_1: redefinition of uint64 — at Initial Version
Reported by: | mojca (Mojca Miklavec) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | tiff |
Description
Compilation of hugin-app
is broken because libtiff
redefines uint64
. The error is:
/opt/local/include/tiff.h:78:23: error: typedef redefinition with different types ('unsigned long' vs 'uint64_t' (aka 'unsigned long long')) typedef TIFF_UINT64_T uint64; ^ //System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:51:18: note: previous definition is here typedef uint64_t uint64; ^ 1 warning generated. 1 warning and 1 error generated.
Here's a complete log from the buildbot: https://build.macports.org/builders/buildports-mtln-x86_64/builds/9524
My temporary workaround was to put
// typedef TIFF_UINT64_T uint64; typedef uint64_t uint64;
into tiff.h
which made hugin-app
compile successfully, but I'm aware that this is probably not a proper solution.
Note: See
TracTickets for help on using
tickets.