[MacPorts] #41280: tiff @4.0.3_1: redefinition of uint64

MacPorts noreply at macports.org
Sat Nov 9 07:11:43 PST 2013


#41280: tiff @4.0.3_1: redefinition of uint64
---------------------+--------------------------------
 Reporter:  mojca@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  tiff
---------------------+--------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/41280>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list