Temporary header file '/tmp/QLp_qGyu6X/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/QtWebSockets/6.4.2/QtWebSockets/private/qdefaultmaskgenerator_p.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/6.4.2/QtWebSockets/private/qwebsocket_p.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/6.4.2/QtWebSockets/private/qwebsocketcorsauthenticator_p.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/6.4.2/QtWebSockets/private/qwebsocketdataprocessor_p.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/6.4.2/QtWebSockets/private/qwebsocketframe_p.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/6.4.2/QtWebSockets/private/qwebsockethandshakeoptions_p.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/6.4.2/QtWebSockets/private/qwebsockethandshakerequest_p.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/6.4.2/QtWebSockets/private/qwebsockethandshakeresponse_p.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/6.4.2/QtWebSockets/private/qwebsocketprotocol_p.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/6.4.2/QtWebSockets/private/qwebsocketserver_p.h" // add namespaces namespace QAlgorithmsPrivate{typedef int tmp_add_type_1;} QAlgorithmsPrivate::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace QContainerInfo{typedef int tmp_add_type_2;} QContainerInfo::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace QHashPrivate{typedef int tmp_add_type_3;} QHashPrivate::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 Qt{namespace Literals{typedef int tmp_add_type_5;}} Qt::Literals::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace Qt{namespace Literals{namespace StringLiterals{typedef int tmp_add_type_6;}}} Qt::Literals::StringLiterals::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace QtGlobalStatic{typedef int tmp_add_type_7;} QtGlobalStatic::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace QtLiterals{typedef int tmp_add_type_8;} QtLiterals::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace QtMetaContainerPrivate{typedef int tmp_add_type_9;} QtMetaContainerPrivate::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 QtPrivate{typedef int tmp_add_type_11;} QtPrivate::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace QtPrivate{namespace detail{typedef int tmp_add_type_12;}} QtPrivate::detail::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_13;}} QtPrivate::SwapExceptionTester::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace QtPrivate{namespace Tok{typedef int tmp_add_type_14;}} QtPrivate::Tok::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace QTypeTraits{typedef int tmp_add_type_15;} QTypeTraits::tmp_add_type_15 tmp_add_func_15(){return 0;}; namespace QTypeTraits{namespace detail{typedef int tmp_add_type_16;}} QTypeTraits::detail::tmp_add_type_16 tmp_add_func_16(){return 0;}; namespace q_has_char8_t{typedef int tmp_add_type_17;} q_has_char8_t::tmp_add_type_17 tmp_add_func_17(){return 0;}; namespace q_no_char8_t{typedef int tmp_add_type_18;} q_no_char8_t::tmp_add_type_18 tmp_add_func_18(){return 0;}; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/QLp_qGyu6X/dump1.h" -I/usr/include/arm-linux-gnueabihf/qt6 -I/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets -I/usr/include/arm-linux-gnueabihf/qt6/QtCore In file included from /tmp/QLp_qGyu6X/dump1.h:12: /usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/6.4.2/QtWebSockets/private/qdefaultmaskgenerator_p.h:19:10: fatal error: QtCore/private/qglobal_p.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.