Temporary header file '/tmp/zDM1oc9LFc/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/KF5/KPim/importwizard/abstractaddressbook.h" #include "/usr/include/KF5/KPim/importwizard/abstractbase.h" #include "/usr/include/KF5/KPim/importwizard/abstractcalendar.h" #include "/usr/include/KF5/KPim/importwizard/abstractdisplayinfo.h" #include "/usr/include/KF5/KPim/importwizard/abstractimporter.h" #include "/usr/include/KF5/KPim/importwizard/abstractsettings.h" #include "/usr/include/KF5/KPim/importwizard/importwizardutil.h" #include "/usr/include/KF5/KPim/importwizard/libimportwizard_export.h" #include "/usr/include/KPim/importwizard_version.h" // add namespaces namespace Akonadi{typedef int tmp_add_type_1;} Akonadi::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace KContacts{typedef int tmp_add_type_2;} KContacts::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace LibImportWizard{typedef int tmp_add_type_3;} LibImportWizard::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace MailImporter{typedef int tmp_add_type_4;} MailImporter::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace PimCommon{typedef int tmp_add_type_5;} PimCommon::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 Qt{typedef int tmp_add_type_7;} Qt::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace QTextStreamFunctions{typedef int tmp_add_type_8;} QTextStreamFunctions::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace QtGlobalStatic{typedef int tmp_add_type_9;} QtGlobalStatic::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace QtMetaTypePrivate{typedef int tmp_add_type_10;} QtMetaTypePrivate::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{typedef int tmp_add_type_11;}} QtMetaTypePrivate::QtPrivate::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{namespace ContainerCapabilitiesMetaProgrammingHelper{typedef int tmp_add_type_12;}}} QtMetaTypePrivate::QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace QtPrivate{typedef int tmp_add_type_13;} QtPrivate::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_14;}} QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_15;}} QtPrivate::SwapExceptionTester::tmp_add_type_15 tmp_add_func_15(){return 0;}; namespace QtSharedPointer{typedef int tmp_add_type_16;} QtSharedPointer::tmp_add_type_16 tmp_add_func_16(){return 0;}; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/zDM1oc9LFc/dump1.h" -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/KF5/KConfigCore -I/usr/include/KF5/AkonadiCore -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5/QtCore In file included from /tmp/zDM1oc9LFc/dump1.h:16: /usr/include/KF5/KPim/importwizard/abstractimporter.h:9:10: fatal error: MailCommon/FilterImporterExporter: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.