#50772: Parse Error at BOOST_JOIN -------------------------------+-------------------------------- Reporter: rubendibattista@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: scantailor -------------------------------+-------------------------------- Hello, I'm trying to compile (manually and w/ Macports) scantailor on OSX. Osx 10.11.3 Boost 1.59 The errors seems related to new versions of boost together with QT4 and MOC (here's there's a suggested workaround: https://bugreports.qt.io/browse/QTBUG-22829?focusedCommentId=274496&page=com... :comment-tabpanel#comment-274496) '''Macports''' {{{ :info:build [ 28%] Building CXX object CMakeFiles/stcore.dir/StageListView.cpp.o :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_TEST_DYN_LINK -D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/foundation -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/math -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/interaction -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/zones -I/opt/local/include -I/opt/local/libexec/qt4/include/QtDesigner -I/opt/local/libexec/qt4/include/QtDeclarative -I/opt/local/libexec/qt4/include/QtScriptTools -I/opt/local/libexec/qt4/include/QtDBus -I/opt/local/libexec/qt4/include/QtXml -I/opt/local/libexec/qt4/include/QtSql -I/opt/local/libexec/qt4/include/QtOpenGL -I/opt/local/libexec/qt4/include/QtMultimedia -I/opt/local/libexec/qt4/include/QtNetwork -I/opt/local/libexec/qt4/include/QtXmlPatterns -I/opt/local/libexec/qt4/include/QtWebKit -I/opt/local/libexec/qt4/include/QtHelp -I/opt/local/libexec/qt4/include/QtUiTools -I/opt/local/libexec/qt4/include/QtTest -I/opt/local/libexec/qt4/include/QtScript -I/opt/local/libexec/qt4/include/QtSvg -I/opt/local/libexec/qt4/include/Qt3Support -I/opt/local/libexec/qt4/include/QtGui -I/opt/local/libexec/qt4/include/QtCore -I/opt/local/libexec/qt4/share/mkspecs/default -I/opt/local/libexec/qt4/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1 -pipe -Os -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -o CMakeFiles/stcore.dir/StageListView.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/StageListView.cpp :info:build opt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" :info:build make[2]: *** [zones/ZoneContextMenuInteraction.h.moc] Error 1 }}} '''Manual (GCC) ''' {{{ [ 30%] Generating ZoneContextMenuInteraction.h.moc cd /Users/***/build/scantailor/build/zones && /opt/local/libexec/qt4/bin/moc @/Users/***/build/scantailor/build/zones/ZoneContextMenuInteraction.h.moc_parameters opt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN }}} Same reported issue here: https://github.com/scantailor/scantailor/issues/199 -- Ticket URL: <https://trac.macports.org/ticket/50772> MacPorts <https://www.macports.org/> Ports system for OS X