Temporary header file '/tmp/rJuzZDFyGu/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/xplc-0.3.13/xplc/ICategory.h" #include "/usr/include/xplc-0.3.13/xplc/ICategoryIterator.h" #include "/usr/include/xplc-0.3.13/xplc/ICategoryManager.h" #include "/usr/include/xplc-0.3.13/xplc/IFactory.h" #include "/usr/include/xplc-0.3.13/xplc/IModule.h" #include "/usr/include/xplc-0.3.13/xplc/IModuleLoader.h" #include "/usr/include/xplc-0.3.13/xplc/IModuleManagerFactory.h" #include "/usr/include/xplc-0.3.13/xplc/IMoniker.h" #include "/usr/include/xplc-0.3.13/xplc/IMonikerService.h" #include "/usr/include/xplc-0.3.13/xplc/IObject.h" #include "/usr/include/xplc-0.3.13/xplc/IServiceHandler.h" #include "/usr/include/xplc-0.3.13/xplc/IServiceManager.h" #include "/usr/include/xplc-0.3.13/xplc/IStaticServiceHandler.h" #include "/usr/include/xplc-0.3.13/xplc/IWeakRef.h" #include "/usr/include/xplc-0.3.13/xplc/core.h" #include "/usr/include/xplc-0.3.13/xplc/delete.h" #include "/usr/include/xplc-0.3.13/xplc/factory.h" #include "/usr/include/xplc-0.3.13/xplc/module.h" #include "/usr/include/xplc-0.3.13/xplc/ptr.h" #include "/usr/include/xplc-0.3.13/xplc/utils.h" #include "/usr/include/xplc-0.3.13/xplc/uuid.h" #include "/usr/include/xplc-0.3.13/xplc/uuidops.h" #include "/usr/include/xplc-0.3.13/xplc/xplc.h" // add classes CheckIObject* tmp_add_class_0; CheckIObjectOk* tmp_add_class_1; CheckIObjectOkVector* tmp_add_class_2; GenericFactory* tmp_add_class_3; ICategory* tmp_add_class_4; ICategoryIterator* tmp_add_class_5; ICategoryManager* tmp_add_class_6; IFactory* tmp_add_class_7; IModule* tmp_add_class_8; IModuleLoader* tmp_add_class_9; IModuleManagerFactory* tmp_add_class_10; IMoniker* tmp_add_class_11; IMonikerService* tmp_add_class_12; IObject* tmp_add_class_13; IObjectImplInternal* tmp_add_class_14; IServiceHandler* tmp_add_class_15; IServiceManager* tmp_add_class_16; IStaticServiceHandler* tmp_add_class_17; IWeakRef* tmp_add_class_18; UUID_Info* tmp_add_class_19; WeakRef* tmp_add_class_20; XPLC* tmp_add_class_21; XPLC_CategoryEntry* tmp_add_class_22; XPLC_ComponentEntry* tmp_add_class_23; XPLC_ModuleInfo* tmp_add_class_24; _GUID* tmp_add_class_25; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/rJuzZDFyGu/dump1.h" -I/usr/include/xplc-0.3.13 In file included from /tmp/rJuzZDFyGu/dump1.h:27: /usr/include/xplc-0.3.13/xplc/delete.h:50:2: error: #error " has to be included before ." 50 | #error " has to be included before ." | ^~~~~ In file included from /tmp/rJuzZDFyGu/dump1.h:30: /usr/include/xplc-0.3.13/xplc/ptr.h:48:2: error: #error "xplc_ptr is experimental!" 48 | #error "xplc_ptr is experimental!" | ^~~~~ In file included from /usr/include/xplc-0.3.13/xplc/IFactory.h:30, from /usr/include/xplc-0.3.13/xplc/ICategory.h:29, from /tmp/rJuzZDFyGu/dump1.h:12: /usr/include/xplc-0.3.13/xplc/IObject.h:66:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IObject::UNSTABLE_INTERFACE’ 66 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/IFactory.h:38:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IFactory::UNSTABLE_INTERFACE’ 38 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/ICategoryIterator.h:37:3: error: ISO C++ forbids in-class initialization of non-const static member ‘ICategoryIterator::UNSTABLE_INTERFACE’ 37 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/ICategory.h:37:3: error: ISO C++ forbids in-class initialization of non-const static member ‘ICategory::UNSTABLE_INTERFACE’ 37 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/IServiceHandler.h:44:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IServiceHandler::UNSTABLE_INTERFACE’ 44 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/ICategoryManager.h:38:3: error: ISO C++ forbids in-class initialization of non-const static member ‘ICategoryManager::UNSTABLE_INTERFACE’ 38 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/IModule.h:38:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IModule::UNSTABLE_INTERFACE’ 38 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/IModuleLoader.h:38:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IModuleLoader::UNSTABLE_INTERFACE’ 38 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/IModuleManagerFactory.h:32:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IModuleManagerFactory::UNSTABLE_INTERFACE’ 32 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/IMoniker.h:51:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IMoniker::UNSTABLE_INTERFACE’ 51 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/IMonikerService.h:41:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IMonikerService::UNSTABLE_INTERFACE’ 41 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/IServiceManager.h:59:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IServiceManager::UNSTABLE_INTERFACE’ 59 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/IStaticServiceHandler.h:37:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IStaticServiceHandler::UNSTABLE_INTERFACE’ 37 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~ /usr/include/xplc-0.3.13/xplc/IWeakRef.h:37:3: error: ISO C++ forbids in-class initialization of non-const static member ‘IWeakRef::UNSTABLE_INTERFACE’ 37 | UNSTABLE_INTERFACE | ^~~~~~~~~~~~~~~~~~