Temporary header file '/tmp/nXtsjvete8/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/stdlib.h" #include "/usr/include/xmltok/ascii.h" #include "/usr/include/xmltok/asciitab.h" #include "/usr/include/xmltok/iasciitab.h" #include "/usr/include/xmltok/latin1tab.h" #include "/usr/include/xmltok/nametab.h" #include "/usr/include/xmltok/utf8tab.h" #include "/usr/include/xmltok/xmldef.h" #include "/usr/include/xmltok/xmlparse.h" #include "/usr/include/xmltok/xmlrole.h" #include "/usr/include/xmltok/xmltok.h" #include "/usr/include/xmltok/xmltok_impl.h" // add classes encoding* tmp_add_class_0; position* tmp_add_class_1; prolog_state* tmp_add_class_2; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/nXtsjvete8/dump1.h" In file included from /tmp/nXtsjvete8/dump1.h:14: /usr/include/xmltok/asciitab.h:6:12: error: ‘BT_NONXML’ does not name a type 6 | /* 0x00 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ^~~~~~~~~ In file included from /tmp/nXtsjvete8/dump1.h:18: /usr/include/xmltok/utf8tab.h:7:12: error: ‘BT_TRAIL’ does not name a type 7 | /* 0x80 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL, | ^~~~~~~~