Temporary header file '/tmp/Ao9YfqHAjW/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/powercap/powercap-rapl-sysfs.h" #include "/usr/include/powercap/powercap-rapl.h" #include "/usr/include/powercap/powercap-sysfs.h" #include "/usr/include/powercap/powercap.h" // add classes powercap_constraint* tmp_add_class_0; powercap_control_type* tmp_add_class_1; powercap_rapl_pkg* tmp_add_class_2; powercap_rapl_zone_files* tmp_add_class_3; powercap_zone* tmp_add_class_4; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/Ao9YfqHAjW/dump1.h"