Temporary header file '/tmp/Gl5pvOStxB/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 #ifdef __cplusplus // C17 compat layer #define _Alignof(type) alignof(type) #endif #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/qt5xdg/xdgaction.h" #include "/usr/include/qt5xdg/xdgautostart.h" #include "/usr/include/qt5xdg/xdgdefaultapps.h" #include "/usr/include/qt5xdg/xdgdesktopfile.h" #include "/usr/include/qt5xdg/xdgdirs.h" #include "/usr/include/qt5xdg/xdgicon.h" #include "/usr/include/qt5xdg/xdgmacros.h" #include "/usr/include/qt5xdg/xdgmenu.h" #include "/usr/include/qt5xdg/xdgmenuwidget.h" #include "/usr/include/qt5xdg/xdgmimeapps.h" #include "/usr/include/qt5xdg/xdgmimetype.h" #include "/usr/include/qt5xdg/xmlhelper.h" // add namespaces namespace QAlgorithmsPrivate{typedef int tmp_add_type_1;} QAlgorithmsPrivate::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace QColorConstants{typedef int tmp_add_type_2;} QColorConstants::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace QColorConstants{namespace Svg{typedef int tmp_add_type_3;}} QColorConstants::Svg::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 QTextStreamFunctions{typedef int tmp_add_type_5;} QTextStreamFunctions::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace QtGlobalStatic{typedef int tmp_add_type_6;} QtGlobalStatic::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace QtMetaTypePrivate{typedef int tmp_add_type_7;} QtMetaTypePrivate::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{typedef int tmp_add_type_8;}} QtMetaTypePrivate::QtPrivate::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{namespace ContainerCapabilitiesMetaProgrammingHelper{typedef int tmp_add_type_9;}}} QtMetaTypePrivate::QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace QtPrivate{typedef int tmp_add_type_10;} QtPrivate::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace QtPrivate{namespace DeprecatedRefClassBehavior{typedef int tmp_add_type_11;}} QtPrivate::DeprecatedRefClassBehavior::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace QtPrivate{namespace SwapExceptionTester{typedef int tmp_add_type_12;}} QtPrivate::SwapExceptionTester::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace QtSharedPointer{typedef int tmp_add_type_13;} QtSharedPointer::tmp_add_type_13 tmp_add_func_13(){return 0;}; // add classes DomElementIterator* tmp_add_class_0; MutableDomElementIterator* tmp_add_class_1; QAction* tmp_add_class_2; QActionGroup* tmp_add_class_3; QArrayData* tmp_add_class_4; QAssociativeIterable* tmp_add_class_5; QAtomicInt* tmp_add_class_6; QBrush* tmp_add_class_7; QBrushData* tmp_add_class_8; QByteArray* tmp_add_class_9; QByteArrayDataPtr* tmp_add_class_10; QByteRef* tmp_add_class_11; QChar* tmp_add_class_12; QCharRef* tmp_add_class_13; QColor* tmp_add_class_14; QConicalGradient* tmp_add_class_15; QContiguousCacheData* tmp_add_class_16; QCursor* tmp_add_class_17; QDataStream* tmp_add_class_18; QDebug* tmp_add_class_19; QDebugStateSaver* tmp_add_class_20; QDomAttr* tmp_add_class_21; QDomCDATASection* tmp_add_class_22; QDomCharacterData* tmp_add_class_23; QDomComment* tmp_add_class_24; QDomDocument* tmp_add_class_25; QDomDocumentFragment* tmp_add_class_26; QDomDocumentType* tmp_add_class_27; QDomElement* tmp_add_class_28; QDomEntity* tmp_add_class_29; QDomEntityReference* tmp_add_class_30; QDomImplementation* tmp_add_class_31; QDomNamedNodeMap* tmp_add_class_32; QDomNode* tmp_add_class_33; QDomNodeList* tmp_add_class_34; QDomNotation* tmp_add_class_35; QDomProcessingInstruction* tmp_add_class_36; QDomText* tmp_add_class_37; QFlag* tmp_add_class_38; QFont* tmp_add_class_39; QFontInfo* tmp_add_class_40; QFontMetrics* tmp_add_class_41; QFontMetricsF* tmp_add_class_42; QGenericArgument* tmp_add_class_43; QGenericReturnArgument* tmp_add_class_44; QGradient* tmp_add_class_45; QHashData* tmp_add_class_46; QHashDummyValue* tmp_add_class_47; QIODevice* tmp_add_class_48; QIcon* tmp_add_class_49; QImage* tmp_add_class_50; QIncompatibleFlag* tmp_add_class_51; QInternal* tmp_add_class_52; QKeySequence* tmp_add_class_53; QLatin1Char* tmp_add_class_54; QLatin1String* tmp_add_class_55; QLine* tmp_add_class_56; QLineF* tmp_add_class_57; QLinearGradient* tmp_add_class_58; QListData* tmp_add_class_59; QLocale* tmp_add_class_60; QMapDataBase* tmp_add_class_61; QMapNodeBase* tmp_add_class_62; QMargins* tmp_add_class_63; QMarginsF* tmp_add_class_64; QMatrix* tmp_add_class_65; QMenu* tmp_add_class_66; QMessageLogContext* tmp_add_class_67; QMessageLogger* tmp_add_class_68; QMetaObject* tmp_add_class_69; QMetaType* tmp_add_class_70; QMimeType* tmp_add_class_71; QNoDebug* tmp_add_class_72; QObject* tmp_add_class_73; QObjectData* tmp_add_class_74; QObjectUserData* tmp_add_class_75; QPaintDevice* tmp_add_class_76; QPalette* tmp_add_class_77; QPixelFormat* tmp_add_class_78; QPixmap* tmp_add_class_79; QPoint* tmp_add_class_80; QPointF* tmp_add_class_81; QPolygon* tmp_add_class_82; QPolygonF* tmp_add_class_83; QRadialGradient* tmp_add_class_84; QRect* tmp_add_class_85; QRectF* tmp_add_class_86; QRegExp* tmp_add_class_87; QRegion* tmp_add_class_88; QRgba64* tmp_add_class_89; QScopedPointerPodDeleter* tmp_add_class_90; QSequentialIterable* tmp_add_class_91; QSettings* tmp_add_class_92; QSharedData* tmp_add_class_93; QSignalBlocker* tmp_add_class_94; QSize* tmp_add_class_95; QSizeF* tmp_add_class_96; QSizePolicy* tmp_add_class_97; QString* tmp_add_class_98; QStringDataPtr* tmp_add_class_99; QStringList* tmp_add_class_100; QStringMatcher* tmp_add_class_101; QStringRef* tmp_add_class_102; QStringView* tmp_add_class_103; QSysInfo* tmp_add_class_104; QTextStream* tmp_add_class_105; QTextStreamManipulator* tmp_add_class_106; QTransform* tmp_add_class_107; QVariant* tmp_add_class_108; QVariantComparisonHelper* tmp_add_class_109; QWidget* tmp_add_class_110; QWidgetData* tmp_add_class_111; XdgAction* tmp_add_class_112; XdgAutoStart* tmp_add_class_113; XdgDefaultApps* tmp_add_class_114; XdgDesktopFile* tmp_add_class_115; XdgDirs* tmp_add_class_116; XdgIcon* tmp_add_class_117; XdgMenu* tmp_add_class_118; XdgMenuWidget* tmp_add_class_119; XdgMimeApps* tmp_add_class_120; XdgMimeType* tmp_add_class_121; _G_fpos64_t* tmp_add_class_122; _G_fpos_t* tmp_add_class_123; _IO_cookie_io_functions_t* tmp_add_class_124; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/Gl5pvOStxB/dump1.h" -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5/QtCore