Temporary header file '/tmp/SE8m8V0DP4/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/htmlcxx/css/parser.h" #include "/usr/include/htmlcxx/css/parser_pp.h" #include "/usr/include/htmlcxx/html/CharsetConverter.h" #include "/usr/include/htmlcxx/html/Extensions.h" #include "/usr/include/htmlcxx/html/Node.h" #include "/usr/include/htmlcxx/html/ParserDom.h" #include "/usr/include/htmlcxx/html/ParserSax.h" #include "/usr/include/htmlcxx/html/Uri.h" #include "/usr/include/htmlcxx/html/ci_string.h" #include "/usr/include/htmlcxx/html/tld.h" #include "/usr/include/htmlcxx/html/tree.h" #include "/usr/include/htmlcxx/html/utils.h" // add namespaces namespace htmlcxx{typedef int tmp_add_type_1;} htmlcxx::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace htmlcxx{namespace CSS{typedef int tmp_add_type_2;}} htmlcxx::CSS::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace htmlcxx{namespace HTML{typedef int tmp_add_type_3;}} htmlcxx::HTML::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace kp{typedef int tmp_add_type_4;} kp::tmp_add_type_4 tmp_add_func_4(){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; ci_char_traits* tmp_add_class_3; literal_tag* tmp_add_class_4; property_t* tmp_add_class_5; selector_list_t* tmp_add_class_6; selector_t* tmp_add_class_7; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/SE8m8V0DP4/dump1.h" In file included from /usr/include/htmlcxx/html/Extensions.h:6, from /tmp/SE8m8V0DP4/dump1.h:15: /usr/include/htmlcxx/html/ci_string.h: In static member function ‘static int ci_char_traits::compare(const char*, const char*, size_t)’: /usr/include/htmlcxx/html/ci_string.h:30:24: error: ‘strncasecmp’ was not declared in this scope; did you mean ‘wcsncasecmp’? 30 | return strncasecmp( s1, s2, n ); | ^~~~~~~~~~~ | wcsncasecmp