Temporary header file '/tmp/T3uBnJcnos/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/arm-linux-gnueabihf/qt6/QtJsonRpc/qtjsonrpcglobal.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtJsonRpc/qtjsonrpcversion.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtLanguageServer/qtlanguageserverglobal.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtLanguageServer/qtlanguageserverversion.h" // add namespaces namespace QtGlobalStatic{typedef int tmp_add_type_1;} QtGlobalStatic::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace QtPrivate{typedef int tmp_add_type_2;} QtPrivate::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_3;}} QtPrivate::SwapExceptionTester::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace QTypeTraits{typedef int tmp_add_type_4;} QTypeTraits::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace QTypeTraits{namespace detail{typedef int tmp_add_type_5;}} QTypeTraits::detail::tmp_add_type_5 tmp_add_func_5(){return 0;}; // add classes QAtomicInt* tmp_add_class_0; QFlag* tmp_add_class_1; QIncompatibleFlag* tmp_add_class_2; QMessageLogContext* tmp_add_class_3; QMessageLogger* tmp_add_class_4; QSysInfo* tmp_add_class_5; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/T3uBnJcnos/dump1.h" -I/usr/include/arm-linux-gnueabihf/qt6