Temporary header file '/tmp/fPtRAS5n42/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/odb/boost/date-time/exceptions.hxx" #include "/usr/include/odb/boost/date-time/mssql/gregorian-mapping.hxx" #include "/usr/include/odb/boost/date-time/mssql/gregorian-traits.hxx" #include "/usr/include/odb/boost/date-time/mssql/posix-time-mapping.hxx" #include "/usr/include/odb/boost/date-time/mssql/posix-time-traits.hxx" #include "/usr/include/odb/boost/date-time/mysql/gregorian-mapping.hxx" #include "/usr/include/odb/boost/date-time/mysql/gregorian-traits.hxx" #include "/usr/include/odb/boost/date-time/mysql/posix-time-mapping.hxx" #include "/usr/include/odb/boost/date-time/mysql/posix-time-traits.hxx" #include "/usr/include/odb/boost/date-time/oracle/gregorian-mapping.hxx" #include "/usr/include/odb/boost/date-time/oracle/gregorian-traits.hxx" #include "/usr/include/odb/boost/date-time/oracle/posix-time-mapping.hxx" #include "/usr/include/odb/boost/date-time/oracle/posix-time-traits.hxx" #include "/usr/include/odb/boost/date-time/pgsql/gregorian-mapping.hxx" #include "/usr/include/odb/boost/date-time/pgsql/gregorian-traits.hxx" #include "/usr/include/odb/boost/date-time/pgsql/posix-time-mapping.hxx" #include "/usr/include/odb/boost/date-time/pgsql/posix-time-traits.hxx" #include "/usr/include/odb/boost/date-time/sqlite/gregorian-mapping.hxx" #include "/usr/include/odb/boost/date-time/sqlite/gregorian-traits.hxx" #include "/usr/include/odb/boost/date-time/sqlite/posix-time-mapping.hxx" #include "/usr/include/odb/boost/date-time/sqlite/posix-time-traits.hxx" #include "/usr/include/odb/boost/details/config.h" #include "/usr/include/odb/boost/details/config.hxx" #include "/usr/include/odb/boost/details/export.hxx" #include "/usr/include/odb/boost/exception.hxx" #include "/usr/include/odb/boost/lazy-ptr.hxx" #include "/usr/include/odb/boost/multi-index/container-traits.hxx" #include "/usr/include/odb/boost/optional/wrapper-traits.hxx" #include "/usr/include/odb/boost/smart-ptr/lazy-pointer-traits.hxx" #include "/usr/include/odb/boost/smart-ptr/lazy-ptr.hxx" #include "/usr/include/odb/boost/smart-ptr/pointer-traits.hxx" #include "/usr/include/odb/boost/smart-ptr/wrapper-traits.hxx" #include "/usr/include/odb/boost/unordered/container-traits.hxx" #include "/usr/include/odb/boost/uuid/mssql/uuid-mapping.hxx" #include "/usr/include/odb/boost/uuid/mssql/uuid-traits.hxx" #include "/usr/include/odb/boost/uuid/mysql/uuid-mapping.hxx" #include "/usr/include/odb/boost/uuid/mysql/uuid-traits.hxx" #include "/usr/include/odb/boost/uuid/oracle/uuid-mapping.hxx" #include "/usr/include/odb/boost/uuid/oracle/uuid-traits.hxx" #include "/usr/include/odb/boost/uuid/pgsql/uuid-mapping.hxx" #include "/usr/include/odb/boost/uuid/pgsql/uuid-traits.hxx" #include "/usr/include/odb/boost/uuid/sqlite/uuid-mapping.hxx" #include "/usr/include/odb/boost/uuid/sqlite/uuid-traits.hxx" #include "/usr/include/odb/boost/version.hxx" // add namespaces namespace odb{typedef int tmp_add_type_1;} odb::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace odb{namespace boost{typedef int tmp_add_type_2;}} odb::boost::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace odb{namespace common{typedef int tmp_add_type_3;}} odb::common::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace odb{namespace core{typedef int tmp_add_type_4;}} odb::core::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace odb{namespace details{typedef int tmp_add_type_5;}} odb::details::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace odb{namespace details{namespace bits{typedef int tmp_add_type_6;}}} odb::details::bits::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace odb{namespace details{namespace meta{typedef int tmp_add_type_7;}}} odb::details::meta::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace odb{namespace boost{namespace date_time{typedef int tmp_add_type_8;}}} odb::boost::date_time::tmp_add_type_8 tmp_add_func_8(){return 0;}; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/fPtRAS5n42/dump1.h" In file included from /tmp/fPtRAS5n42/dump1.h:13: /usr/include/odb/boost/date-time/mssql/gregorian-mapping.hxx:8:10: fatal error: boost/date_time/gregorian/gregorian_types.hpp: No such file or directory 8 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.