Temporary header file '/tmp/RGYhESBe6n/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/Akonadi/akonadi/private/akonadiprivate_export.h" #include "/usr/include/KF5/Akonadi/akonadi/private/capabilities_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/compressionstream_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/dbus_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/externalpartstorage_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/imapparser_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/imapset_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/instance_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/protocol_exception_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/protocol_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/scope_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/standarddirs_p.h" #include "/usr/include/KF5/Akonadi/akonadi/private/tristate_p.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 DBus{typedef int tmp_add_type_2;}} Akonadi::DBus::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace Akonadi{namespace Instance{typedef int tmp_add_type_3;}} Akonadi::Instance::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace Akonadi{namespace Protocol{typedef int tmp_add_type_4;}} Akonadi::Protocol::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace Akonadi{namespace StandardDirs{typedef int tmp_add_type_5;}} Akonadi::StandardDirs::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 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;}; // add classes QArrayData* tmp_add_class_0; QAssociativeIterable* tmp_add_class_1; QAtomicInt* tmp_add_class_2; QBasicMutex* tmp_add_class_3; QByteArray* tmp_add_class_4; QByteArrayDataPtr* tmp_add_class_5; QByteRef* tmp_add_class_6; QCborError* tmp_add_class_7; QCborParserError* tmp_add_class_8; QCborValue* tmp_add_class_9; QCborValueRef* tmp_add_class_10; QChar* tmp_add_class_11; QCharRef* tmp_add_class_12; QContiguousCacheData* tmp_add_class_13; QDate* tmp_add_class_14; QDateTime* tmp_add_class_15; QDebug* tmp_add_class_16; QDebugStateSaver* tmp_add_class_17; QFlag* tmp_add_class_18; QGenericArgument* tmp_add_class_19; QGenericReturnArgument* tmp_add_class_20; QHashData* tmp_add_class_21; QHashDummyValue* tmp_add_class_22; QIODevice* tmp_add_class_23; QIncompatibleFlag* tmp_add_class_24; QInternal* tmp_add_class_25; QJsonObject* tmp_add_class_26; QJsonValue* tmp_add_class_27; QJsonValuePtr* tmp_add_class_28; QJsonValueRef* tmp_add_class_29; QJsonValueRefPtr* tmp_add_class_30; QLatin1Char* tmp_add_class_31; QLatin1String* tmp_add_class_32; QListData* tmp_add_class_33; QLocale* tmp_add_class_34; QMapDataBase* tmp_add_class_35; QMapNodeBase* tmp_add_class_36; QMessageLogContext* tmp_add_class_37; QMessageLogger* tmp_add_class_38; QMetaObject* tmp_add_class_39; QMetaType* tmp_add_class_40; QMutex* tmp_add_class_41; QMutexLocker* tmp_add_class_42; QNoDebug* tmp_add_class_43; QObject* tmp_add_class_44; QObjectData* tmp_add_class_45; QObjectUserData* tmp_add_class_46; QRecursiveMutex* tmp_add_class_47; QRegExp* tmp_add_class_48; QRegularExpression* tmp_add_class_49; QRegularExpressionMatch* tmp_add_class_50; QRegularExpressionMatchIterator* tmp_add_class_51; QScopedPointerPodDeleter* tmp_add_class_52; QSequentialIterable* tmp_add_class_53; QSharedData* tmp_add_class_54; QSignalBlocker* tmp_add_class_55; QString* tmp_add_class_56; QStringDataPtr* tmp_add_class_57; QStringList* tmp_add_class_58; QStringMatcher* tmp_add_class_59; QStringRef* tmp_add_class_60; QStringView* tmp_add_class_61; QSysInfo* tmp_add_class_62; QTextStream* tmp_add_class_63; QTextStreamManipulator* tmp_add_class_64; QTime* tmp_add_class_65; QUrl* tmp_add_class_66; QUuid* 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/RGYhESBe6n/dump1.h" -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore