Temporary header file '/tmp/SknamxHZMr/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/KItemModels/kbreadcrumbselectionmodel.h" #include "/usr/include/KF5/KItemModels/kcheckableproxymodel.h" #include "/usr/include/KF5/KItemModels/kcolumnheadersmodel.h" #include "/usr/include/KF5/KItemModels/kconcatenaterowsproxymodel.h" #include "/usr/include/KF5/KItemModels/kdescendantsproxymodel.h" #include "/usr/include/KF5/KItemModels/kextracolumnsproxymodel.h" #include "/usr/include/KF5/KItemModels/kitemmodels_export.h" #include "/usr/include/KF5/KItemModels/kitemmodels_version.h" #include "/usr/include/KF5/KItemModels/klinkitemselectionmodel.h" #include "/usr/include/KF5/KItemModels/kmodelindexproxymapper.h" #include "/usr/include/KF5/KItemModels/knumbermodel.h" #include "/usr/include/KF5/KItemModels/krearrangecolumnsproxymodel.h" #include "/usr/include/KF5/KItemModels/krecursivefilterproxymodel.h" #include "/usr/include/KF5/KItemModels/kselectionproxymodel.h" // add namespaces namespace QAlgorithmsPrivate{typedef int tmp_add_type_1;} QAlgorithmsPrivate::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace Qt{typedef int tmp_add_type_2;} Qt::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace QtGlobalStatic{typedef int tmp_add_type_3;} QtGlobalStatic::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace QtMetaTypePrivate{typedef int tmp_add_type_4;} QtMetaTypePrivate::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{typedef int tmp_add_type_5;}} QtMetaTypePrivate::QtPrivate::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{namespace ContainerCapabilitiesMetaProgrammingHelper{typedef int tmp_add_type_6;}}} QtMetaTypePrivate::QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace QtPrivate{typedef int tmp_add_type_7;} QtPrivate::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_8;}} QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_9;}} QtPrivate::SwapExceptionTester::tmp_add_type_9 tmp_add_func_9(){return 0;}; // add classes KBreadcrumbSelectionModel* tmp_add_class_0; KCheckableProxyModel* tmp_add_class_1; KColumnHeadersModel* tmp_add_class_2; KConcatenateRowsProxyModel* tmp_add_class_3; KDescendantsProxyModel* tmp_add_class_4; KExtraColumnsProxyModel* tmp_add_class_5; KLinkItemSelectionModel* tmp_add_class_6; KModelIndexProxyMapper* tmp_add_class_7; KNumberModel* tmp_add_class_8; KRearrangeColumnsProxyModel* tmp_add_class_9; KRecursiveFilterProxyModel* tmp_add_class_10; KSelectionProxyModel* tmp_add_class_11; QAbstractItemModel* tmp_add_class_12; QAbstractListModel* tmp_add_class_13; QAbstractProxyModel* tmp_add_class_14; QAbstractTableModel* tmp_add_class_15; QArrayData* tmp_add_class_16; QAssociativeIterable* tmp_add_class_17; QAtomicInt* tmp_add_class_18; QByteArray* tmp_add_class_19; QByteArrayDataPtr* tmp_add_class_20; QByteRef* tmp_add_class_21; QChar* tmp_add_class_22; QCharRef* tmp_add_class_23; QFlag* tmp_add_class_24; QGenericArgument* tmp_add_class_25; QGenericReturnArgument* tmp_add_class_26; QHashData* tmp_add_class_27; QHashDummyValue* tmp_add_class_28; QIdentityProxyModel* tmp_add_class_29; QIncompatibleFlag* tmp_add_class_30; QInternal* tmp_add_class_31; QItemSelection* tmp_add_class_32; QItemSelectionModel* tmp_add_class_33; QItemSelectionRange* tmp_add_class_34; QLatin1Char* tmp_add_class_35; QLatin1String* tmp_add_class_36; QListData* tmp_add_class_37; QLocale* tmp_add_class_38; QMapDataBase* tmp_add_class_39; QMapNodeBase* tmp_add_class_40; QMessageLogContext* tmp_add_class_41; QMessageLogger* tmp_add_class_42; QMetaObject* tmp_add_class_43; QMetaType* tmp_add_class_44; QModelIndex* tmp_add_class_45; QObject* tmp_add_class_46; QObjectData* tmp_add_class_47; QObjectUserData* tmp_add_class_48; QPersistentModelIndex* tmp_add_class_49; QRegExp* tmp_add_class_50; QRegularExpression* tmp_add_class_51; QRegularExpressionMatch* tmp_add_class_52; QRegularExpressionMatchIterator* tmp_add_class_53; QScopedPointerPodDeleter* tmp_add_class_54; QSequentialIterable* tmp_add_class_55; QSharedData* tmp_add_class_56; QSignalBlocker* tmp_add_class_57; QSortFilterProxyModel* tmp_add_class_58; QString* tmp_add_class_59; QStringDataPtr* tmp_add_class_60; QStringList* tmp_add_class_61; QStringMatcher* tmp_add_class_62; QStringRef* tmp_add_class_63; QStringView* tmp_add_class_64; QSysInfo* tmp_add_class_65; QVariant* tmp_add_class_66; QVariantComparisonHelper* tmp_add_class_67; _G_fpos64_t* tmp_add_class_68; _G_fpos_t* tmp_add_class_69; _IO_cookie_io_functions_t* tmp_add_class_70; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/SknamxHZMr/dump1.h" -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore