Temporary header file '/tmp/byTwkBNO1K/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #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/dbusmenu-qt5/dbusmenu_export.h" #include "/usr/include/dbusmenu-qt5/dbusmenu_version.h" #include "/usr/include/dbusmenu-qt5/dbusmenuexporter.h" #include "/usr/include/dbusmenu-qt5/dbusmenuimporter.h" // add namespaces namespace QAlgorithmsPrivate{typedef int tmp_add_type_1;} QAlgorithmsPrivate::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace QDBus{typedef int tmp_add_type_2;} QDBus::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace Qt{typedef int tmp_add_type_3;} Qt::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace QtGlobalStatic{typedef int tmp_add_type_4;} QtGlobalStatic::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace QtMetaTypePrivate{typedef int tmp_add_type_5;} QtMetaTypePrivate::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{typedef int tmp_add_type_6;}} QtMetaTypePrivate::QtPrivate::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{namespace ContainerCapabilitiesMetaProgrammingHelper{typedef int tmp_add_type_7;}}} QtMetaTypePrivate::QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace QtPrivate{typedef int tmp_add_type_8;} QtPrivate::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_9;}} QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_10;}} QtPrivate::SwapExceptionTester::tmp_add_type_10 tmp_add_func_10(){return 0;}; // add classes DBusMenuExporter* tmp_add_class_0; DBusMenuImporter* tmp_add_class_1; QArrayData* tmp_add_class_2; QAssociativeIterable* tmp_add_class_3; QAtomicInt* tmp_add_class_4; QByteArray* tmp_add_class_5; QByteArrayDataPtr* tmp_add_class_6; QByteRef* tmp_add_class_7; QChar* tmp_add_class_8; QCharRef* tmp_add_class_9; QDBusConnection* tmp_add_class_10; QFlag* tmp_add_class_11; QGenericArgument* tmp_add_class_12; QGenericReturnArgument* tmp_add_class_13; QHashData* tmp_add_class_14; QHashDummyValue* tmp_add_class_15; QIncompatibleFlag* tmp_add_class_16; QInternal* tmp_add_class_17; QLatin1Char* tmp_add_class_18; QLatin1String* tmp_add_class_19; QListData* tmp_add_class_20; QMapDataBase* tmp_add_class_21; QMapNodeBase* tmp_add_class_22; QMessageLogContext* tmp_add_class_23; QMessageLogger* tmp_add_class_24; QMetaObject* tmp_add_class_25; QMetaType* tmp_add_class_26; QObject* tmp_add_class_27; QObjectData* tmp_add_class_28; QObjectUserData* tmp_add_class_29; QRegExp* tmp_add_class_30; QScopedPointerPodDeleter* tmp_add_class_31; QSequentialIterable* tmp_add_class_32; QSignalBlocker* tmp_add_class_33; QString* tmp_add_class_34; QStringDataPtr* tmp_add_class_35; QStringList* tmp_add_class_36; QStringMatcher* tmp_add_class_37; QStringRef* tmp_add_class_38; QStringView* tmp_add_class_39; QSysInfo* tmp_add_class_40; QVariant* tmp_add_class_41; QVariantComparisonHelper* tmp_add_class_42; _G_fpos64_t* tmp_add_class_43; _G_fpos_t* tmp_add_class_44; _IO_cookie_io_functions_t* tmp_add_class_45; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/byTwkBNO1K/dump1.h" -I/usr/include/dbusmenu-qt5 -I/usr/include/arm-linux-gnueabihf/qt5