moc Parse error at "BOOST_JOIN" while trying to compile a code with Qt4, at least encounting errors with kdevplatform and kleopatra. adding preprocceser guard to the top: #ifndef Q_MOC_RUN to the bottom: #endif of the file : /usr/include/boost/type_traits/detail/has_binary_operator.hpp will work arround the problem. the moc error has been fixed in Qt5, but upstream won't likely backport the fix for Qt4. so a work arround has to be made in Boost. Or we'll have to patch many Qt4 based apps, and waste the time when they upgrade their dependencies to Qt5.
1) Please attach the entire build log to this bug report. 2) Please post your `emerge --info' output in a comment.
Do you use dev-qt/qtcore with Gentoo patches? See bug #401551.
yes, this is duplicated bug of #401551 . It seams the work arround fix from Fedora just failed with boost-1.57
*** This bug has been marked as a duplicate of bug 401551 ***
I don't understand, is this a duplicate or not? If you're saying that the current patching of qtcore is insufficient with boost 1.57, then it's not a duplicate.
Seems it is not duplicate, as same problem arose since boost-1.57 For example - https://bugs.gentoo.org/show_bug.cgi?id=556104, https://bugs.gentoo.org/show_bug.cgi?id=557220, https://bugs.gentoo.org/show_bug.cgi?id=542528 etc.