Temporary header file '/tmp/oboPDJz96N/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/wget.h" #include "/usr/include/wgetver.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; wget_hpkp_db_st* tmp_add_class_3; wget_hpkp_db_vtable* tmp_add_class_4; wget_hsts_db_st* tmp_add_class_5; wget_hsts_db_vtable* tmp_add_class_6; wget_http_response_t* tmp_add_class_7; wget_iri_st* tmp_add_class_8; wget_ocsp_db_st* tmp_add_class_9; wget_ocsp_db_vtable* tmp_add_class_10; wget_plugin_vtable* tmp_add_class_11; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/oboPDJz96N/dump1.h" In file included from /tmp/oboPDJz96N/dump1.h:12: /usr/include/wget.h:386:37: error: expected ‘,’ or ‘...’ before ‘dst’ 386 | wget_strlcpy(char *restrict dst, const char *restrict src, size_t size); | ^~~ /usr/include/wget.h:388:37: error: expected ‘,’ or ‘...’ before ‘dst’ 388 | wget_strscpy(char *restrict dst, const char *restrict src, size_t size); | ^~~ /usr/include/wget.h:465:43: error: expected ‘,’ or ‘...’ before ‘dst’ 465 | wget_base64_decode(char *restrict dst, const char *restrict src, size_t n) G_GNUC_WGET_NONNULL_ALL; | ^~~ /usr/include/wget.h:467:43: error: expected ‘,’ or ‘...’ before ‘dst’ 467 | wget_base64_encode(char *restrict dst, const char *restrict src, size_t n) G_GNUC_WGET_NONNULL_ALL; | ^~~ /usr/include/wget.h:469:55: error: expected ‘,’ or ‘...’ before ‘src’ 469 | wget_base64_decode_alloc(const char *restrict src, size_t n, size_t *outlen) G_GNUC_WGET_NONNULL((1)); | ^~~ /usr/include/wget.h:471:55: error: expected ‘,’ or ‘...’ before ‘src’ 471 | wget_base64_encode_alloc(const char *restrict src, size_t n) G_GNUC_WGET_NONNULL_ALL; | ^~~ /usr/include/wget.h:473:63: error: expected ‘,’ or ‘...’ before ‘fmt’ 473 | wget_base64_encode_vprintf_alloc(const char *restrict fmt, va_list args) G_GNUC_WGET_PRINTF_FORMAT(1,0) G_GNUC_WGET_NONNULL_ALL; | ^~~ /usr/include/wget.h:475:62: error: expected ‘,’ or ‘...’ before ‘fmt’ 475 | wget_base64_encode_printf_alloc(const char *restrict fmt, ...) G_GNUC_WGET_PRINTF_FORMAT(1,2) G_GNUC_WGET_NONNULL_ALL; | ^~~ /usr/include/wget.h:144:64: error: ‘format’ attribute argument 3 value ‘2’ does not refer to a variable argument list 144 | # define G_GNUC_WGET_NONNULL_ALL __attribute__ ((nonnull)) | ^ /usr/include/wget.h:475:103: note: in expansion of macro ‘G_GNUC_WGET_NONNULL_ALL’ 475 | wget_base64_encode_printf_alloc(const char *restrict fmt, ...) G_GNUC_WGET_PRINTF_FORMAT(1,2) G_GNUC_WGET_NONNULL_ALL; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wget.h:1799:64: error: expected ‘,’ or ‘...’ before ‘name’ 1799 | wget_tcp_resolve(wget_tcp_t *tcp, const char *restrict name, uint16_t port); | ^~~~