Temporary header file '/tmp/fM5ANN6f_R/dump1.h' with the following content will be compiled to create GCC translation unit dump:

  // add defines
  #define __STDC_VERSION__ 201710L
#define _TIME_BITS 64
#define _FILE_OFFSET_BITS 64
#define _GXX_NULLPTR_T
#define CLUTTER_ENABLE_COMPOSITOR_API 1
#define _REGEX_NELTS(n)
#define _Atomic
#define PACKED
#ifdef __cplusplus
// C17 compat layer
#define _Alignof(type) alignof(type)
#endif
#define getaddrinfo_a(a,b,c,d)

  // add includes
  #include "/usr/include/xapian.h"
  #include "/usr/include/KF5/AkonadiSearch/Debug/akonadisearchdebugdialog.h"
  #include "/usr/include/KF5/AkonadiSearch/Debug/akonadisearchdebugsearchpathcombobox.h"
  #include "/usr/include/KF5/AkonadiSearch/Debug/search_debug_export.h"
  #include "/usr/include/KF5/AkonadiSearch/PIM/collectionquery.h"
  #include "/usr/include/KF5/AkonadiSearch/PIM/contactcompleter.h"
  #include "/usr/include/KF5/AkonadiSearch/PIM/contactquery.h"
  #include "/usr/include/KF5/AkonadiSearch/PIM/emailquery.h"
  #include "/usr/include/KF5/AkonadiSearch/PIM/indexeditems.h"
  #include "/usr/include/KF5/AkonadiSearch/PIM/notequery.h"
  #include "/usr/include/KF5/AkonadiSearch/PIM/query.h"
  #include "/usr/include/KF5/AkonadiSearch/PIM/resultiterator.h"
  #include "/usr/include/KF5/AkonadiSearch/PIM/search_pim_export.h"
  #include "/usr/include/KF5/AkonadiSearch/Xapian/search_xapian_export.h"
  #include "/usr/include/KF5/AkonadiSearch/Xapian/xapiandatabase.h"
  #include "/usr/include/KF5/AkonadiSearch/Xapian/xapiandocument.h"
  #include "/usr/include/KF5/AkonadiSearch/Xapian/xapianqueryparser.h"
  #include "/usr/include/KF5/AkonadiSearch/Xapian/xapiansearchstore.h"
  #include "/usr/include/KF5/AkonadiSearch/Xapian/xapiantermgenerator.h"
  #include "/usr/include/KF5/AkonadiSearch/akonadi_search_version.h"
  #include "/usr/include/KF5/AkonadiSearch/core/query.h"
  #include "/usr/include/KF5/AkonadiSearch/core/resultiterator.h"
  #include "/usr/include/KF5/AkonadiSearch/core/searchstore.h"
  #include "/usr/include/KF5/AkonadiSearch/core/term.h"
  #include "/usr/include/KF5/AkonadiSearch/search_core_export.h"

  // add namespaces
  namespace Akonadi{typedef int tmp_add_type_1;}
  Akonadi::tmp_add_type_1 tmp_add_func_1(){return 0;};
  namespace Akonadi{namespace Internal{typedef int tmp_add_type_2;}}
  Akonadi::Internal::tmp_add_type_2 tmp_add_func_2(){return 0;};
  namespace Akonadi{namespace Protocol{typedef int tmp_add_type_3;}}
  Akonadi::Protocol::tmp_add_type_3 tmp_add_func_3(){return 0;};
  namespace Akonadi{namespace Search{typedef int tmp_add_type_4;}}
  Akonadi::Search::tmp_add_type_4 tmp_add_func_4(){return 0;};
  namespace Akonadi{namespace Search{namespace PIM{typedef int tmp_add_type_5;}}}
  Akonadi::Search::PIM::tmp_add_type_5 tmp_add_func_5(){return 0;};
  namespace QAlgorithmsPrivate{typedef int tmp_add_type_6;}
  QAlgorithmsPrivate::tmp_add_type_6 tmp_add_func_6(){return 0;};
  namespace QColorConstants{typedef int tmp_add_type_7;}
  QColorConstants::tmp_add_type_7 tmp_add_func_7(){return 0;};
  namespace QColorConstants{namespace Svg{typedef int tmp_add_type_8;}}
  QColorConstants::Svg::tmp_add_type_8 tmp_add_func_8(){return 0;};
  namespace Qt{typedef int tmp_add_type_9;}
  Qt::tmp_add_type_9 tmp_add_func_9(){return 0;};
  namespace QTextStreamFunctions{typedef int tmp_add_type_10;}
  QTextStreamFunctions::tmp_add_type_10 tmp_add_func_10(){return 0;};
  namespace QtGlobalStatic{typedef int tmp_add_type_11;}
  QtGlobalStatic::tmp_add_type_11 tmp_add_func_11(){return 0;};
  namespace QtMetaTypePrivate{typedef int tmp_add_type_12;}
  QtMetaTypePrivate::tmp_add_type_12 tmp_add_func_12(){return 0;};
  namespace QtMetaTypePrivate{namespace QtPrivate{typedef int tmp_add_type_13;}}
  QtMetaTypePrivate::QtPrivate::tmp_add_type_13 tmp_add_func_13(){return 0;};
  namespace QtMetaTypePrivate{namespace QtPrivate{namespace ContainerCapabilitiesMetaProgrammingHelper{typedef int tmp_add_type_14;}}}
  QtMetaTypePrivate::QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::tmp_add_type_14 tmp_add_func_14(){return 0;};
  namespace QtPrivate{typedef int tmp_add_type_15;}
  QtPrivate::tmp_add_type_15 tmp_add_func_15(){return 0;};
  namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_16;}}
  QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_16 tmp_add_func_16(){return 0;};
  namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_17;}}
  QtPrivate::SwapExceptionTester::tmp_add_type_17 tmp_add_func_17(){return 0;};
  namespace QtSharedPointer{typedef int tmp_add_type_18;}
  QtSharedPointer::tmp_add_type_18 tmp_add_func_18(){return 0;};
  namespace Xapian{typedef int tmp_add_type_19;}
  Xapian::tmp_add_type_19 tmp_add_func_19(){return 0;};
  namespace Xapian{namespace Auto{typedef int tmp_add_type_20;}}
  Xapian::Auto::tmp_add_type_20 tmp_add_func_20(){return 0;};
  namespace Xapian{namespace Chert{typedef int tmp_add_type_21;}}
  Xapian::Chert::tmp_add_type_21 tmp_add_func_21(){return 0;};
  namespace Xapian{namespace InMemory{typedef int tmp_add_type_22;}}
  Xapian::InMemory::tmp_add_type_22 tmp_add_func_22(){return 0;};
  namespace Xapian{namespace Internal{typedef int tmp_add_type_23;}}
  Xapian::Internal::tmp_add_type_23 tmp_add_func_23(){return 0;};
  namespace Xapian{namespace Remote{typedef int tmp_add_type_24;}}
  Xapian::Remote::tmp_add_type_24 tmp_add_func_24(){return 0;};
  namespace Xapian{namespace Unicode{typedef int tmp_add_type_25;}}
  Xapian::Unicode::tmp_add_type_25 tmp_add_func_25(){return 0;};
  namespace Xapian{namespace Unicode{namespace Internal{typedef int tmp_add_type_26;}}}
  Xapian::Unicode::Internal::tmp_add_type_26 tmp_add_func_26(){return 0;};

  // add classes
  KCompositeJob* tmp_add_class_0;
  KJob* tmp_add_class_1;
  QAbstractItemDelegate* tmp_add_class_2;
  QAbstractItemModel* tmp_add_class_3;
  QAbstractListModel* tmp_add_class_4;
  QAbstractSlider* tmp_add_class_5;
  QAbstractSpinBox* tmp_add_class_6;
  QAbstractTableModel* tmp_add_class_7;
  QArrayData* tmp_add_class_8;
  QAssociativeIterable* tmp_add_class_9;
  QAtomicInt* tmp_add_class_10;
  QBasicMutex* tmp_add_class_11;
  QBrush* tmp_add_class_12;
  QBrushData* tmp_add_class_13;
  QByteArray* tmp_add_class_14;
  QByteArrayDataPtr* tmp_add_class_15;
  QByteRef* tmp_add_class_16;
  QChar* tmp_add_class_17;
  QCharRef* tmp_add_class_18;
  QColor* tmp_add_class_19;
  QComboBox* tmp_add_class_20;
  QConicalGradient* tmp_add_class_21;
  QContiguousCacheData* tmp_add_class_22;
  QCursor* tmp_add_class_23;
  QDataStream* tmp_add_class_24;
  QDebug* tmp_add_class_25;
  QDebugStateSaver* tmp_add_class_26;
  QDialog* tmp_add_class_27;
  QDoubleValidator* tmp_add_class_28;
  QFlag* tmp_add_class_29;
  QFont* tmp_add_class_30;
  QFontInfo* tmp_add_class_31;
  QFontMetrics* tmp_add_class_32;
  QFontMetricsF* tmp_add_class_33;
  QFrame* tmp_add_class_34;
  QGenericArgument* tmp_add_class_35;
  QGenericReturnArgument* tmp_add_class_36;
  QGradient* tmp_add_class_37;
  QHashData* tmp_add_class_38;
  QHashDummyValue* tmp_add_class_39;
  QIODevice* tmp_add_class_40;
  QIcon* tmp_add_class_41;
  QImage* tmp_add_class_42;
  QIncompatibleFlag* tmp_add_class_43;
  QIntValidator* tmp_add_class_44;
  QInternal* tmp_add_class_45;
  QKeySequence* tmp_add_class_46;
  QLatin1Char* tmp_add_class_47;
  QLatin1String* tmp_add_class_48;
  QLine* tmp_add_class_49;
  QLineF* tmp_add_class_50;
  QLinearGradient* tmp_add_class_51;
  QListData* tmp_add_class_52;
  QLocale* tmp_add_class_53;
  QMapDataBase* tmp_add_class_54;
  QMapNodeBase* tmp_add_class_55;
  QMargins* tmp_add_class_56;
  QMarginsF* tmp_add_class_57;
  QMatrix* tmp_add_class_58;
  QMessageLogContext* tmp_add_class_59;
  QMessageLogger* tmp_add_class_60;
  QMetaObject* tmp_add_class_61;
  QMetaType* tmp_add_class_62;
  QModelIndex* tmp_add_class_63;
  QMutex* tmp_add_class_64;
  QMutexLocker* tmp_add_class_65;
  QNoDebug* tmp_add_class_66;
  QObject* tmp_add_class_67;
  QObjectData* tmp_add_class_68;
  QObjectUserData* tmp_add_class_69;
  QPaintDevice* tmp_add_class_70;
  QPalette* tmp_add_class_71;
  QPersistentModelIndex* tmp_add_class_72;
  QPixelFormat* tmp_add_class_73;
  QPixmap* tmp_add_class_74;
  QPoint* tmp_add_class_75;
  QPointF* tmp_add_class_76;
  QPolygon* tmp_add_class_77;
  QPolygonF* tmp_add_class_78;
  QRadialGradient* tmp_add_class_79;
  QRect* tmp_add_class_80;
  QRectF* tmp_add_class_81;
  QRecursiveMutex* tmp_add_class_82;
  QRegExp* tmp_add_class_83;
  QRegExpValidator* tmp_add_class_84;
  QRegion* tmp_add_class_85;
  QRegularExpression* tmp_add_class_86;
  QRegularExpressionMatch* tmp_add_class_87;
  QRegularExpressionMatchIterator* tmp_add_class_88;
  QRegularExpressionValidator* tmp_add_class_89;
  QRgba64* tmp_add_class_90;
  QRubberBand* tmp_add_class_91;
  QScopedPointerPodDeleter* tmp_add_class_92;
  QSequentialIterable* tmp_add_class_93;
  QSharedData* tmp_add_class_94;
  QSignalBlocker* tmp_add_class_95;
  QSize* tmp_add_class_96;
  QSizeF* tmp_add_class_97;
  QSizePolicy* tmp_add_class_98;
  QSlider* tmp_add_class_99;
  QString* tmp_add_class_100;
  QStringDataPtr* tmp_add_class_101;
  QStringList* tmp_add_class_102;
  QStringMatcher* tmp_add_class_103;
  QStringRef* tmp_add_class_104;
  QStringView* tmp_add_class_105;
  QStyle* tmp_add_class_106;
  QStyleHintReturn* tmp_add_class_107;
  QStyleHintReturnMask* tmp_add_class_108;
  QStyleHintReturnVariant* tmp_add_class_109;
  QStyleOption* tmp_add_class_110;
  QStyleOptionButton* tmp_add_class_111;
  QStyleOptionComboBox* tmp_add_class_112;
  QStyleOptionComplex* tmp_add_class_113;
  QStyleOptionDockWidget* tmp_add_class_114;
  QStyleOptionFocusRect* tmp_add_class_115;
  QStyleOptionFrame* tmp_add_class_116;
  QStyleOptionGraphicsItem* tmp_add_class_117;
  QStyleOptionGroupBox* tmp_add_class_118;
  QStyleOptionHeader* tmp_add_class_119;
  QStyleOptionMenuItem* tmp_add_class_120;
  QStyleOptionProgressBar* tmp_add_class_121;
  QStyleOptionRubberBand* tmp_add_class_122;
  QStyleOptionSizeGrip* tmp_add_class_123;
  QStyleOptionSlider* tmp_add_class_124;
  QStyleOptionSpinBox* tmp_add_class_125;
  QStyleOptionTab* tmp_add_class_126;
  QStyleOptionTabBarBase* tmp_add_class_127;
  QStyleOptionTabV4* tmp_add_class_128;
  QStyleOptionTabWidgetFrame* tmp_add_class_129;
  QStyleOptionTitleBar* tmp_add_class_130;
  QStyleOptionToolBar* tmp_add_class_131;
  QStyleOptionToolBox* tmp_add_class_132;
  QStyleOptionToolButton* tmp_add_class_133;
  QStyleOptionViewItem* tmp_add_class_134;
  QSysInfo* tmp_add_class_135;
  QTabBar* tmp_add_class_136;
  QTabWidget* tmp_add_class_137;
  QTextStream* tmp_add_class_138;
  QTextStreamManipulator* tmp_add_class_139;
  QTransform* tmp_add_class_140;
  QUrl* tmp_add_class_141;
  QValidator* tmp_add_class_142;
  QVariant* tmp_add_class_143;
  QVariantComparisonHelper* tmp_add_class_144;
  QWidget* tmp_add_class_145;
  QWidgetData* tmp_add_class_146;
  _G_fpos64_t* tmp_add_class_147;
  _G_fpos_t* tmp_add_class_148;
  _IO_cookie_io_functions_t* tmp_add_class_149;

The GCC parameters:
  gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/fM5ANN6f_R/dump1.h"  -I/usr/include/KF5/AkonadiSearch -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/AkonadiCore -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -I/usr/include/arm-linux-gnueabihf/qt5/QtCore

