Temporary header file '/tmp/mAgtKa_6H3/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/avro/allocation.h" #include "/usr/include/avro/basics.h" #include "/usr/include/avro/consumer.h" #include "/usr/include/avro/data.h" #include "/usr/include/avro/errors.h" #include "/usr/include/avro/generic.h" #include "/usr/include/avro/io.h" #include "/usr/include/avro/legacy.h" #include "/usr/include/avro/msinttypes.h" #include "/usr/include/avro/msstdint.h" #include "/usr/include/avro/platform.h" #include "/usr/include/avro/refcount.h" #include "/usr/include/avro/resolver.h" #include "/usr/include/avro/schema.h" #include "/usr/include/avro/value.h" #include "/usr/include/avro.h" // 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; avro_allocator_state* tmp_add_class_3; avro_consumer_t* tmp_add_class_4; avro_memoize* tmp_add_class_5; avro_obj_t* tmp_add_class_6; avro_raw_array* tmp_add_class_7; avro_raw_map* tmp_add_class_8; avro_raw_map_entry* tmp_add_class_9; avro_raw_string* tmp_add_class_10; avro_value* tmp_add_class_11; avro_value_iface* tmp_add_class_12; avro_wrapped_buffer* tmp_add_class_13; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/mAgtKa_6H3/dump1.h" In file included from /tmp/mAgtKa_6H3/dump1.h:20: /usr/include/avro/msinttypes.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!" 33 | #error "Use this header only with Microsoft Visual C++ compilers!" | ^~~~~ In file included from /usr/include/avro/msinttypes.h:46: /usr/include/avro/msstdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!" 33 | #error "Use this header only with Microsoft Visual C++ compilers!" | ^~~~~ In file included from /tmp/mAgtKa_6H3/dump1.h:21: /usr/include/avro/msstdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!" 33 | #error "Use this header only with Microsoft Visual C++ compilers!" | ^~~~~ /usr/include/avro/msstdint.h:89:30: error: expected initializer before ‘int64_t’ 89 | typedef signed __int64 int64_t; | ^~~~~~~ /usr/include/avro/msstdint.h:90:30: error: expected initializer before ‘uint64_t’ 90 | typedef unsigned __int64 uint64_t; | ^~~~~~~~ /usr/include/avro/msstdint.h:105:19: error: conflicting declaration ‘typedef int16_t int_fast16_t’ 105 | typedef int16_t int_fast16_t; | ^~~~~~~~~~~~ In file included from /usr/lib/gcc/arm-linux-gnueabihf/12/include/stdint.h:9, from /usr/include/inttypes.h:27, from /usr/include/avro/platform.h:32, from /usr/include/avro/consumer.h:27, from /tmp/mAgtKa_6H3/dump1.h:14: /usr/include/stdint.h:64:33: note: previous declaration as ‘typedef int int_fast16_t’ 64 | typedef int int_fast16_t; | ^~~~~~~~~~~~ /usr/include/avro/msstdint.h:109:19: error: conflicting declaration ‘typedef uint16_t uint_fast16_t’ 109 | typedef uint16_t uint_fast16_t; | ^~~~~~~~~~~~~ /usr/include/stdint.h:77:33: note: previous declaration as ‘typedef unsigned int uint_fast16_t’ 77 | typedef unsigned int uint_fast16_t; | ^~~~~~~~~~~~~ /usr/include/avro/msinttypes.h:60:3: error: conflicting declaration ‘typedef struct imaxdiv_t imaxdiv_t’ 60 | } imaxdiv_t; | ^~~~~~~~~ /usr/include/inttypes.h:284:5: note: previous declaration as ‘typedef struct imaxdiv_t imaxdiv_t’ 284 | } imaxdiv_t; | ^~~~~~~~~ /usr/include/avro/msinttypes.h:288:1: error: ‘_inline’ does not name a type; did you mean ‘inline’? 288 | _inline | ^~~~~~~ | inline