Temporary header file '/tmp/ce56rjRoqO/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/cereal/access.hpp" #include "/usr/include/cereal/archives/adapters.hpp" #include "/usr/include/cereal/archives/binary.hpp" #include "/usr/include/cereal/archives/json.hpp" #include "/usr/include/cereal/archives/portable_binary.hpp" #include "/usr/include/cereal/archives/xml.hpp" #include "/usr/include/cereal/cereal.hpp" #include "/usr/include/cereal/details/helpers.hpp" #include "/usr/include/cereal/details/polymorphic_impl.hpp" #include "/usr/include/cereal/details/polymorphic_impl_fwd.hpp" #include "/usr/include/cereal/details/static_object.hpp" #include "/usr/include/cereal/details/traits.hpp" #include "/usr/include/cereal/details/util.hpp" #include "/usr/include/cereal/external/base64.hpp" #include "/usr/include/cereal/external/rapidxml/rapidxml.hpp" #include "/usr/include/cereal/external/rapidxml/rapidxml_iterators.hpp" #include "/usr/include/cereal/external/rapidxml/rapidxml_print.hpp" #include "/usr/include/cereal/external/rapidxml/rapidxml_utils.hpp" #include "/usr/include/cereal/macros.hpp" #include "/usr/include/cereal/specialize.hpp" #include "/usr/include/cereal/types/array.hpp" #include "/usr/include/cereal/types/atomic.hpp" #include "/usr/include/cereal/types/base_class.hpp" #include "/usr/include/cereal/types/bitset.hpp" #include "/usr/include/cereal/types/boost_variant.hpp" #include "/usr/include/cereal/types/chrono.hpp" #include "/usr/include/cereal/types/common.hpp" #include "/usr/include/cereal/types/complex.hpp" #include "/usr/include/cereal/types/concepts/pair_associative_container.hpp" #include "/usr/include/cereal/types/deque.hpp" #include "/usr/include/cereal/types/forward_list.hpp" #include "/usr/include/cereal/types/functional.hpp" #include "/usr/include/cereal/types/list.hpp" #include "/usr/include/cereal/types/map.hpp" #include "/usr/include/cereal/types/memory.hpp" #include "/usr/include/cereal/types/optional.hpp" #include "/usr/include/cereal/types/polymorphic.hpp" #include "/usr/include/cereal/types/queue.hpp" #include "/usr/include/cereal/types/set.hpp" #include "/usr/include/cereal/types/stack.hpp" #include "/usr/include/cereal/types/string.hpp" #include "/usr/include/cereal/types/tuple.hpp" #include "/usr/include/cereal/types/unordered_map.hpp" #include "/usr/include/cereal/types/unordered_set.hpp" #include "/usr/include/cereal/types/utility.hpp" #include "/usr/include/cereal/types/valarray.hpp" #include "/usr/include/cereal/types/variant.hpp" #include "/usr/include/cereal/types/vector.hpp" #include "/usr/include/cereal/version.hpp" // add namespaces namespace cereal{typedef int tmp_add_type_1;} cereal::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace cereal{namespace base64{typedef int tmp_add_type_2;}} cereal::base64::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace cereal{namespace detail{typedef int tmp_add_type_3;}} cereal::detail::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace cereal{namespace rapidxml{typedef int tmp_add_type_4;}} cereal::rapidxml::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace cereal{namespace rapidxml{namespace internal{typedef int tmp_add_type_5;}}} cereal::rapidxml::internal::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace cereal{namespace traits{typedef int tmp_add_type_6;}} cereal::traits::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace cereal{namespace traits{namespace detail{typedef int tmp_add_type_7;}}} cereal::traits::detail::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace cereal{namespace util{typedef int tmp_add_type_8;}} cereal::util::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace rapidjson{typedef int tmp_add_type_9;} rapidjson::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace rapidjson{namespace internal{typedef int tmp_add_type_10;}} rapidjson::internal::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace cereal{namespace base_class_detail{typedef int tmp_add_type_11;}} cereal::base_class_detail::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace cereal{namespace bitset_detail{typedef int tmp_add_type_12;}} cereal::bitset_detail::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace cereal{namespace boost_variant_detail{typedef int tmp_add_type_13;}} cereal::boost_variant_detail::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace cereal{namespace common_detail{typedef int tmp_add_type_14;}} cereal::common_detail::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace cereal{namespace common_detail{namespace __anon171d91d86111{typedef int tmp_add_type_15;}}} cereal::common_detail::__anon171d91d86111::tmp_add_type_15 tmp_add_func_15(){return 0;}; namespace cereal{namespace detail{namespace __anon171d91d85d11{typedef int tmp_add_type_16;}}} cereal::detail::__anon171d91d85d11::tmp_add_type_16 tmp_add_func_16(){return 0;}; namespace cereal{namespace memory_detail{typedef int tmp_add_type_17;}} cereal::memory_detail::tmp_add_type_17 tmp_add_func_17(){return 0;}; namespace cereal{namespace polymorphic_detail{typedef int tmp_add_type_18;}} cereal::polymorphic_detail::tmp_add_type_18 tmp_add_func_18(){return 0;}; namespace cereal{namespace portable_binary_detail{typedef int tmp_add_type_19;}} cereal::portable_binary_detail::tmp_add_type_19 tmp_add_func_19(){return 0;}; namespace cereal{namespace xml_detail{typedef int tmp_add_type_20;}} cereal::xml_detail::tmp_add_type_20 tmp_add_func_20(){return 0;}; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/ce56rjRoqO/dump1.h" In file included from /tmp/ce56rjRoqO/dump1.h:36: /usr/include/cereal/types/boost_variant.hpp:41:10: fatal error: boost/variant/variant_fwd.hpp: No such file or directory 41 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.