Temporary header file '/tmp/0nSQnQ3DP4/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/KDESu/kdesu/client.h" #include "/usr/include/KF5/KDESu/kdesu/defaults.h" #include "/usr/include/KF5/KDESu/kdesu/kdesu_export.h" #include "/usr/include/KF5/KDESu/kdesu/process.h" #include "/usr/include/KF5/KDESu/kdesu/ptyprocess.h" #include "/usr/include/KF5/KDESu/kdesu/ssh.h" #include "/usr/include/KF5/KDESu/kdesu/sshprocess.h" #include "/usr/include/KF5/KDESu/kdesu/stub.h" #include "/usr/include/KF5/KDESu/kdesu/stubprocess.h" #include "/usr/include/KF5/KDESu/kdesu/su.h" #include "/usr/include/KF5/KDESu/kdesu/suprocess.h" #include "/usr/include/KF5/KDESu/kdesu_version.h" // add namespaces namespace KDESu{typedef int tmp_add_type_1;} KDESu::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace KDESu{namespace KDESuPrivate{typedef int tmp_add_type_2;}} KDESu::KDESuPrivate::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace QAlgorithmsPrivate{typedef int tmp_add_type_3;} QAlgorithmsPrivate::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace Qt{typedef int tmp_add_type_4;} Qt::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace QtGlobalStatic{typedef int tmp_add_type_5;} QtGlobalStatic::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace QtPrivate{typedef int tmp_add_type_6;} QtPrivate::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_7;}} QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_8;}} QtPrivate::SwapExceptionTester::tmp_add_type_8 tmp_add_func_8(){return 0;}; // add classes KPty* tmp_add_class_0; QArrayData* 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; QFlag* tmp_add_class_8; QIncompatibleFlag* tmp_add_class_9; QInternal* tmp_add_class_10; QLatin1Char* tmp_add_class_11; QLatin1String* tmp_add_class_12; QListData* tmp_add_class_13; QMessageLogContext* tmp_add_class_14; QMessageLogger* tmp_add_class_15; QRegExp* tmp_add_class_16; QString* tmp_add_class_17; QStringDataPtr* tmp_add_class_18; QStringList* tmp_add_class_19; QStringMatcher* tmp_add_class_20; QStringRef* tmp_add_class_21; QStringView* tmp_add_class_22; QSysInfo* tmp_add_class_23; _G_fpos64_t* tmp_add_class_24; _G_fpos_t* tmp_add_class_25; _IO_cookie_io_functions_t* tmp_add_class_26; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/0nSQnQ3DP4/dump1.h" -I/usr/include/KF5/KDESu -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/KF5/KPty -I/usr/include/arm-linux-gnueabihf/qt5/QtCore