Temporary header file '/tmp/x1suSGi1ZO/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/meep/adjust_verbosity.hpp" #include "/usr/include/meep/material_data.hpp" #include "/usr/include/meep/meep-config.h" #include "/usr/include/meep/meepgeom.hpp" #include "/usr/include/meep/mympi.hpp" #include "/usr/include/meep/vec.hpp" #include "/usr/include/meep.hpp" // add namespaces namespace meep{typedef int tmp_add_type_1;} meep::tmp_add_type_1 tmp_add_func_1(){return 0;}; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/x1suSGi1ZO/dump1.h" In file included from /tmp/x1suSGi1ZO/dump1.h:13: /usr/include/meep/material_data.hpp:27:10: fatal error: ctlgeom.h: No such file or directory 27 | #include | ^~~~~~~~~~~ compilation terminated.