Temporary header file '/tmp/JizteiK4EO/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/QtSerialPort/qserialport.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtSerialPort/qserialportglobal.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtSerialPort/qserialportinfo.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtSerialPort/qtserialport-config.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtSerialPort/qtserialportexports.h" #include "/usr/include/arm-linux-gnueabihf/qt6/QtSerialPort/qtserialportversion.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;}; // add classes QAnyStringView* tmp_add_class_0; QArrayData* tmp_add_class_1; QAtomicInt* tmp_add_class_2; QBindingStatus* tmp_add_class_3; QBindingStorage* tmp_add_class_4; QByteArray* tmp_add_class_5; QByteArrayView* tmp_add_class_6; QChar* tmp_add_class_7; QDataStream* tmp_add_class_8; QFlag* tmp_add_class_9; QGenericArgument* tmp_add_class_10; QGenericReturnArgument* tmp_add_class_11; QHashSeed* tmp_add_class_12; QIODevice* tmp_add_class_13; QIODeviceBase* tmp_add_class_14; QIncompatibleFlag* tmp_add_class_15; QInternal* tmp_add_class_16; QKeyCombination* tmp_add_class_17; QLatin1Char* tmp_add_class_18; QLatin1String* tmp_add_class_19; QMessageLogContext* tmp_add_class_20; QMessageLogger* tmp_add_class_21; QMetaAssociation* tmp_add_class_22; QMetaContainer* tmp_add_class_23; QMetaObject* tmp_add_class_24; QMetaSequence* tmp_add_class_25; QMetaType* tmp_add_class_26; QMethodRawArguments* tmp_add_class_27; QObject* tmp_add_class_28; QObjectData* tmp_add_class_29; QPartialOrdering* tmp_add_class_30; QScopedPointerPodDeleter* tmp_add_class_31; QSerialPort* tmp_add_class_32; QSerialPortInfo* tmp_add_class_33; QSignalBlocker* tmp_add_class_34; QString* tmp_add_class_35; QStringMatcher* tmp_add_class_36; QStringTokenizerBaseBase* tmp_add_class_37; QStringView* tmp_add_class_38; QSysInfo* tmp_add_class_39; _G_fpos64_t* tmp_add_class_40; _G_fpos_t* tmp_add_class_41; _IO_cookie_io_functions_t* tmp_add_class_42; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/JizteiK4EO/dump1.h" -I/usr/include/arm-linux-gnueabihf/qt6