Rex Dieter 44cdae5
diff -up qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp.QTBUG-22829 qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp
Orion Poplawski 46567fb
--- qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp.QTBUG-22829	2015-05-07 08:14:44.000000000 -0600
Orion Poplawski 46567fb
+++ qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp	2016-12-01 21:12:25.515488200 -0700
Orion Poplawski 46567fb
@@ -188,8 +188,13 @@ int runMoc(int _argc, char **_argv)
Rex Dieter ace1f8c
     pp.macros["Q_MOC_RUN"];
Rex Dieter ace1f8c
     pp.macros["__cplusplus"];
Rex Dieter ace1f8c
 
Rex Dieter ace1f8c
-    // Workaround a bug while parsing the boost/type_traits/has_operator.hpp header. See QTBUG-22829
Rex Dieter ace1f8c
+    // Workaround a bugs while parsing some boost headers. See QTBUG-22829 
Rex Dieter ace1f8c
     pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"];
Rex Dieter ace1f8c
+    pp.macros["BOOST_LEXICAL_CAST_INCLUDED"];
Rex Dieter 7d0674c
+    pp.macros["BOOST_NEXT_PRIOR_HPP_INCLUDED"];
Rex Dieter 44cdae5
+    pp.macros["BOOST_TYPE_TRAITS_HPP"];
Orion Poplawski 46567fb
+    pp.macros["BOOST_PREDEF_VERSION_NUMBER_H"];
Orion Poplawski 46567fb
+    pp.macros["__G_VERSION_MACROS_H__"];
Rex Dieter ace1f8c
 
Rex Dieter ace1f8c
     QByteArray filename;
Rex Dieter ace1f8c
     QByteArray output;