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

  // add defines
  #define __STDC_VERSION__ 201710L
#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/KF5/MessageCore/messagecore/attachmentcompressjob.h"
  #include "/usr/include/KF5/MessageCore/messagecore/attachmentfromurlbasejob.h"
  #include "/usr/include/KF5/MessageCore/messagecore/attachmentfromurlutils.h"
  #include "/usr/include/KF5/MessageCore/messagecore/attachmentloadjob.h"
  #include "/usr/include/KF5/MessageCore/messagecore/attachmentpart.h"
  #include "/usr/include/KF5/MessageCore/messagecore/attachmentpropertiesdialog.h"
  #include "/usr/include/KF5/MessageCore/messagecore/attachmentupdatejob.h"
  #include "/usr/include/KF5/MessageCore/messagecore/autocryptrecipient.h"
  #include "/usr/include/KF5/MessageCore/messagecore/autocryptstorage.h"
  #include "/usr/include/KF5/MessageCore/messagecore/autocryptutils.h"
  #include "/usr/include/KF5/MessageCore/messagecore/colorutil.h"
  #include "/usr/include/KF5/MessageCore/messagecore/globalsettings_messagecore.h"
  #include "/usr/include/KF5/MessageCore/messagecore/imagecollector.h"
  #include "/usr/include/KF5/MessageCore/messagecore/mailinglist.h"
  #include "/usr/include/KF5/MessageCore/messagecore/messagecore_export.h"
  #include "/usr/include/KF5/MessageCore/messagecore/messagecoresettings.h"
  #include "/usr/include/KF5/MessageCore/messagecore/nodehelper.h"
  #include "/usr/include/KF5/MessageCore/messagecore/stringutil.h"
  #include "/usr/include/KF5/MessageCore/messagecore/util.h"
  #include "/usr/include/KF5/MessageCore/messagecore_version.h"

  // add namespaces
  namespace ConversionCheck{typedef int tmp_add_type_1;}
  ConversionCheck::tmp_add_type_1 tmp_add_func_1(){return 0;};
  namespace GpgME{typedef int tmp_add_type_2;}
  GpgME::tmp_add_type_2 tmp_add_func_2(){return 0;};
  namespace KIdentityManagement{typedef int tmp_add_type_3;}
  KIdentityManagement::tmp_add_type_3 tmp_add_func_3(){return 0;};
  namespace KMime{typedef int tmp_add_type_4;}
  KMime::tmp_add_type_4 tmp_add_func_4(){return 0;};
  namespace KMime{namespace HeaderParsing{typedef int tmp_add_type_5;}}
  KMime::HeaderParsing::tmp_add_type_5 tmp_add_func_5(){return 0;};
  namespace KMime{namespace Headers{typedef int tmp_add_type_6;}}
  KMime::Headers::tmp_add_type_6 tmp_add_func_6(){return 0;};
  namespace KMime{namespace Headers{namespace Generics{typedef int tmp_add_type_7;}}}
  KMime::Headers::Generics::tmp_add_type_7 tmp_add_func_7(){return 0;};
  namespace KMime{namespace Types{typedef int tmp_add_type_8;}}
  KMime::Types::tmp_add_type_8 tmp_add_func_8(){return 0;};
  namespace MessageCore{typedef int tmp_add_type_9;}
  MessageCore::tmp_add_type_9 tmp_add_func_9(){return 0;};
  namespace MessageCore{namespace AttachmentFromUrlUtils{typedef int tmp_add_type_10;}}
  MessageCore::AttachmentFromUrlUtils::tmp_add_type_10 tmp_add_func_10(){return 0;};
  namespace MessageCore{namespace NodeHelper{typedef int tmp_add_type_11;}}
  MessageCore::NodeHelper::tmp_add_type_11 tmp_add_func_11(){return 0;};
  namespace MessageCore{namespace StringUtil{typedef int tmp_add_type_12;}}
  MessageCore::StringUtil::tmp_add_type_12 tmp_add_func_12(){return 0;};
  namespace MessageCore{namespace Util{typedef int tmp_add_type_13;}}
  MessageCore::Util::tmp_add_type_13 tmp_add_func_13(){return 0;};
  namespace MimeTreeParser{typedef int tmp_add_type_14;}
  MimeTreeParser::tmp_add_type_14 tmp_add_func_14(){return 0;};
  namespace MimeTreeParser{namespace Interface{typedef int tmp_add_type_15;}}
  MimeTreeParser::Interface::tmp_add_type_15 tmp_add_func_15(){return 0;};
  namespace MimeTreeParser{namespace Util{typedef int tmp_add_type_16;}}
  MimeTreeParser::Util::tmp_add_type_16 tmp_add_func_16(){return 0;};
  namespace QAlgorithmsPrivate{typedef int tmp_add_type_17;}
  QAlgorithmsPrivate::tmp_add_type_17 tmp_add_func_17(){return 0;};
  namespace QColorConstants{typedef int tmp_add_type_18;}
  QColorConstants::tmp_add_type_18 tmp_add_func_18(){return 0;};
  namespace QColorConstants{namespace Svg{typedef int tmp_add_type_19;}}
  QColorConstants::Svg::tmp_add_type_19 tmp_add_func_19(){return 0;};
  namespace QGpgME{typedef int tmp_add_type_20;}
  QGpgME::tmp_add_type_20 tmp_add_func_20(){return 0;};
  namespace QJsonPrivate{typedef int tmp_add_type_21;}
  QJsonPrivate::tmp_add_type_21 tmp_add_func_21(){return 0;};
  namespace Qt{typedef int tmp_add_type_22;}
  Qt::tmp_add_type_22 tmp_add_func_22(){return 0;};
  namespace QTextStreamFunctions{typedef int tmp_add_type_23;}
  QTextStreamFunctions::tmp_add_type_23 tmp_add_func_23(){return 0;};
  namespace QtGlobalStatic{typedef int tmp_add_type_24;}
  QtGlobalStatic::tmp_add_type_24 tmp_add_func_24(){return 0;};
  namespace QtMetaTypePrivate{typedef int tmp_add_type_25;}
  QtMetaTypePrivate::tmp_add_type_25 tmp_add_func_25(){return 0;};
  namespace QtMetaTypePrivate{namespace QtPrivate{typedef int tmp_add_type_26;}}
  QtMetaTypePrivate::QtPrivate::tmp_add_type_26 tmp_add_func_26(){return 0;};
  namespace QtMetaTypePrivate{namespace QtPrivate{namespace ContainerCapabilitiesMetaProgrammingHelper{typedef int tmp_add_type_27;}}}
  QtMetaTypePrivate::QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::tmp_add_type_27 tmp_add_func_27(){return 0;};
  namespace QtPrivate{typedef int tmp_add_type_28;}
  QtPrivate::tmp_add_type_28 tmp_add_func_28(){return 0;};
  namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_29;}}
  QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_29 tmp_add_func_29(){return 0;};
  namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_30;}}
  QtPrivate::SwapExceptionTester::tmp_add_type_30 tmp_add_func_30(){return 0;};
  namespace QtSharedPointer{typedef int tmp_add_type_31;}
  QtSharedPointer::tmp_add_type_31 tmp_add_func_31(){return 0;};

  // add classes
  KColorScheme* tmp_add_class_0;
  KConfig* tmp_add_class_1;
  KConfigBase* tmp_add_class_2;
  KConfigCompilerSignallingItem* tmp_add_class_3;
  KConfigGroup* tmp_add_class_4;
  KConfigSkeleton* tmp_add_class_5;
  KConfigSkeletonItem* tmp_add_class_6;
  KCoreConfigSkeleton* tmp_add_class_7;
  KJob* tmp_add_class_8;
  KPropertySkeletonItem* tmp_add_class_9;
  KSharedConfig* tmp_add_class_10;
  KStatefulBrush* tmp_add_class_11;
  QArrayData* tmp_add_class_12;
  QAssociativeIterable* tmp_add_class_13;
  QAtomicInt* tmp_add_class_14;
  QBrush* tmp_add_class_15;
  QBrushData* tmp_add_class_16;
  QByteArray* tmp_add_class_17;
  QByteArrayDataPtr* tmp_add_class_18;
  QByteRef* tmp_add_class_19;
  QCborError* tmp_add_class_20;
  QCborParserError* tmp_add_class_21;
  QCborValue* tmp_add_class_22;
  QCborValueRef* tmp_add_class_23;
  QChar* tmp_add_class_24;
  QCharRef* tmp_add_class_25;
  QChildEvent* tmp_add_class_26;
  QColor* tmp_add_class_27;
  QConicalGradient* tmp_add_class_28;
  QContiguousCacheData* tmp_add_class_29;
  QCoreApplication* tmp_add_class_30;
  QCursor* tmp_add_class_31;
  QDataStream* tmp_add_class_32;
  QDate* tmp_add_class_33;
  QDateTime* tmp_add_class_34;
  QDebug* tmp_add_class_35;
  QDebugStateSaver* tmp_add_class_36;
  QDeferredDeleteEvent* tmp_add_class_37;
  QDialog* tmp_add_class_38;
  QDynamicPropertyChangeEvent* tmp_add_class_39;
  QEvent* tmp_add_class_40;
  QEventLoop* tmp_add_class_41;
  QEventLoopLocker* tmp_add_class_42;
  QFlag* tmp_add_class_43;
  QFont* tmp_add_class_44;
  QFontDatabase* tmp_add_class_45;
  QFontInfo* tmp_add_class_46;
  QFontMetrics* tmp_add_class_47;
  QFontMetricsF* tmp_add_class_48;
  QGenericArgument* tmp_add_class_49;
  QGenericReturnArgument* tmp_add_class_50;
  QGradient* tmp_add_class_51;
  QHashData* tmp_add_class_52;
  QHashDummyValue* tmp_add_class_53;
  QIODevice* tmp_add_class_54;
  QImage* tmp_add_class_55;
  QIncompatibleFlag* tmp_add_class_56;
  QInternal* tmp_add_class_57;
  QJsonDocument* tmp_add_class_58;
  QJsonParseError* tmp_add_class_59;
  QJsonValue* tmp_add_class_60;
  QJsonValuePtr* tmp_add_class_61;
  QJsonValueRef* tmp_add_class_62;
  QJsonValueRefPtr* tmp_add_class_63;
  QKeySequence* tmp_add_class_64;
  QLatin1Char* tmp_add_class_65;
  QLatin1String* tmp_add_class_66;
  QLine* tmp_add_class_67;
  QLineF* tmp_add_class_68;
  QLinearGradient* tmp_add_class_69;
  QListData* tmp_add_class_70;
  QLocale* tmp_add_class_71;
  QMapDataBase* tmp_add_class_72;
  QMapNodeBase* tmp_add_class_73;
  QMargins* tmp_add_class_74;
  QMarginsF* tmp_add_class_75;
  QMatrix* tmp_add_class_76;
  QMessageLogContext* tmp_add_class_77;
  QMessageLogger* tmp_add_class_78;
  QMetaObject* tmp_add_class_79;
  QMetaType* tmp_add_class_80;
  QNoDebug* tmp_add_class_81;
  QObject* tmp_add_class_82;
  QObjectData* tmp_add_class_83;
  QObjectUserData* tmp_add_class_84;
  QPaintDevice* tmp_add_class_85;
  QPalette* tmp_add_class_86;
  QPixelFormat* tmp_add_class_87;
  QPixmap* tmp_add_class_88;
  QPoint* tmp_add_class_89;
  QPointF* tmp_add_class_90;
  QPolygon* tmp_add_class_91;
  QPolygonF* tmp_add_class_92;
  QRadialGradient* tmp_add_class_93;
  QRect* tmp_add_class_94;
  QRectF* tmp_add_class_95;
  QRegExp* tmp_add_class_96;
  QRegion* tmp_add_class_97;
  QRegularExpression* tmp_add_class_98;
  QRegularExpressionMatch* tmp_add_class_99;
  QRegularExpressionMatchIterator* tmp_add_class_100;
  QRgba64* tmp_add_class_101;
  QScopedPointerPodDeleter* tmp_add_class_102;
  QSequentialIterable* tmp_add_class_103;
  QSharedData* tmp_add_class_104;
  QSignalBlocker* tmp_add_class_105;
  QSize* tmp_add_class_106;
  QSizeF* tmp_add_class_107;
  QSizePolicy* tmp_add_class_108;
  QStandardPaths* tmp_add_class_109;
  QString* tmp_add_class_110;
  QStringDataPtr* tmp_add_class_111;
  QStringList* tmp_add_class_112;
  QStringMatcher* tmp_add_class_113;
  QStringRef* tmp_add_class_114;
  QStringView* tmp_add_class_115;
  QSysInfo* tmp_add_class_116;
  QTextCodec* tmp_add_class_117;
  QTextDecoder* tmp_add_class_118;
  QTextEncoder* tmp_add_class_119;
  QTextStream* tmp_add_class_120;
  QTextStreamManipulator* tmp_add_class_121;
  QTime* tmp_add_class_122;
  QTimerEvent* tmp_add_class_123;
  QTransform* tmp_add_class_124;
  QUrl* tmp_add_class_125;
  QUuid* tmp_add_class_126;
  QVariant* tmp_add_class_127;
  QVariantComparisonHelper* tmp_add_class_128;
  QWidget* tmp_add_class_129;
  QWidgetData* tmp_add_class_130;
  _G_fpos64_t* tmp_add_class_131;
  _G_fpos_t* tmp_add_class_132;
  _IO_cookie_io_functions_t* tmp_add_class_133;
  _gpgrt__stream* tmp_add_class_134;
  _gpgrt_cookie_io_functions* tmp_add_class_135;
  _gpgrt_poll_s* tmp_add_class_136;
  _gpgrt_syshd* tmp_add_class_137;
  itimerval* tmp_add_class_138;

The GCC parameters:
  gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/STpTLcU0mZ/dump1.h"  -I/usr/include/KF5/MessageCore -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/KF5/MimeTreeParser -I/usr/include/KF5/KMime -I/usr/include/KF5/KIdentityManagement -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/KConfigWidgets -I/usr/include/KF5/KConfigGui -I/usr/include/KF5/KConfigCore -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5/QtCore

