Temporary header file '/tmp/8tLeLPU92W/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/rxp/catalog.h" #include "/usr/include/rxp/catutil.h" #include "/usr/include/rxp/charset.h" #include "/usr/include/rxp/ctype16.h" #include "/usr/include/rxp/dtd.h" #include "/usr/include/rxp/hash.h" #include "/usr/include/rxp/http.h" #include "/usr/include/rxp/infoset-print.h" #include "/usr/include/rxp/input.h" #include "/usr/include/rxp/namespaces.h" #include "/usr/include/rxp/nf16check.h" #include "/usr/include/rxp/nf16data.h" #include "/usr/include/rxp/rxputil.h" #include "/usr/include/rxp/stdio16.h" #include "/usr/include/rxp/string16.h" #include "/usr/include/rxp/system.h" #include "/usr/include/rxp/url.h" #include "/usr/include/rxp/version.h" #include "/usr/include/rxp/win32.h" #include "/usr/include/rxp/xmlparser.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; attribute* tmp_add_class_3; attribute_definition* tmp_add_class_4; cached_entry_file* tmp_add_class_5; catalog* tmp_add_class_6; catalog_entry* tmp_add_class_7; catalog_entry_file* tmp_add_class_8; character_encoding_alias* tmp_add_class_9; combining* tmp_add_class_10; content_particle* tmp_add_class_11; dtd* tmp_add_class_12; element_definition* tmp_add_class_13; element_info* tmp_add_class_14; entity* tmp_add_class_15; fsm* tmp_add_class_16; fsm_edge* tmp_add_class_17; fsm_node* tmp_add_class_18; hash_entry* tmp_add_class_19; http_header* tmp_add_class_20; http_headers* tmp_add_class_21; input_source* tmp_add_class_22; name_space* tmp_add_class_23; namespace_binding* tmp_add_class_24; namespace_universe* tmp_add_class_25; nf16checker* tmp_add_class_26; notation_definition* tmp_add_class_27; ns_attribute_definition* tmp_add_class_28; ns_element_definition* tmp_add_class_29; parser_state* tmp_add_class_30; recomb* tmp_add_class_31; xbit* tmp_add_class_32; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/8tLeLPU92W/dump1.h" In file included from /usr/include/rxp/dtd.h:4, from /usr/include/rxp/xmlparser.h:6, from /usr/include/rxp/catalog.h:1, from /tmp/8tLeLPU92W/dump1.h:12: /usr/include/rxp/charset.h:27:2: error: #error CHAR_SIZE must be 8 or 16 27 | #error CHAR_SIZE must be 8 or 16 | ^~~~~ In file included from /usr/include/rxp/dtd.h:6: /usr/include/rxp/namespaces.h:24:5: error: ‘Char’ does not name a type; did you mean ‘char’? 24 | Char *nsname; | ^~~~ | char /usr/include/rxp/namespaces.h:32:11: error: ‘Char’ does not name a type; did you mean ‘char’? 32 | const Char *name; | ^~~~ | char /usr/include/rxp/namespaces.h:41:11: error: ‘Char’ does not name a type; did you mean ‘char’? 41 | const Char *name; | ^~~~ | char /usr/include/rxp/namespaces.h:50:66: error: ‘Char’ does not name a type; did you mean ‘char’? 50 | XML_API Namespace NewNamespace(NamespaceUniverse universe, const Char *nsname); | ^~~~ | char /usr/include/rxp/namespaces.h:53:65: error: ‘Char’ does not name a type; did you mean ‘char’? 53 | XML_API NSElementDefinition DefineNSElement(Namespace ns, const Char *name); | ^~~~ | char /usr/include/rxp/namespaces.h:55:49: error: ‘Char’ does not name a type; did you mean ‘char’? 55 | DefineNSGlobalAttribute(Namespace ns, const Char *name); | ^~~~ | char /usr/include/rxp/namespaces.h:57:66: error: ‘Char’ does not name a type; did you mean ‘char’? 57 | DefineNSElementAttribute(NSElementDefinition element, const Char *name); | ^~~~ | char /usr/include/rxp/namespaces.h:60:53: error: ‘Char’ does not name a type; did you mean ‘char’? 60 | FindNamespace(NamespaceUniverse universe, const Char *nsname, int create); | ^~~~ | char /usr/include/rxp/namespaces.h:62:49: error: ‘Char’ does not name a type; did you mean ‘char’? 62 | FindNSElementDefinition(Namespace ns, const Char *name, int create); | ^~~~ | char /usr/include/rxp/namespaces.h:65:43: error: ‘Char’ does not name a type; did you mean ‘char’? 65 | const Char *name, int create); | ^~~~ | char /usr/include/rxp/namespaces.h:68:44: error: ‘Char’ does not name a type; did you mean ‘char’? 68 | const Char *name, int create); | ^~~~ | char /usr/include/rxp/dtd.h:50:11: error: ‘Char’ does not name a type; did you mean ‘char’? 50 | const Char *name; /* The name in the entity declaration */ | ^~~~ | char /usr/include/rxp/dtd.h:62:11: error: ‘Char’ does not name a type; did you mean ‘char’? 62 | const Char *text; /* Text of the entity */ | ^~~~ | char /usr/include/rxp/dtd.h:92:11: error: ‘Char’ does not name a type; did you mean ‘char’? 92 | const Char *name; | ^~~~ | char /usr/include/rxp/dtd.h:135:11: error: ‘Char’ does not name a type; did you mean ‘char’? 135 | const Char *name; /* The element name */ | ^~~~ | char /usr/include/rxp/dtd.h:139:5: error: ‘Char’ does not name a type; did you mean ‘char’? 139 | Char *content; /* Element content */ | ^~~~ | char /usr/include/rxp/dtd.h:153:11: error: ‘Char’ does not name a type; did you mean ‘char’? 153 | const Char *prefix, *local; | ^~~~ | char /usr/include/rxp/dtd.h:183:11: error: ‘Char’ does not name a type; did you mean ‘char’? 183 | const Char *name; /* The attribute name */ | ^~~~ | char /usr/include/rxp/dtd.h:186:5: error: ‘Char’ does not name a type; did you mean ‘char’? 186 | Char **allowed_values; /* List of allowed values, argv style */ | ^~~~ | char /usr/include/rxp/dtd.h:188:11: error: ‘Char’ does not name a type; did you mean ‘char’? 188 | const Char *default_value; /* The declared default value */ | ^~~~ | char /usr/include/rxp/dtd.h:190:11: error: ‘Char’ does not name a type; did you mean ‘char’? 190 | const Char *ns_attr_prefix; /* Prefix it defines if a namespace attr */ | ^~~~ | char /usr/include/rxp/dtd.h:192:11: error: ‘Char’ does not name a type; did you mean ‘char’? 192 | const Char *prefix, *local; | ^~~~ | char /usr/include/rxp/dtd.h:200:11: error: ‘Char’ does not name a type; did you mean ‘char’? 200 | const Char *name; /* The notation name */ | ^~~~ | char /usr/include/rxp/dtd.h:212:11: error: ‘Char’ does not name a type; did you mean ‘char’? 212 | const Char *name; /* The doctype name */ | ^~~~ | char /usr/include/rxp/dtd.h:232:40: error: ‘Char’ does not name a type; did you mean ‘char’? 232 | XML_API Entity NewExternalEntity(const Char *name, | ^~~~ | char /usr/include/rxp/dtd.h:236:41: error: ‘Char’ does not name a type; did you mean ‘char’? 236 | XML_API Entity NewExternalEntityN(const Char *name, int namelen, | ^~~~ | char /usr/include/rxp/dtd.h:240:41: error: ‘Char’ does not name a type; did you mean ‘char’? 240 | XML_API Entity NewInternalEntityN(const Char *name, int namelen, | ^~~~ | char /usr/include/rxp/dtd.h:241:33: error: ‘Char’ does not name a type; did you mean ‘char’? 241 | const Char *text, Entity parent, | ^~~~ | char /usr/include/rxp/dtd.h:252:43: error: ‘Char’ does not name a type; did you mean ‘char’? 252 | XML_API Entity FindEntityN(Dtd dtd, const Char *name, int namelen, int pe); | ^~~~ | char /usr/include/rxp/dtd.h:260:57: error: ‘Char’ does not name a type; did you mean ‘char’? 260 | XML_API ElementDefinition DefineElementN(Dtd dtd, const Char *name, int namelen, | ^~~~ | char /usr/include/rxp/dtd.h:261:52: error: ‘Char’ has not been declared 261 | ContentType type, Char *content, | ^~~~ /usr/include/rxp/dtd.h:265:51: error: ‘Char’ does not name a type; did you mean ‘char’? 265 | const Char *name, int namelen); | ^~~~ | char /usr/include/rxp/dtd.h:267:35: error: ‘Char’ has not been declared 267 | Char *content, ContentParticle particle, | ^~~~ /usr/include/rxp/dtd.h:269:55: error: ‘Char’ does not name a type; did you mean ‘char’? 269 | XML_API ElementDefinition FindElementN(Dtd dtd, const Char *name, int namelen); | ^~~~ | char /usr/include/rxp/dtd.h:281:44: error: ‘Char’ does not name a type; did you mean ‘char’? 281 | const Char *name, int namelen, | ^~~~ | char /usr/include/rxp/dtd.h:282:58: error: ‘Char’ has not been declared 282 | AttributeType type, Char **allowed_values, | ^~~~ /usr/include/rxp/dtd.h:284:44: error: ‘Char’ does not name a type; did you mean ‘char’? 284 | const Char *default_value, | ^~~~ | char /usr/include/rxp/dtd.h:287:42: error: ‘Char’ does not name a type; did you mean ‘char’? 287 | const Char *name, int namelen); | ^~~~ | char /usr/include/rxp/dtd.h:297:59: error: ‘Char’ does not name a type; did you mean ‘char’? 297 | XML_API NotationDefinition DefineNotationN(Dtd dtd, const Char *name, int namelen, | ^~~~ | char /usr/include/rxp/dtd.h:301:53: error: ‘Char’ does not name a type; did you mean ‘char’? 301 | const Char *name, int namelen); | ^~~~ | char /usr/include/rxp/dtd.h:305:57: error: ‘Char’ does not name a type; did you mean ‘char’? 305 | XML_API NotationDefinition FindNotationN(Dtd dtd, const Char *name, int namelen); | ^~~~ | char In file included from /usr/include/rxp/xmlparser.h:7: /usr/include/rxp/input.h:35:5: error: ‘Char’ does not name a type; did you mean ‘char’? 35 | Char *line; | ^~~~ | char /usr/include/rxp/xmlparser.h:61:11: error: ‘Char’ does not name a type; did you mean ‘char’? 61 | const Char *prefix; /* points into an attribute name, or is null */ | ^~~~ | char /usr/include/rxp/xmlparser.h:70:5: error: ‘Char’ does not name a type; did you mean ‘char’? 70 | Char *value; /* The (possibly normalised) value */ | ^~~~ | char /usr/include/rxp/xmlparser.h:81:5: error: ‘Char’ does not name a type; did you mean ‘char’? 81 | Char *S1, *S2; | ^~~~ | char /usr/include/rxp/xmlparser.h:184:5: error: ‘Char’ does not name a type; did you mean ‘char’? 184 | Char *name, *pbuf, *save_pbuf; | ^~~~ | char /usr/include/rxp/catalog.h:56:52: error: expected ‘,’ or ‘...’ before ‘public’ 56 | const char *public, const char *system, | ^~~~~~ In file included from /tmp/8tLeLPU92W/dump1.h:13: /usr/include/rxp/catutil.h:3:44: error: expected ‘,’ or ‘...’ before ‘public’ 3 | extern char *NormalizePublic8(const char8 *public); | ^~~~~~ /usr/include/rxp/catutil.h:4:46: error: expected ‘,’ or ‘...’ before ‘public’ 4 | extern char *NormalizePublic16(const char16 *public); | ^~~~~~ /usr/include/rxp/catutil.h:5:36: error: ‘Char’ does not name a type; did you mean ‘char’? 5 | extern char *NormalizePublic(const Char *public); | ^~~~ | char /usr/include/rxp/catutil.h:5:42: error: expected ‘,’ or ‘...’ before ‘public’ 5 | extern char *NormalizePublic(const Char *public); | ^~~~~~ /usr/include/rxp/catutil.h:9:36: error: ‘Char’ does not name a type; did you mean ‘char’? 9 | extern char *NormalizeSystem(const Char *system); | ^~~~ | char /usr/include/rxp/catutil.h:17:27: error: ‘Char’ does not name a type; did you mean ‘char’? 17 | extern int strcmpC8(const Char *s1, const char *s2); | ^~~~ | char In file included from /tmp/8tLeLPU92W/dump1.h:22: /usr/include/rxp/nf16check.h:32:4: error: conflicting declaration ‘typedef struct nf16checker* NF16Checker’ 32 | } *NF16Checker; | ^~~~~~~~~~~ /usr/include/rxp/xmlparser.h:14:13: note: previous declaration as ‘typedef int NF16Checker’ 14 | typedef int NF16Checker; | ^~~~~~~~~~~ /usr/include/rxp/xmlparser.h:15:19: error: expected identifier before numeric constant 15 | #define NF16wrong 0 | ^ /usr/include/rxp/nf16check.h:36:5: note: in expansion of macro ‘NF16wrong’ 36 | NF16wrong, | ^~~~~~~~~ /usr/include/rxp/xmlparser.h:15:19: error: expected ‘}’ before numeric constant 15 | #define NF16wrong 0 | ^ /usr/include/rxp/nf16check.h:36:5: note: in expansion of macro ‘NF16wrong’ 36 | NF16wrong, | ^~~~~~~~~ /usr/include/rxp/nf16check.h:35:25: note: to match this ‘{’ 35 | typedef enum nf16result { | ^ /usr/include/rxp/xmlparser.h:15:19: error: expected unqualified-id before numeric constant 15 | #define NF16wrong 0 | ^ /usr/include/rxp/nf16check.h:36:5: note: in expansion of macro ‘NF16wrong’ 36 | NF16wrong, | ^~~~~~~~~ /usr/include/rxp/nf16check.h:38:1: error: expected declaration before ‘}’ token 38 | } nf16res; | ^ /usr/include/rxp/nf16check.h:38:3: error: ‘nf16res’ does not name a type; did you mean ‘nf16result’? 38 | } nf16res; | ^~~~~~~ | nf16result /usr/include/rxp/xmlparser.h:17:25: error: expected unqualified-id before numeric constant 17 | #define nf16checkNew(x) 0 | ^ /usr/include/rxp/nf16check.h:41:13: note: in expansion of macro ‘nf16checkNew’ 41 | NF16Checker nf16checkNew (int exists); | ^~~~~~~~~~~~ /usr/include/rxp/nf16check.h:53:1: error: ‘nf16res’ does not name a type; did you mean ‘nf16result’? 53 | nf16res nf16check (NF16Checker checker, char16* s); | ^~~~~~~ | nf16result /usr/include/rxp/nf16check.h:56:1: error: ‘nf16res’ does not name a type; did you mean ‘nf16result’? 56 | nf16res nf16checkL (NF16Checker checker, char16* s, int s_length); | ^~~~~~~ | nf16result In file included from /tmp/8tLeLPU92W/dump1.h:23: /usr/include/rxp/nf16data.h:13:24: error: expected class-name before numeric constant 13 | unsigned int class:8; | ^ /usr/include/rxp/nf16data.h:13:24: error: expected ‘{’ before numeric constant /usr/include/rxp/nf16data.h:13:24: error: expected unqualified-id before numeric constant