Temporary header file '/tmp/sDngJhsWBr/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/KReport3/KReportAsyncItemBase.h"
  #include "/usr/include/KReport3/KReportDataSource.h"
  #include "/usr/include/KReport3/KReportDesign.h"
  #include "/usr/include/KReport3/KReportDesigner.h"
  #include "/usr/include/KReport3/KReportDesignerItemBase.h"
  #include "/usr/include/KReport3/KReportDesignerItemRectBase.h"
  #include "/usr/include/KReport3/KReportDesignerSection.h"
  #include "/usr/include/KReport3/KReportDesignerSectionDetail.h"
  #include "/usr/include/KReport3/KReportDesignerSectionDetailGroup.h"
  #include "/usr/include/KReport3/KReportDocument.h"
  #include "/usr/include/KReport3/KReportElement.h"
  #include "/usr/include/KReport3/KReportGroupTracker.h"
  #include "/usr/include/KReport3/KReportItemBase.h"
  #include "/usr/include/KReport3/KReportItemLine.h"
  #include "/usr/include/KReport3/KReportLabelElement.h"
  #include "/usr/include/KReport3/KReportLineStyle.h"
  #include "/usr/include/KReport3/KReportPage.h"
  #include "/usr/include/KReport3/KReportPageSize.h"
  #include "/usr/include/KReport3/KReportPluginInterface.h"
  #include "/usr/include/KReport3/KReportPluginManager.h"
  #include "/usr/include/KReport3/KReportPluginMetaData.h"
  #include "/usr/include/KReport3/KReportPreRenderer.h"
  #include "/usr/include/KReport3/KReportRenderObjects.h"
  #include "/usr/include/KReport3/KReportRendererBase.h"
  #include "/usr/include/KReport3/KReportScriptConstants.h"
  #include "/usr/include/KReport3/KReportScriptDraw.h"
  #include "/usr/include/KReport3/KReportScriptHandler.h"
  #include "/usr/include/KReport3/KReportScriptSource.h"
  #include "/usr/include/KReport3/KReportSection.h"
  #include "/usr/include/KReport3/KReportSectionData.h"
  #include "/usr/include/KReport3/KReportUnit.h"
  #include "/usr/include/KReport3/KReportUtils.h"
  #include "/usr/include/KReport3/KReportView.h"
  #include "/usr/include/KReport3/config-kreport.h"
  #include "/usr/include/KReport3/kreport_export.h"
  #include "/usr/include/KReport3/kreport_version.h"

  // add namespaces
  namespace KParts{typedef int tmp_add_type_1;}
  KParts::tmp_add_type_1 tmp_add_func_1(){return 0;};
  namespace KReportPageSize{typedef int tmp_add_type_2;}
  KReportPageSize::tmp_add_type_2 tmp_add_func_2(){return 0;};
  namespace KReportUtils{typedef int tmp_add_type_3;}
  KReportUtils::tmp_add_type_3 tmp_add_func_3(){return 0;};
  namespace QAlgorithmsPrivate{typedef int tmp_add_type_4;}
  QAlgorithmsPrivate::tmp_add_type_4 tmp_add_func_4(){return 0;};
  namespace QColorConstants{typedef int tmp_add_type_5;}
  QColorConstants::tmp_add_type_5 tmp_add_func_5(){return 0;};
  namespace QColorConstants{namespace Svg{typedef int tmp_add_type_6;}}
  QColorConstants::Svg::tmp_add_type_6 tmp_add_func_6(){return 0;};
  namespace QJsonPrivate{typedef int tmp_add_type_7;}
  QJsonPrivate::tmp_add_type_7 tmp_add_func_7(){return 0;};
  namespace Qt{typedef int tmp_add_type_8;}
  Qt::tmp_add_type_8 tmp_add_func_8(){return 0;};
  namespace QTextStreamFunctions{typedef int tmp_add_type_9;}
  QTextStreamFunctions::tmp_add_type_9 tmp_add_func_9(){return 0;};
  namespace QtGlobalStatic{typedef int tmp_add_type_10;}
  QtGlobalStatic::tmp_add_type_10 tmp_add_func_10(){return 0;};
  namespace QtMetaTypePrivate{typedef int tmp_add_type_11;}
  QtMetaTypePrivate::tmp_add_type_11 tmp_add_func_11(){return 0;};
  namespace QtMetaTypePrivate{namespace QtPrivate{typedef int tmp_add_type_12;}}
  QtMetaTypePrivate::QtPrivate::tmp_add_type_12 tmp_add_func_12(){return 0;};
  namespace QtMetaTypePrivate{namespace QtPrivate{namespace ContainerCapabilitiesMetaProgrammingHelper{typedef int tmp_add_type_13;}}}
  QtMetaTypePrivate::QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::tmp_add_type_13 tmp_add_func_13(){return 0;};
  namespace QtPrivate{typedef int tmp_add_type_14;}
  QtPrivate::tmp_add_type_14 tmp_add_func_14(){return 0;};
  namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_15;}}
  QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_15 tmp_add_func_15(){return 0;};
  namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_16;}}
  QtPrivate::SwapExceptionTester::tmp_add_type_16 tmp_add_func_16(){return 0;};
  namespace QtSharedPointer{typedef int tmp_add_type_17;}
  QtSharedPointer::tmp_add_type_17 tmp_add_func_17(){return 0;};
  namespace QV4{typedef int tmp_add_type_18;}
  QV4::tmp_add_type_18 tmp_add_func_18(){return 0;};
  namespace Scripting{typedef int tmp_add_type_19;}
  Scripting::tmp_add_type_19 tmp_add_func_19(){return 0;};

  // add classes
  KPluginFactory* tmp_add_class_0;
  KPluginMetaData* tmp_add_class_1;
  KProperty* tmp_add_class_2;
  KPropertySelector* tmp_add_class_3;
  KPropertySet* tmp_add_class_4;
  KPropertySetIterator* tmp_add_class_5;
  KReportAsyncItemBase* tmp_add_class_6;
  KReportDataSource* tmp_add_class_7;
  KReportDesign* tmp_add_class_8;
  KReportDesignReadingStatus* tmp_add_class_9;
  KReportDesigner* tmp_add_class_10;
  KReportDesignerItemBase* tmp_add_class_11;
  KReportDesignerItemRectBase* tmp_add_class_12;
  KReportDesignerSection* tmp_add_class_13;
  KReportDesignerSectionDetail* tmp_add_class_14;
  KReportDesignerSectionDetailGroup* tmp_add_class_15;
  KReportDocument* tmp_add_class_16;
  KReportElement* tmp_add_class_17;
  KReportGroupTracker* tmp_add_class_18;
  KReportItemBase* tmp_add_class_19;
  KReportItemLine* tmp_add_class_20;
  KReportLabelElement* tmp_add_class_21;
  KReportLineStyle* tmp_add_class_22;
  KReportPage* tmp_add_class_23;
  KReportPluginInterface* tmp_add_class_24;
  KReportPluginManager* tmp_add_class_25;
  KReportPluginMetaData* tmp_add_class_26;
  KReportPreRenderer* tmp_add_class_27;
  KReportRendererBase* tmp_add_class_28;
  KReportRendererContext* tmp_add_class_29;
  KReportRendererFactory* tmp_add_class_30;
  KReportScriptConstants* tmp_add_class_31;
  KReportScriptDraw* tmp_add_class_32;
  KReportScriptHandler* tmp_add_class_33;
  KReportScriptSource* tmp_add_class_34;
  KReportSection* tmp_add_class_35;
  KReportSectionData* tmp_add_class_36;
  KReportTextStyleData* tmp_add_class_37;
  KReportUnit* tmp_add_class_38;
  KReportView* tmp_add_class_39;
  K_EXPORT_PLUGIN_is_deprecated_see_KDE5PORTING* tmp_add_class_40;
  OROCheckBox* tmp_add_class_41;
  ORODocument* tmp_add_class_42;
  OROEllipse* tmp_add_class_43;
  OROImage* tmp_add_class_44;
  OROLine* tmp_add_class_45;
  OROPage* tmp_add_class_46;
  OROPicture* tmp_add_class_47;
  OROPrimitive* tmp_add_class_48;
  ORORect* tmp_add_class_49;
  OROSection* tmp_add_class_50;
  OROTextBox* tmp_add_class_51;
  QAbstractGraphicsShapeItem* tmp_add_class_52;
  QArrayData* tmp_add_class_53;
  QAssociativeIterable* tmp_add_class_54;
  QAtomicInt* tmp_add_class_55;
  QBrush* tmp_add_class_56;
  QBrushData* tmp_add_class_57;
  QByteArray* tmp_add_class_58;
  QByteArrayDataPtr* tmp_add_class_59;
  QByteRef* tmp_add_class_60;
  QCborError* tmp_add_class_61;
  QCborParserError* tmp_add_class_62;
  QCborValue* tmp_add_class_63;
  QCborValueRef* tmp_add_class_64;
  QChar* tmp_add_class_65;
  QCharRef* tmp_add_class_66;
  QChildEvent* tmp_add_class_67;
  QColor* tmp_add_class_68;
  QConicalGradient* tmp_add_class_69;
  QContiguousCacheData* tmp_add_class_70;
  QCoreApplication* tmp_add_class_71;
  QCursor* tmp_add_class_72;
  QDataStream* tmp_add_class_73;
  QDate* tmp_add_class_74;
  QDateTime* tmp_add_class_75;
  QDebug* tmp_add_class_76;
  QDebugStateSaver* tmp_add_class_77;
  QDeferredDeleteEvent* tmp_add_class_78;
  QDynamicPropertyChangeEvent* tmp_add_class_79;
  QEvent* tmp_add_class_80;
  QEventLoop* tmp_add_class_81;
  QEventLoopLocker* tmp_add_class_82;
  QFlag* tmp_add_class_83;
  QFont* tmp_add_class_84;
  QFontInfo* tmp_add_class_85;
  QFontMetrics* tmp_add_class_86;
  QFontMetricsF* tmp_add_class_87;
  QGenericArgument* tmp_add_class_88;
  QGenericReturnArgument* tmp_add_class_89;
  QGradient* tmp_add_class_90;
  QGraphicsEllipseItem* tmp_add_class_91;
  QGraphicsItem* tmp_add_class_92;
  QGraphicsItemGroup* tmp_add_class_93;
  QGraphicsLineItem* tmp_add_class_94;
  QGraphicsObject* tmp_add_class_95;
  QGraphicsPathItem* tmp_add_class_96;
  QGraphicsPixmapItem* tmp_add_class_97;
  QGraphicsPolygonItem* tmp_add_class_98;
  QGraphicsRectItem* tmp_add_class_99;
  QGraphicsSimpleTextItem* tmp_add_class_100;
  QGraphicsTextItem* tmp_add_class_101;
  QHashData* tmp_add_class_102;
  QHashDummyValue* tmp_add_class_103;
  QIODevice* tmp_add_class_104;
  QImage* tmp_add_class_105;
  QIncompatibleFlag* tmp_add_class_106;
  QInternal* tmp_add_class_107;
  QJSValue* tmp_add_class_108;
  QJsonObject* tmp_add_class_109;
  QJsonValue* tmp_add_class_110;
  QJsonValuePtr* tmp_add_class_111;
  QJsonValueRef* tmp_add_class_112;
  QJsonValueRefPtr* tmp_add_class_113;
  QKeySequence* tmp_add_class_114;
  QLatin1Char* tmp_add_class_115;
  QLatin1String* tmp_add_class_116;
  QLibrary* tmp_add_class_117;
  QLine* tmp_add_class_118;
  QLineF* tmp_add_class_119;
  QLinearGradient* tmp_add_class_120;
  QListData* tmp_add_class_121;
  QLocale* tmp_add_class_122;
  QMapDataBase* tmp_add_class_123;
  QMapNodeBase* tmp_add_class_124;
  QMargins* tmp_add_class_125;
  QMarginsF* tmp_add_class_126;
  QMatrix* tmp_add_class_127;
  QMessageLogContext* tmp_add_class_128;
  QMessageLogger* tmp_add_class_129;
  QMetaObject* tmp_add_class_130;
  QMetaType* tmp_add_class_131;
  QNoDebug* tmp_add_class_132;
  QObject* tmp_add_class_133;
  QObjectData* tmp_add_class_134;
  QObjectUserData* tmp_add_class_135;
  QPageLayout* tmp_add_class_136;
  QPageSize* tmp_add_class_137;
  QPaintDevice* tmp_add_class_138;
  QPainterPath* tmp_add_class_139;
  QPainterPathStroker* tmp_add_class_140;
  QPalette* tmp_add_class_141;
  QPen* tmp_add_class_142;
  QPicture* tmp_add_class_143;
  QPictureIO* tmp_add_class_144;
  QPixelFormat* tmp_add_class_145;
  QPixmap* tmp_add_class_146;
  QPluginLoader* tmp_add_class_147;
  QPoint* tmp_add_class_148;
  QPointF* tmp_add_class_149;
  QPolygon* tmp_add_class_150;
  QPolygonF* tmp_add_class_151;
  QRadialGradient* tmp_add_class_152;
  QRect* tmp_add_class_153;
  QRectF* tmp_add_class_154;
  QRegExp* tmp_add_class_155;
  QRegion* tmp_add_class_156;
  QRegularExpression* tmp_add_class_157;
  QRegularExpressionMatch* tmp_add_class_158;
  QRegularExpressionMatchIterator* tmp_add_class_159;
  QRgba64* tmp_add_class_160;
  QScopedPointerPodDeleter* tmp_add_class_161;
  QSequentialIterable* tmp_add_class_162;
  QSharedData* tmp_add_class_163;
  QSignalBlocker* tmp_add_class_164;
  QSize* tmp_add_class_165;
  QSizeF* tmp_add_class_166;
  QSizePolicy* tmp_add_class_167;
  QStaticPlugin* tmp_add_class_168;
  QString* tmp_add_class_169;
  QStringDataPtr* tmp_add_class_170;
  QStringList* tmp_add_class_171;
  QStringMatcher* tmp_add_class_172;
  QStringRef* tmp_add_class_173;
  QStringView* tmp_add_class_174;
  QSysInfo* tmp_add_class_175;
  QTextStream* tmp_add_class_176;
  QTextStreamManipulator* tmp_add_class_177;
  QTime* tmp_add_class_178;
  QTimerEvent* tmp_add_class_179;
  QTransform* tmp_add_class_180;
  QUrl* tmp_add_class_181;
  QUuid* tmp_add_class_182;
  QVariant* tmp_add_class_183;
  QVariantComparisonHelper* tmp_add_class_184;
  QWidget* tmp_add_class_185;
  QWidgetData* tmp_add_class_186;
  _G_fpos64_t* tmp_add_class_187;
  _G_fpos_t* tmp_add_class_188;
  _IO_cookie_io_functions_t* tmp_add_class_189;

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

