Temporary header file '/tmp/wkA4NHpk5Q/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/stdint.h" #include "/usr/include/opentracing-c-wrapper/common.h" #include "/usr/include/opentracing-c-wrapper/dbg_malloc.h" #include "/usr/include/opentracing-c-wrapper/define.h" #include "/usr/include/opentracing-c-wrapper/include.h" #include "/usr/include/opentracing-c-wrapper/propagation.h" #include "/usr/include/opentracing-c-wrapper/span.h" #include "/usr/include/opentracing-c-wrapper/tracer.h" #include "/usr/include/opentracing-c-wrapper/util.h" #include "/usr/include/opentracing-c-wrapper/value.h" // add classes otc_custom_carrier_reader* tmp_add_class_0; otc_custom_carrier_writer* tmp_add_class_1; otc_duration* tmp_add_class_2; otc_finish_span_options* tmp_add_class_3; otc_http_headers_reader* tmp_add_class_4; otc_http_headers_writer* tmp_add_class_5; otc_log_field* tmp_add_class_6; otc_log_record* tmp_add_class_7; otc_span* tmp_add_class_8; otc_span_context* tmp_add_class_9; otc_span_reference* tmp_add_class_10; otc_start_span_options* tmp_add_class_11; otc_tag* tmp_add_class_12; otc_text_map_reader* tmp_add_class_13; otc_text_map_writer* tmp_add_class_14; otc_timestamp* tmp_add_class_15; otc_tracer* tmp_add_class_16; otc_value* tmp_add_class_17; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/wkA4NHpk5Q/dump1.h" In file included from /tmp/wkA4NHpk5Q/dump1.h:13: /usr/include/opentracing-c-wrapper/common.h:19:1: error: ‘__CPLUSPLUS_DECL_BEGIN’ does not name a type 19 | __CPLUSPLUS_DECL_BEGIN | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/opentracing-c-wrapper/common.h:27:3: error: ‘otc_bool_t’ does not name a type 27 | } otc_bool_t; | ^~~~~~~~~~ /usr/include/opentracing-c-wrapper/common.h:33:25: error: field ‘value’ has incomplete type ‘timespec’ 33 | struct timespec value; | ^~~~~ /usr/include/opentracing-c-wrapper/common.h:33:16: note: forward declaration of ‘struct timespec’ 33 | struct timespec value; | ^~~~~~~~ /usr/include/opentracing-c-wrapper/common.h:40:25: error: field ‘value’ has incomplete type ‘timespec’ 40 | struct timespec value; | ^~~~~ /usr/include/opentracing-c-wrapper/common.h:33:16: note: forward declaration of ‘struct timespec’ 33 | struct timespec value; | ^~~~~~~~ /usr/include/opentracing-c-wrapper/common.h:43:1: error: ‘__CPLUSPLUS_DECL_END’ does not name a type 43 | __CPLUSPLUS_DECL_END | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/opentracing-c-wrapper/include.h:25, from /tmp/wkA4NHpk5Q/dump1.h:16: /usr/include/opentracing-c-wrapper/value.h:42:17: error: ‘otc_bool_t’ does not name a type 42 | otc_bool_t bool_value; | ^~~~~~~~~~ In file included from /usr/include/opentracing-c-wrapper/include.h:27: /usr/include/opentracing-c-wrapper/propagation.h:71:29: error: field ‘text_map’ has incomplete type ‘otc_text_map’ 71 | struct otc_text_map text_map; | ^~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:71:16: note: forward declaration of ‘struct otc_text_map’ 71 | struct otc_text_map text_map; | ^~~~~~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:99:29: error: field ‘text_map’ has incomplete type ‘otc_text_map’ 99 | struct otc_text_map text_map; | ^~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:71:16: note: forward declaration of ‘struct otc_text_map’ 71 | struct otc_text_map text_map; | ^~~~~~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:124:29: error: field ‘text_map’ has incomplete type ‘otc_text_map’ 124 | struct otc_text_map text_map; | ^~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:71:16: note: forward declaration of ‘struct otc_text_map’ 71 | struct otc_text_map text_map; | ^~~~~~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:134:29: error: field ‘text_map’ has incomplete type ‘otc_text_map’ 134 | struct otc_text_map text_map; | ^~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:71:16: note: forward declaration of ‘struct otc_text_map’ 71 | struct otc_text_map text_map; | ^~~~~~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:144:32: error: field ‘binary_data’ has incomplete type ‘otc_binary_data’ 144 | struct otc_binary_data binary_data; | ^~~~~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:144:16: note: forward declaration of ‘struct otc_binary_data’ 144 | struct otc_binary_data binary_data; | ^~~~~~~~~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:168:32: error: field ‘binary_data’ has incomplete type ‘otc_binary_data’ 168 | struct otc_binary_data binary_data; | ^~~~~~~~~~~ /usr/include/opentracing-c-wrapper/propagation.h:144:16: note: forward declaration of ‘struct otc_binary_data’ 144 | struct otc_binary_data binary_data; | ^~~~~~~~~~~~~~~