Temporary header file '/tmp/mjDQABPLb2/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/lomiri/upload_manager/common.h" #include "/usr/include/lomiri/upload_manager/metatypes.h" #include "/usr/include/lomiri/upload_manager/upload_struct.h" // add namespaces namespace Lomiri{typedef int tmp_add_type_1;} Lomiri::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace Lomiri{namespace Transfers{typedef int tmp_add_type_2;}} Lomiri::Transfers::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace Lomiri{namespace Transfers{namespace Errors{typedef int tmp_add_type_3;}}} Lomiri::Transfers::Errors::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace Lomiri{namespace UploadManager{typedef int tmp_add_type_4;}} Lomiri::UploadManager::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace QAlgorithmsPrivate{typedef int tmp_add_type_5;} QAlgorithmsPrivate::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 QtGlobalStatic{typedef int tmp_add_type_7;} QtGlobalStatic::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace QtMetaTypePrivate{typedef int tmp_add_type_8;} QtMetaTypePrivate::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{typedef int tmp_add_type_9;}} QtMetaTypePrivate::QtPrivate::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace QtMetaTypePrivate{namespace QtPrivate{namespace ContainerCapabilitiesMetaProgrammingHelper{typedef int tmp_add_type_10;}}} QtMetaTypePrivate::QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::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 DeprecatedRefClassBehavior{typedef int tmp_add_type_12;}} QtPrivate::DeprecatedRefClassBehavior::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;}; // add classes QArrayData* tmp_add_class_0; QAssociativeIterable* tmp_add_class_1; QAtomicInt* tmp_add_class_2; QByteArray* tmp_add_class_3; QByteArrayDataPtr* tmp_add_class_4; QByteRef* tmp_add_class_5; QChar* tmp_add_class_6; QCharRef* tmp_add_class_7; QFlag* tmp_add_class_8; QGenericArgument* tmp_add_class_9; QGenericReturnArgument* tmp_add_class_10; QHashData* tmp_add_class_11; QHashDummyValue* tmp_add_class_12; QIncompatibleFlag* tmp_add_class_13; QInternal* tmp_add_class_14; QLatin1Char* tmp_add_class_15; QLatin1String* tmp_add_class_16; QListData* tmp_add_class_17; QMapDataBase* tmp_add_class_18; QMapNodeBase* tmp_add_class_19; QMessageLogContext* tmp_add_class_20; QMessageLogger* tmp_add_class_21; QMetaObject* tmp_add_class_22; QMetaType* tmp_add_class_23; QObject* tmp_add_class_24; QObjectData* tmp_add_class_25; QObjectUserData* tmp_add_class_26; QRegExp* tmp_add_class_27; QScopedPointerPodDeleter* tmp_add_class_28; QSequentialIterable* tmp_add_class_29; QSignalBlocker* tmp_add_class_30; QString* tmp_add_class_31; QStringDataPtr* tmp_add_class_32; QStringList* tmp_add_class_33; QStringMatcher* tmp_add_class_34; QStringRef* tmp_add_class_35; QStringView* tmp_add_class_36; QSysInfo* tmp_add_class_37; QVariant* tmp_add_class_38; QVariantComparisonHelper* 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/mjDQABPLb2/dump1.h" -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore In file included from /usr/include/lomiri/upload_manager/metatypes.h:24, from /tmp/mjDQABPLb2/dump1.h:13: /usr/include/lomiri/transfers/errors/auth_error_struct.h:37:16: error: ‘Lomiri::Transfers::Errors::AuthErrorStruct::Type’ has not been declared 37 | Q_PROPERTY(AuthErrorStruct::Type type READ getType) | ^~~~~~~~~~~~~~~ /usr/include/lomiri/transfers/errors/auth_error_struct.h:37:43: error: expected ‘,’ or ‘...’ before ‘READ’ 37 | Q_PROPERTY(AuthErrorStruct::Type type READ getType) | ^~~~ /usr/include/lomiri/transfers/errors/auth_error_struct.h:37:55: error: expected ‘;’ at end of member declaration 37 | Q_PROPERTY(AuthErrorStruct::Type type READ getType) | ^ | ; /usr/include/lomiri/transfers/errors/auth_error_struct.h:38:31: error: expected ‘,’ or ‘...’ before ‘READ’ 38 | Q_PROPERTY(QString phrase READ getPhrase) | ^~~~ /usr/include/lomiri/transfers/errors/auth_error_struct.h:38:45: error: expected ‘;’ at end of member declaration 38 | Q_PROPERTY(QString phrase READ getPhrase) | ^ | ; In file included from /usr/include/lomiri/upload_manager/metatypes.h:25: /usr/include/lomiri/transfers/errors/http_error_struct.h:39:25: error: expected ‘,’ or ‘...’ before ‘READ’ 39 | Q_PROPERTY(int code READ getCode) | ^~~~ /usr/include/lomiri/transfers/errors/http_error_struct.h:39:37: error: expected ‘;’ at end of member declaration 39 | Q_PROPERTY(int code READ getCode) | ^ | ; /usr/include/lomiri/transfers/errors/http_error_struct.h:40:31: error: expected ‘,’ or ‘...’ before ‘READ’ 40 | Q_PROPERTY(QString phrase READ getPhrase) | ^~~~ /usr/include/lomiri/transfers/errors/http_error_struct.h:40:45: error: expected ‘;’ at end of member declaration 40 | Q_PROPERTY(QString phrase READ getPhrase) | ^ | ; In file included from /usr/include/lomiri/upload_manager/metatypes.h:26: /usr/include/lomiri/transfers/errors/network_error_struct.h:39:25: error: expected ‘,’ or ‘...’ before ‘READ’ 39 | Q_PROPERTY(int code READ getCode) | ^~~~ /usr/include/lomiri/transfers/errors/network_error_struct.h:39:37: error: expected ‘;’ at end of member declaration 39 | Q_PROPERTY(int code READ getCode) | ^ | ; /usr/include/lomiri/transfers/errors/network_error_struct.h:40:31: error: expected ‘,’ or ‘...’ before ‘READ’ 40 | Q_PROPERTY(QString phrase READ getPhrase) | ^~~~ /usr/include/lomiri/transfers/errors/network_error_struct.h:40:45: error: expected ‘;’ at end of member declaration 40 | Q_PROPERTY(QString phrase READ getPhrase) | ^ | ; In file included from /usr/include/lomiri/upload_manager/metatypes.h:27: /usr/include/lomiri/transfers/errors/process_error_struct.h:39:25: error: expected ‘,’ or ‘...’ before ‘READ’ 39 | Q_PROPERTY(int code READ getCode) | ^~~~ /usr/include/lomiri/transfers/errors/process_error_struct.h:39:37: error: expected ‘;’ at end of member declaration 39 | Q_PROPERTY(int code READ getCode) | ^ | ; /usr/include/lomiri/transfers/errors/process_error_struct.h:40:29: error: expected ‘,’ or ‘...’ before ‘READ’ 40 | Q_PROPERTY(int exitCode READ getExitCode) | ^~~~ /usr/include/lomiri/transfers/errors/process_error_struct.h:40:45: error: expected ‘;’ at end of member declaration 40 | Q_PROPERTY(int exitCode READ getExitCode) | ^ | ; /usr/include/lomiri/transfers/errors/process_error_struct.h:40:5: error: ‘int Lomiri::Transfers::Errors::ProcessErrorStruct::Q_PROPERTY(int)’ cannot be overloaded with ‘int Lomiri::Transfers::Errors::ProcessErrorStruct::Q_PROPERTY(int)’ 40 | Q_PROPERTY(int exitCode READ getExitCode) | ^~~~~~~~~~ /usr/include/lomiri/transfers/errors/process_error_struct.h:39:5: note: previous declaration ‘int Lomiri::Transfers::Errors::ProcessErrorStruct::Q_PROPERTY(int)’ 39 | Q_PROPERTY(int code READ getCode) | ^~~~~~~~~~ /usr/include/lomiri/transfers/errors/process_error_struct.h:41:31: error: expected ‘,’ or ‘...’ before ‘READ’ 41 | Q_PROPERTY(QString phrase READ getPhrase) | ^~~~ /usr/include/lomiri/transfers/errors/process_error_struct.h:41:45: error: expected ‘;’ at end of member declaration 41 | Q_PROPERTY(QString phrase READ getPhrase) | ^ | ; /usr/include/lomiri/transfers/errors/process_error_struct.h:42:29: error: expected ‘,’ or ‘...’ before ‘getStandardOutput’ 42 | Q_PROPERTY(QString READ getStandardOutput) | ^~~~~~~~~~~~~~~~~ /usr/include/lomiri/transfers/errors/process_error_struct.h:42:46: error: expected ‘;’ at end of member declaration 42 | Q_PROPERTY(QString READ getStandardOutput) | ^ | ; /usr/include/lomiri/transfers/errors/process_error_struct.h:42:5: error: ‘int Lomiri::Transfers::Errors::ProcessErrorStruct::Q_PROPERTY(QString)’ cannot be overloaded with ‘int Lomiri::Transfers::Errors::ProcessErrorStruct::Q_PROPERTY(QString)’ 42 | Q_PROPERTY(QString READ getStandardOutput) | ^~~~~~~~~~ /usr/include/lomiri/transfers/errors/process_error_struct.h:41:5: note: previous declaration ‘int Lomiri::Transfers::Errors::ProcessErrorStruct::Q_PROPERTY(QString)’ 41 | Q_PROPERTY(QString phrase READ getPhrase) | ^~~~~~~~~~ /usr/include/lomiri/transfers/errors/process_error_struct.h:43:29: error: expected ‘,’ or ‘...’ before ‘getStandardError’ 43 | Q_PROPERTY(QString READ getStandardError) | ^~~~~~~~~~~~~~~~ /usr/include/lomiri/transfers/errors/process_error_struct.h:43:45: error: expected ‘;’ at end of member declaration 43 | Q_PROPERTY(QString READ getStandardError) | ^ | ; /usr/include/lomiri/transfers/errors/process_error_struct.h:43:5: error: ‘int Lomiri::Transfers::Errors::ProcessErrorStruct::Q_PROPERTY(QString)’ cannot be overloaded with ‘int Lomiri::Transfers::Errors::ProcessErrorStruct::Q_PROPERTY(QString)’ 43 | Q_PROPERTY(QString READ getStandardError) | ^~~~~~~~~~ /usr/include/lomiri/transfers/errors/process_error_struct.h:41:5: note: previous declaration ‘int Lomiri::Transfers::Errors::ProcessErrorStruct::Q_PROPERTY(QString)’ 41 | Q_PROPERTY(QString phrase READ getPhrase) | ^~~~~~~~~~