Temporary header file '/tmp/OBxUJL1c6U/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #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/arm-linux-gnueabihf/qt6/QtWebSockets/qmaskgenerator.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/qtwebsocketsexports.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/qtwebsocketsversion.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/qwebsocket.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/qwebsocketcorsauthenticator.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/qwebsockethandshakeoptions.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/qwebsocketprotocol.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/qwebsockets_global.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtWebSockets/qwebsocketserver.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 QHashPrivate{namespace GrowthPolicy{typedef int tmp_add_type_4;}} QHashPrivate::GrowthPolicy::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace QSsl{typedef int tmp_add_type_5;} QSsl::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace Qt{typedef int tmp_add_type_6;} Qt::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace Qt{namespace Literals{typedef int tmp_add_type_7;}} Qt::Literals::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace Qt{namespace Literals{namespace StringLiterals{typedef int tmp_add_type_8;}}} Qt::Literals::StringLiterals::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 QtLiterals{typedef int tmp_add_type_10;} QtLiterals::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace QtMetaContainerPrivate{typedef int tmp_add_type_11;} QtMetaContainerPrivate::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace QtMetaTypePrivate{typedef int tmp_add_type_12;} QtMetaTypePrivate::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 detail{typedef int tmp_add_type_14;}} QtPrivate::detail::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 QtPrivate{namespace Tok{typedef int tmp_add_type_16;}} QtPrivate::Tok::tmp_add_type_16 tmp_add_func_16(){return 0;}; namespace QtSharedPointer{typedef int tmp_add_type_17;} QtSharedPointer::tmp_add_type_17 tmp_add_func_17(){return 0;}; namespace QTypeTraits{typedef int tmp_add_type_18;} QTypeTraits::tmp_add_type_18 tmp_add_func_18(){return 0;}; namespace QTypeTraits{namespace detail{typedef int tmp_add_type_19;}} QTypeTraits::detail::tmp_add_type_19 tmp_add_func_19(){return 0;}; namespace QWebSocketProtocol{typedef int tmp_add_type_20;} QWebSocketProtocol::tmp_add_type_20 tmp_add_func_20(){return 0;}; namespace q_has_char8_t{typedef int tmp_add_type_21;} q_has_char8_t::tmp_add_type_21 tmp_add_func_21(){return 0;}; namespace q_no_char8_t{typedef int tmp_add_type_22;} q_no_char8_t::tmp_add_type_22 tmp_add_func_22(){return 0;}; // add classes QAbstractSocket* tmp_add_class_0; QAdoptSharedDataTag* tmp_add_class_1; QAnyStringView* tmp_add_class_2; QArrayData* tmp_add_class_3; QAtomicInt* tmp_add_class_4; QBindingStatus* tmp_add_class_5; QBindingStorage* tmp_add_class_6; QByteArray* tmp_add_class_7; QByteArrayView* tmp_add_class_8; QCalendar* tmp_add_class_9; QChar* tmp_add_class_10; QContiguousCacheData* tmp_add_class_11; QCryptographicHash* tmp_add_class_12; QDataStream* tmp_add_class_13; QDate* tmp_add_class_14; QDateTime* tmp_add_class_15; QDebug* tmp_add_class_16; QDebugStateSaver* tmp_add_class_17; QFlag* tmp_add_class_18; QGenericArgument* tmp_add_class_19; QGenericReturnArgument* tmp_add_class_20; QHashDummyValue* tmp_add_class_21; QHashSeed* tmp_add_class_22; QHostAddress* tmp_add_class_23; QIODevice* tmp_add_class_24; QIODeviceBase* tmp_add_class_25; QIPv6Address* tmp_add_class_26; QIncompatibleFlag* tmp_add_class_27; QInternal* tmp_add_class_28; QKeyCombination* tmp_add_class_29; QLatin1Char* tmp_add_class_30; QLatin1String* tmp_add_class_31; QLocale* tmp_add_class_32; QMaskGenerator* tmp_add_class_33; QMessageLogContext* tmp_add_class_34; QMessageLogger* tmp_add_class_35; QMetaAssociation* tmp_add_class_36; QMetaContainer* tmp_add_class_37; QMetaObject* tmp_add_class_38; QMetaSequence* tmp_add_class_39; QMetaType* tmp_add_class_40; QMethodRawArguments* tmp_add_class_41; QNetworkProxy* tmp_add_class_42; QNetworkProxyFactory* tmp_add_class_43; QNetworkProxyQuery* tmp_add_class_44; QNetworkRequest* tmp_add_class_45; QNoDebug* tmp_add_class_46; QObject* tmp_add_class_47; QObjectData* tmp_add_class_48; QPartialOrdering* tmp_add_class_49; QScopedPointerPodDeleter* tmp_add_class_50; QSharedData* tmp_add_class_51; QSignalBlocker* tmp_add_class_52; QSslCertificate* tmp_add_class_53; QSslConfiguration* tmp_add_class_54; QSslError* tmp_add_class_55; QSslSocket* tmp_add_class_56; QString* tmp_add_class_57; QStringConverter* tmp_add_class_58; QStringConverterBase* tmp_add_class_59; QStringMatcher* tmp_add_class_60; QStringTokenizerBaseBase* tmp_add_class_61; QStringView* tmp_add_class_62; QSysInfo* tmp_add_class_63; QTcpSocket* tmp_add_class_64; QTextStream* tmp_add_class_65; QTextStreamManipulator* tmp_add_class_66; QTime* tmp_add_class_67; QUrl* tmp_add_class_68; QVLABaseBase* tmp_add_class_69; QVariant* tmp_add_class_70; QVariantConstPointer* tmp_add_class_71; QWebSocket* tmp_add_class_72; QWebSocketCorsAuthenticator* tmp_add_class_73; QWebSocketHandshakeOptions* tmp_add_class_74; QWebSocketServer* tmp_add_class_75; _G_fpos64_t* tmp_add_class_76; _G_fpos_t* tmp_add_class_77; _IO_cookie_io_functions_t* tmp_add_class_78; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/OBxUJL1c6U/dump1.h" -I/usr/include/arm-linux-gnueabihf/qt6