Temporary header file '/tmp/4oXgrP3mRz/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _TIME_BITS 64 #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/openni2/Android-Arm/OniPlatformAndroid-Arm.h" #include "/usr/include/openni2/Driver/OniDriverAPI.h" #include "/usr/include/openni2/Driver/OniDriverTypes.h" #include "/usr/include/openni2/Linux-Arm/OniPlatformLinux-Arm.h" #include "/usr/include/openni2/Linux-generic/OniPlatformLinux-generic.h" #include "/usr/include/openni2/Linux-x86/OniPlatformLinux-x86.h" #include "/usr/include/openni2/MacOSX/OniPlatformMacOSX.h" #include "/usr/include/openni2/OniCAPI.h" #include "/usr/include/openni2/OniCEnums.h" #include "/usr/include/openni2/OniCProperties.h" #include "/usr/include/openni2/OniCTypes.h" #include "/usr/include/openni2/OniEnums.h" #include "/usr/include/openni2/OniPlatform.h" #include "/usr/include/openni2/OniProperties.h" #include "/usr/include/openni2/OniVersion.h" #include "/usr/include/openni2/OpenNI.h" #include "/usr/include/openni2/PS1080.h" #include "/usr/include/openni2/PSLink.h" #include "/usr/include/openni2/PrimeSense.h" // add namespaces namespace oni{typedef int tmp_add_type_1;} oni::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace oni{namespace driver{typedef int tmp_add_type_2;}} oni::driver::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace openni{typedef int tmp_add_type_3;} openni::tmp_add_type_3 tmp_add_func_3(){return 0;}; // add classes OniDriverServices* tmp_add_class_0; OniStreamServices* tmp_add_class_1; XnAHBData* tmp_add_class_2; XnBist* tmp_add_class_3; XnBistInfo* tmp_add_class_4; XnBootStatus* tmp_add_class_5; XnCmosBlankingTime* tmp_add_class_6; XnCmosBlankingUnits* tmp_add_class_7; XnCommandAHB* tmp_add_class_8; XnCommandCreateStream* tmp_add_class_9; XnCommandDestroyStream* tmp_add_class_10; XnCommandDownloadFile* tmp_add_class_11; XnCommandDumpEndpoint* tmp_add_class_12; XnCommandExecuteBist* tmp_add_class_13; XnCommandFormatZone* tmp_add_class_14; XnCommandGetBistList* tmp_add_class_15; XnCommandGetFileList* tmp_add_class_16; XnCommandGetFwStreamList* tmp_add_class_17; XnCommandGetFwStreamVideoMode* tmp_add_class_18; XnCommandGetFwStreamVideoModeList* tmp_add_class_19; XnCommandGetI2CDeviceList* tmp_add_class_20; XnCommandGetLogMaskList* tmp_add_class_21; XnCommandI2C* tmp_add_class_22; XnCommandSetFwStreamVideoMode* tmp_add_class_23; XnCommandSetLogMaskState* tmp_add_class_24; XnCommandStartStream* tmp_add_class_25; XnCommandStopStream* tmp_add_class_26; XnCommandUploadFile* tmp_add_class_27; XnCommandUsbTest* tmp_add_class_28; XnControlProcessingData* tmp_add_class_29; XnDepthAGCBin* tmp_add_class_30; XnDetailedVersion* tmp_add_class_31; XnEmitterData* tmp_add_class_32; XnFwFileEntry* tmp_add_class_33; XnFwFileVersion* tmp_add_class_34; XnFwLogMask* tmp_add_class_35; XnFwStreamInfo* tmp_add_class_36; XnFwStreamVideoMode* tmp_add_class_37; XnI2CDeviceInfo* tmp_add_class_38; XnI2CReadData* tmp_add_class_39; XnI2CWriteData* tmp_add_class_40; XnLedState* tmp_add_class_41; XnPixelRegistration* tmp_add_class_42; XnProjectorFaultData* tmp_add_class_43; XnSDKVersion* tmp_add_class_44; XnTecData* tmp_add_class_45; XnTecFastConvergenceData* tmp_add_class_46; XnUsbTestEndpointResult* tmp_add_class_47; _G_fpos64_t* tmp_add_class_48; _G_fpos_t* tmp_add_class_49; _IO_cookie_io_functions_t* tmp_add_class_50; itimerval* tmp_add_class_51; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/4oXgrP3mRz/dump1.h" -I/usr/include/openni2