When compiling the hugin trunk on Max OS X 10.6 aganst boost 1_48_0 I get the following errors, both for the normal cmake build and within XCode (below the XCode versions, paths are different but erors the same).
Could this have somtehing to do with commit 5713:7f0674a26bdb?
CompileC "build/Hugin.build/Release/base_wx Framework.build/Objects-normal/ppc/wxImageCache.o" ../src/hugin1/base_wx/wxImageCache.cpp normal ppc c++ com.apple.compilers.gcc.4_0
cd /Users/Shared/development/hugin_related/hugin/mac
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.0 -x c++ -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -O2 -DHUGIN_PRECOMP -DWX_PRECOMP -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -iquote "/Users/Shared/development/hugin_related/hugin/mac/build/Hugin.build/Release/base_wx Framework.build/HuginBaseWx-generated-files.hmap" "-I/Users/Shared/development/hugin_related/hugin/mac/build/Hugin.build/Release/base_wx Framework.build/HuginBaseWx-own-target-headers.hmap" "-I/Users/Shared/development/hugin_related/hugin/mac/build/Hugin.build/Release/base_wx Framework.build/HuginBaseWx-all-target-headers.hmap" -iquote "/Users/Shared/development/hugin_related/hugin/mac/build/Hugin.build/Release/base_wx Framework.build/HuginBaseWx-project-headers.hmap" -mcpu=G3 -mtune=G4 -F/Users/Shared/development/hugin_related/hugin/mac/build/Release -I/Users/Shared/development/hugin_related/hugin/mac/build/Release/include -I../src/hugin_base -I../src/foreign/vigra -I../src/foreign -I../src/hugin1 -I/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/wx-2.8 -I/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/lib/wx/include/mac-unicode-release-2.8 -I/Developer/SDKs/MacOSX10.4u.sdk/usr/include -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon -I/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include -I/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/OpenEXR -I../src "-I/Users/Shared/development/hugin_related/hugin/mac/build/Hugin.build/Release/base_wx Framework.build/DerivedSources/ppc" "-I/Users/Shared/development/hugin_related/hugin/mac/build/Hugin.build/Release/base_wx Framework.build/DerivedSources" -include /var/folders/+R/+RmeG2o8EleS+UbdOPEbWE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/hugin1-atuynrqwpeqpllbwyvwvfmlruore/hugin1.pch -c /Users/Shared/development/hugin_related/hugin/mac/../src/hugin1/base_wx/wxImageCache.cpp -o "/Users/Shared/development/hugin_related/hugin/mac/build/Hugin.build/Release/base_wx Framework.build/Objects-normal/ppc/wxImageCache.o"
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:149: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:150: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:152: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:149: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:150: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:152: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:149: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:150: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:152: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:149: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:150: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:152: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_postfix_operator.hpp:141: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_postfix_operator.hpp:142: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_postfix_operator.hpp:144: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_postfix_operator.hpp:141: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_postfix_operator.hpp:142: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_postfix_operator.hpp:144: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:149: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:150: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:152: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:149: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:150: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:152: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:155: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:156: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_binary_operator.hpp:158: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:149: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:150: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:152: error: expected primary-expression before ')' token
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:149: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:150: error: declaration does not declare anything
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/type_traits/detail/has_prefix_operator.hpp:152: error: expected primary-expression before ')' token
It has nothing to do with the mentioned changeset, because the file wxImageCache was not touched by this changeset. /svn.boost. org/trac/ boost/ticket/ 6219 stackoverflow. com/questions/ 8173620/ c-boost- 1-48-type- traits- and-cocoa- inclusion- weirdness
There seems to be a conflict with some Apple/MacOS macros and boost 1.48. This was already reported to boost: https:/
This should be fixed in boost.
See also
http://
From the mentioned links you could try (all in wxImageCache.h, but try only one solution at one time, not all 3 at the same time): MACROS_ DEFINE_ VERSIONS_ WITHOUT_ UNDERSCORES 0 shared_ ptr.hpp>
1.) Add
#define __ASSERT_
at the begin (before the inclusion of all other headers)
2.) Add
#ifdef check
#undef check
#endif
directly before the inclusion of the boost libs.
3.) Change the order of inclusions in wxImageCache.h, so the boost libs are included before the mac specific macros come in. Try putting
#include <boost/
before the other headers.
If workaround 1 or 2 are working, put them into #ifdef __APPLE__ #endif. For workaround 3 this should not be necessary (I hope, not tested).
PS: Hugin compiles fine with boost 1.48 here on windows. I have no problems with this file.