Temporary header file '/tmp/KH1OxOmhCW/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/KF5/MimeTreeParser/mimetreeparser/attachmenttemporaryfilesdirs.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/bodypart.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/bodypartformatter.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/bodypartformatterfactory.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/enums.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/messagepart.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/mimetreeparser_export.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/nodehelper.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/objecttreeparser.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/objecttreesource.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/partmetadata.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/partnodebodypart.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/simpleobjecttreesource.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser/util.h" #include "/usr/include/KF5/MimeTreeParser/mimetreeparser_version.h" // add namespaces namespace GpgME{typedef int tmp_add_type_1;} GpgME::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace KMime{typedef int tmp_add_type_2;} KMime::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace KMime{namespace HeaderParsing{typedef int tmp_add_type_3;}} KMime::HeaderParsing::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace KMime{namespace Headers{typedef int tmp_add_type_4;}} KMime::Headers::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace KMime{namespace Headers{namespace Generics{typedef int tmp_add_type_5;}}} KMime::Headers::Generics::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace KMime{namespace Types{typedef int tmp_add_type_6;}} KMime::Types::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace MimeTreeParser{typedef int tmp_add_type_7;} MimeTreeParser::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace MimeTreeParser{namespace Interface{typedef int tmp_add_type_8;}} MimeTreeParser::Interface::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace MimeTreeParser{namespace Util{typedef int tmp_add_type_9;}} MimeTreeParser::Util::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace QAlgorithmsPrivate{typedef int tmp_add_type_10;} QAlgorithmsPrivate::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace QGpgME{typedef int tmp_add_type_11;} QGpgME::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace Qt{typedef int tmp_add_type_12;} Qt::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace QtGlobalStatic{typedef int tmp_add_type_13;} QtGlobalStatic::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace QtMetaTypePrivate{typedef int tmp_add_type_14;} QtMetaTypePrivate::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{typedef int tmp_add_type_15;}} QtMetaTypePrivate::QtPrivate::tmp_add_type_15 tmp_add_func_15(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{namespace ContainerCapabilitiesMetaProgrammingHelper{typedef int tmp_add_type_16;}}} QtMetaTypePrivate::QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::tmp_add_type_16 tmp_add_func_16(){return 0;}; namespace QtPrivate{typedef int tmp_add_type_17;} QtPrivate::tmp_add_type_17 tmp_add_func_17(){return 0;}; namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_18;}} QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_18 tmp_add_func_18(){return 0;}; namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_19;}} QtPrivate::SwapExceptionTester::tmp_add_type_19 tmp_add_func_19(){return 0;}; namespace QtSharedPointer{typedef int tmp_add_type_20;} QtSharedPointer::tmp_add_type_20 tmp_add_func_20(){return 0;}; // add classes QArrayData* tmp_add_class_0; QAtomicInt* tmp_add_class_1; QByteArray* tmp_add_class_2; QByteArrayDataPtr* tmp_add_class_3; QByteRef* tmp_add_class_4; QChar* tmp_add_class_5; QCharRef* tmp_add_class_6; QDate* tmp_add_class_7; QDateTime* tmp_add_class_8; QFlag* tmp_add_class_9; QGenericArgument* tmp_add_class_10; QGenericReturnArgument* tmp_add_class_11; QHashData* tmp_add_class_12; QHashDummyValue* tmp_add_class_13; QIncompatibleFlag* tmp_add_class_14; QInternal* tmp_add_class_15; QLatin1Char* tmp_add_class_16; QLatin1String* tmp_add_class_17; QListData* tmp_add_class_18; QMapDataBase* tmp_add_class_19; QMapNodeBase* tmp_add_class_20; QMessageLogContext* tmp_add_class_21; QMessageLogger* tmp_add_class_22; QMetaObject* tmp_add_class_23; QMetaType* tmp_add_class_24; QObject* tmp_add_class_25; QObjectData* tmp_add_class_26; QObjectUserData* tmp_add_class_27; QRegExp* tmp_add_class_28; QScopedPointerPodDeleter* tmp_add_class_29; QSharedData* tmp_add_class_30; QSignalBlocker* tmp_add_class_31; QString* tmp_add_class_32; QStringDataPtr* tmp_add_class_33; QStringList* tmp_add_class_34; QStringMatcher* tmp_add_class_35; QStringRef* tmp_add_class_36; QStringView* tmp_add_class_37; QSysInfo* tmp_add_class_38; QTime* tmp_add_class_39; _G_fpos64_t* tmp_add_class_40; _G_fpos_t* tmp_add_class_41; _IO_cookie_io_functions_t* tmp_add_class_42; _gpgrt__stream* tmp_add_class_43; _gpgrt_cookie_io_functions* tmp_add_class_44; _gpgrt_poll_s* tmp_add_class_45; _gpgrt_syshd* tmp_add_class_46; itimerval* tmp_add_class_47; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/KH1OxOmhCW/dump1.h" -I/usr/include/KF5/MimeTreeParser -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/KF5/KMime -I/usr/include/arm-linux-gnueabihf/qt5/QtCore