Temporary header file '/tmp/KXKXrD6Np2/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/toml++/impl/array.h" #include "/usr/include/toml++/impl/at_path.h" #include "/usr/include/toml++/impl/date_time.h" #include "/usr/include/toml++/impl/formatter.h" #include "/usr/include/toml++/impl/forward_declarations.h" #include "/usr/include/toml++/impl/header_end.h" #include "/usr/include/toml++/impl/header_start.h" #include "/usr/include/toml++/impl/json_formatter.h" #include "/usr/include/toml++/impl/key.h" #include "/usr/include/toml++/impl/make_node.h" #include "/usr/include/toml++/impl/node.h" #include "/usr/include/toml++/impl/node_view.h" #include "/usr/include/toml++/impl/parse_error.h" #include "/usr/include/toml++/impl/parse_result.h" #include "/usr/include/toml++/impl/parser.h" #include "/usr/include/toml++/impl/path.h" #include "/usr/include/toml++/impl/preprocessor.h" #include "/usr/include/toml++/impl/print_to_stream.h" #include "/usr/include/toml++/impl/simd.h" #include "/usr/include/toml++/impl/source_region.h" #include "/usr/include/toml++/impl/std_except.h" #include "/usr/include/toml++/impl/std_initializer_list.h" #include "/usr/include/toml++/impl/std_map.h" #include "/usr/include/toml++/impl/std_new.h" #include "/usr/include/toml++/impl/std_optional.h" #include "/usr/include/toml++/impl/std_string.h" #include "/usr/include/toml++/impl/std_utility.h" #include "/usr/include/toml++/impl/std_variant.h" #include "/usr/include/toml++/impl/std_vector.h" #include "/usr/include/toml++/impl/table.h" #include "/usr/include/toml++/impl/toml_formatter.h" #include "/usr/include/toml++/impl/unicode.h" #include "/usr/include/toml++/impl/unicode_autogenerated.h" #include "/usr/include/toml++/impl/value.h" #include "/usr/include/toml++/impl/version.h" #include "/usr/include/toml++/impl/yaml_formatter.h" #include "/usr/include/toml++/toml.h" // add namespaces namespace toml{typedef int tmp_add_type_1;} toml::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace toml{namespace v3{typedef int tmp_add_type_2;}} toml::v3::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace toml{namespace v3{namespace ex{typedef int tmp_add_type_3;}}} toml::v3::ex::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace toml{namespace v3{namespace impl{typedef int tmp_add_type_4;}}} toml::v3::impl::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace toml{namespace v3{namespace literals{typedef int tmp_add_type_5;}}} toml::v3::literals::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace toml{namespace v3{namespace stdopt{typedef int tmp_add_type_6;}}} toml::v3::stdopt::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace toml{namespace v3{namespace impl{namespace impl_ex{typedef int tmp_add_type_7;}}}} toml::v3::impl::impl_ex::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace toml{namespace v3{namespace literals{namespace lit_ex{typedef int tmp_add_type_8;}}}} toml::v3::literals::lit_ex::tmp_add_type_8 tmp_add_func_8(){return 0;}; // add classes _G_fpos64_t* tmp_add_class_0; _G_fpos_t* tmp_add_class_1; _IO_cookie_io_functions_t* tmp_add_class_2; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/KXKXrD6Np2/dump1.h" In file included from /usr/include/toml++/impl/value.h:7, from /usr/include/toml++/impl/array.h:10, from /tmp/KXKXrD6Np2/dump1.h:12: /usr/include/toml++/impl/date_time.h:337:17: error: ‘optional’ does not name a type 337 | optional offset; | ^~~~~~~~ /usr/include/toml++/impl/date_time.h: In constructor ‘constexpr toml::v3::stdopt::date_time::date_time(const toml::v3::date&, const toml::v3::time&)’: /usr/include/toml++/impl/date_time.h:351:27: error: class ‘toml::v3::stdopt::date_time’ does not have any field named ‘offset’ 351 | offset{} // TINAE - icc bugfix | ^~~~~~ /usr/include/toml++/impl/date_time.h: In constructor ‘constexpr toml::v3::stdopt::date_time::date_time(const toml::v3::date&)’: /usr/include/toml++/impl/date_time.h:361:27: error: class ‘toml::v3::stdopt::date_time’ does not have any field named ‘offset’ 361 | offset{} // TINAE - icc bugfix | ^~~~~~ /usr/include/toml++/impl/date_time.h: In constructor ‘constexpr toml::v3::stdopt::date_time::date_time(const toml::v3::time&)’: /usr/include/toml++/impl/date_time.h:371:27: error: class ‘toml::v3::stdopt::date_time’ does not have any field named ‘offset’ 371 | offset{} // TINAE - icc bugfix | ^~~~~~ /usr/include/toml++/impl/date_time.h: In constructor ‘constexpr toml::v3::stdopt::date_time::date_time(const toml::v3::date&, const toml::v3::time&, const toml::v3::time_offset&)’: /usr/include/toml++/impl/date_time.h:383:27: error: class ‘toml::v3::stdopt::date_time’ does not have any field named ‘offset’ 383 | offset{ off } | ^~~~~~ /usr/include/toml++/impl/date_time.h: In member function ‘constexpr bool toml::v3::stdopt::date_time::is_local() const’: /usr/include/toml++/impl/date_time.h:390:33: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 390 | return !offset.has_value(); | ^~~~~~ | off_t /usr/include/toml++/impl/date_time.h: In function ‘constexpr bool toml::v3::stdopt::operator==(const date_time&, const date_time&)’: /usr/include/toml++/impl/date_time.h:399:40: error: ‘const struct toml::v3::stdopt::date_time’ has no member named ‘offset’ 399 | && lhs.offset == rhs.offset; | ^~~~~~ /usr/include/toml++/impl/date_time.h:399:54: error: ‘const struct toml::v3::stdopt::date_time’ has no member named ‘offset’ 399 | && lhs.offset == rhs.offset; | ^~~~~~ /usr/include/toml++/impl/date_time.h: In function ‘constexpr bool toml::v3::stdopt::operator<(const date_time&, const date_time&)’: /usr/include/toml++/impl/date_time.h:417:36: error: ‘const struct toml::v3::stdopt::date_time’ has no member named ‘offset’ 417 | return lhs.offset < rhs.offset; | ^~~~~~ /usr/include/toml++/impl/date_time.h:417:49: error: ‘const struct toml::v3::stdopt::date_time’ has no member named ‘offset’ 417 | return lhs.offset < rhs.offset; | ^~~~~~ /usr/include/toml++/impl/date_time.h: In function ‘constexpr bool toml::v3::stdopt::operator<=(const date_time&, const date_time&)’: /usr/include/toml++/impl/date_time.h:428:36: error: ‘const struct toml::v3::stdopt::date_time’ has no member named ‘offset’ 428 | return lhs.offset <= rhs.offset; | ^~~~~~ /usr/include/toml++/impl/date_time.h:428:50: error: ‘const struct toml::v3::stdopt::date_time’ has no member named ‘offset’ 428 | return lhs.offset <= rhs.offset; | ^~~~~~ In file included from /usr/include/toml++/toml.h:62, from /tmp/KXKXrD6Np2/dump1.h:48: /usr/include/toml++/impl/print_to_stream.inl: In function ‘void toml::v3::impl::print_to_stream(std::ostream&, const toml::v3::stdopt::date_time&)’: /usr/include/toml++/impl/print_to_stream.inl:405:25: error: ‘const struct toml::v3::stdopt::date_time’ has no member named ‘offset’ 405 | if (val.offset) | ^~~~~~ /usr/include/toml++/impl/print_to_stream.inl:406:54: error: ‘const struct toml::v3::stdopt::date_time’ has no member named ‘offset’ 406 | print_to_stream(stream, *val.offset); | ^~~~~~