Looks like this is C++. There might be something you can do with namespaces.
David On Sat, Nov 9, 2013 at 9:15 AM, Mojca Miklavec <mo...@macports.org> wrote: > On Sat, Nov 9, 2013 at 3:08 PM, Mojca Miklavec <mo...@macports.org> wrote: > > Hi, > > > > one of the problems I'm experiencing when compiling hugin-app is that > > "uint64" is defined both in Security.framework where it's > > uint64->uint64_t as well as in tiff.h/tiffio.h where it gets defined > > as "unsigned long long". > > > > How can one resolve such a conflict? > > I'm sorry, I copied the wrong error. It should have been: > > cd /path/to/hugin-app/work/hugin-2013.0.0/src/hugin1/stitch_project && > /usr/bin/clang++ -DHUGIN_HSI -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 > -D__WXMAC__ -D__WXOSX_COCOA__ -D__WXOSX__ -pipe -Os > -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 > -I/opt/local/include -arch x86_64 > > -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0 > -DNDEBUG -arch x86_64 -I/path/to/hugin-app/work/hugin-2013.0.0/src > -I/path/to/hugin-app/work/hugin-2013.0.0/src/hugin_base > -I/path/to/hugin-app/work/hugin-2013.0.0/src/foreign/vigra > -I/path/to/hugin-app/work/hugin-2013.0.0/src/celeste > -I/opt/local/include -I/opt/local/include/OpenEXR > -F//System/Library/Frameworks > -I/System/Library/Frameworks/GLUT.framework/Versions/A/Headers > -I/path/to/hugin-app/work/hugin-2013.0.0/src/foreign > > -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 > > -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include/osx_cocoa-unicode-3.0 > > -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0 > -I/path/to/hugin-app/work/hugin-2013.0.0/src/hugin1 -o > CMakeFiles/HuginStitchProject.dir/hugin_stitch_project.cpp.o -c > > /path/to/hugin-app/work/hugin-2013.0.0/src/hugin1/stitch_project/hugin_stitch_project.cpp > > In file included from > > /path/to/hugin-app/work/hugin-2013.0.0/src/hugin1/stitch_project/hugin_stitch_project.cpp:46: > > In file included from /opt/local/include/tiffio.h:33: > /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:53:18: > note: previous definition is here > typedef uint64_t uint64; > ^ > 2 warnings and 1 error generated. > > Mojca > _______________________________________________ > macports-dev mailing list > macports-dev@lists.macosforge.org > https://lists.macosforge.org/mailman/listinfo/macports-dev >
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev