Temporary header file '/tmp/njUIHsAPVG/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 // add includes #include "/usr/include/gphoto2/gphoto2-abilities-list.h" #include "/usr/include/gphoto2/gphoto2-camera.h" #include "/usr/include/gphoto2/gphoto2-context.h" #include "/usr/include/gphoto2/gphoto2-file.h" #include "/usr/include/gphoto2/gphoto2-filesys.h" #include "/usr/include/gphoto2/gphoto2-library.h" #include "/usr/include/gphoto2/gphoto2-list.h" #include "/usr/include/gphoto2/gphoto2-port-info-list.h" #include "/usr/include/gphoto2/gphoto2-port-log.h" #include "/usr/include/gphoto2/gphoto2-port-portability.h" #include "/usr/include/gphoto2/gphoto2-port-result.h" #include "/usr/include/gphoto2/gphoto2-port-version.h" #include "/usr/include/gphoto2/gphoto2-port.h" #include "/usr/include/gphoto2/gphoto2-result.h" #include "/usr/include/gphoto2/gphoto2-setting.h" #include "/usr/include/gphoto2/gphoto2-version.h" #include "/usr/include/gphoto2/gphoto2-widget.h" #include "/usr/include/gphoto2/gphoto2.h" // add classes _Camera* tmp_add_class_0; _CameraFileHandler* tmp_add_class_1; _CameraFileInfo* tmp_add_class_2; _CameraFileInfoAudio* tmp_add_class_3; _CameraFileInfoFile* tmp_add_class_4; _CameraFileInfoPreview* tmp_add_class_5; _CameraFilesystemFuncs* tmp_add_class_6; _CameraFunctions* tmp_add_class_7; _CameraStorageInformation* tmp_add_class_8; _GPPort* tmp_add_class_9; _GPPortSettings* tmp_add_class_10; _GPPortSettingsSerial* tmp_add_class_11; _GPPortSettingsUSB* tmp_add_class_12; _GPPortSettingsUsbDiskDirect* tmp_add_class_13; _GPPortSettingsUsbScsi* tmp_add_class_14; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/njUIHsAPVG/dump1.h"