Temporary header file '/tmp/0lOFZ1C5VR/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
#define getaddrinfo_a(a,b,c,d)

  // add includes
  #include "/usr/include/KPim/KGAPI/kgapi/account.h"
  #include "/usr/include/KPim/KGAPI/kgapi/accountinfo.h"
  #include "/usr/include/KPim/KGAPI/kgapi/accountinfofetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/accountmanager.h"
  #include "/usr/include/KPim/KGAPI/kgapi/authjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/blog.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/blogfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/comment.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/commentapprovejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/commentdeletecontentjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/commentdeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/commentfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/kgapiblogger_export.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/page.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/pagecreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/pagedeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/pagefetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/pagemodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/post.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/postcreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/postdeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/postfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/postmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/postpublishjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/blogger/postsearchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/calendar.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/calendarcreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/calendardeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/calendarfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/calendarmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/enums.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/event.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/eventcreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/eventdeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/eventfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/eventmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/eventmovejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/freebusyqueryjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/kgapicalendar_export.h"
  #include "/usr/include/KPim/KGAPI/kgapi/calendar/reminder.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contact.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contactcreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contactdeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contactfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contactfetchphotojob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contactmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contactsgroup.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contactsgroupcreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contactsgroupdeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contactsgroupfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/contactsgroupmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/contacts/kgapicontacts_export.h"
  #include "/usr/include/KPim/KGAPI/kgapi/createjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/deletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/about.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/aboutfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/app.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/appfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/change.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/changefetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/childreference.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/childreferencecreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/childreferencedeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/childreferencefetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/drives.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/drivescreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/drivesdeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/drivesfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/driveshidejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/drivesmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/drivessearchquery.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/file.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/fileabstractdatajob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/fileabstractmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/fileabstractresumablejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/fileabstractuploadjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/filecopyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/filecreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/filedeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/filefetchcontentjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/filefetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/filemodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/fileresumablecreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/fileresumablemodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/filesearchquery.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/filetouchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/filetrashjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/fileuntrashjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/kgapidrive_export.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/parentreference.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/parentreferencecreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/parentreferencedeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/parentreferencefetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/permission.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/permissioncreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/permissiondeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/permissionfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/permissionmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/revision.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/revisiondeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/revisionfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/revisionmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/searchquery.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/teamdrive.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/teamdrivecreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/teamdrivedeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/teamdrivefetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/teamdrivemodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/teamdrivesearchquery.h"
  #include "/usr/include/KPim/KGAPI/kgapi/drive/user.h"
  #include "/usr/include/KPim/KGAPI/kgapi/fetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/job.h"
  #include "/usr/include/KPim/KGAPI/kgapi/kgapicore_export.h"
  #include "/usr/include/KPim/KGAPI/kgapi/latitude/kgapilatitude_export.h"
  #include "/usr/include/KPim/KGAPI/kgapi/latitude/latitude.h"
  #include "/usr/include/KPim/KGAPI/kgapi/latitude/location.h"
  #include "/usr/include/KPim/KGAPI/kgapi/latitude/locationcreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/latitude/locationdeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/latitude/locationfetchhistoryjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/latitude/locationfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/maps/kgapimaps_export.h"
  #include "/usr/include/KPim/KGAPI/kgapi/maps/staticmapmarker.h"
  #include "/usr/include/KPim/KGAPI/kgapi/maps/staticmappath.h"
  #include "/usr/include/KPim/KGAPI/kgapi/maps/staticmaptilefetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/maps/staticmapurl.h"
  #include "/usr/include/KPim/KGAPI/kgapi/modifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/object.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/kgapitasks_export.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/task.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/taskcreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/taskdeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/taskfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/tasklist.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/tasklistcreatejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/tasklistdeletejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/tasklistfetchjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/tasklistmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/taskmodifyjob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/tasks/taskmovejob.h"
  #include "/usr/include/KPim/KGAPI/kgapi/types.h"
  #include "/usr/include/KPim/KGAPI/kgapi/utils.h"
  #include "/usr/include/KPim/kgapi_version.h"

  // add namespaces
  namespace KCalendarCore{typedef int tmp_add_type_1;}
  KCalendarCore::tmp_add_type_1 tmp_add_func_1(){return 0;};
  namespace KContacts{typedef int tmp_add_type_2;}
  KContacts::tmp_add_type_2 tmp_add_func_2(){return 0;};
  namespace KGAPI2{typedef int tmp_add_type_3;}
  KGAPI2::tmp_add_type_3 tmp_add_func_3(){return 0;};
  namespace KGAPI2{namespace Blogger{typedef int tmp_add_type_4;}}
  KGAPI2::Blogger::tmp_add_type_4 tmp_add_func_4(){return 0;};
  namespace KGAPI2{namespace Drive{typedef int tmp_add_type_5;}}
  KGAPI2::Drive::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 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 Utils{typedef int tmp_add_type_18;}
  Utils::tmp_add_type_18 tmp_add_func_18(){return 0;};

  // add classes
  QArrayData* tmp_add_class_0;
  QAssociativeIterable* tmp_add_class_1;
  QAtomicInt* tmp_add_class_2;
  QByteArray* tmp_add_class_3;
  QByteArrayDataPtr* tmp_add_class_4;
  QByteRef* tmp_add_class_5;
  QChar* tmp_add_class_6;
  QCharRef* tmp_add_class_7;
  QColor* tmp_add_class_8;
  QDataStream* tmp_add_class_9;
  QDate* tmp_add_class_10;
  QDateTime* tmp_add_class_11;
  QFlag* tmp_add_class_12;
  QGenericArgument* tmp_add_class_13;
  QGenericReturnArgument* tmp_add_class_14;
  QHashData* tmp_add_class_15;
  QHashDummyValue* tmp_add_class_16;
  QIODevice* tmp_add_class_17;
  QImage* tmp_add_class_18;
  QIncompatibleFlag* tmp_add_class_19;
  QInternal* tmp_add_class_20;
  QLatin1Char* tmp_add_class_21;
  QLatin1String* tmp_add_class_22;
  QLine* tmp_add_class_23;
  QLineF* tmp_add_class_24;
  QListData* tmp_add_class_25;
  QLocale* tmp_add_class_26;
  QMapDataBase* tmp_add_class_27;
  QMapNodeBase* tmp_add_class_28;
  QMargins* tmp_add_class_29;
  QMarginsF* tmp_add_class_30;
  QMatrix* tmp_add_class_31;
  QMessageLogContext* tmp_add_class_32;
  QMessageLogger* tmp_add_class_33;
  QMetaObject* tmp_add_class_34;
  QMetaType* tmp_add_class_35;
  QObject* tmp_add_class_36;
  QObjectData* tmp_add_class_37;
  QObjectUserData* tmp_add_class_38;
  QPaintDevice* tmp_add_class_39;
  QPixelFormat* tmp_add_class_40;
  QPixmap* tmp_add_class_41;
  QPoint* tmp_add_class_42;
  QPointF* tmp_add_class_43;
  QPolygon* tmp_add_class_44;
  QPolygonF* tmp_add_class_45;
  QRect* tmp_add_class_46;
  QRectF* tmp_add_class_47;
  QRegExp* tmp_add_class_48;
  QRegion* tmp_add_class_49;
  QRgba64* tmp_add_class_50;
  QScopedPointerPodDeleter* tmp_add_class_51;
  QSequentialIterable* tmp_add_class_52;
  QSharedData* tmp_add_class_53;
  QSignalBlocker* tmp_add_class_54;
  QSize* tmp_add_class_55;
  QSizeF* tmp_add_class_56;
  QString* tmp_add_class_57;
  QStringDataPtr* tmp_add_class_58;
  QStringList* tmp_add_class_59;
  QStringMatcher* tmp_add_class_60;
  QStringRef* tmp_add_class_61;
  QStringView* tmp_add_class_62;
  QSysInfo* tmp_add_class_63;
  QTime* tmp_add_class_64;
  QTimeZone* tmp_add_class_65;
  QTransform* tmp_add_class_66;
  QUrl* tmp_add_class_67;
  QVariant* tmp_add_class_68;
  QVariantComparisonHelper* tmp_add_class_69;
  _G_fpos64_t* tmp_add_class_70;
  _G_fpos_t* tmp_add_class_71;
  _IO_cookie_io_functions_t* tmp_add_class_72;

The GCC parameters:
  gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/0lOFZ1C5VR/dump1.h"  -I/usr/include/KPim/KGAPI/kgapi -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/KF5/KContacts -I/usr/include/KF5/KCalendarCore -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5/QtCore

