Temporary header file '/tmp/n9cKam3NaY/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/iv.h" #include "/usr/include/iv_avl.h" #include "/usr/include/iv_event.h" #include "/usr/include/iv_event_raw.h" #include "/usr/include/iv_fd_pump.h" #include "/usr/include/iv_inotify.h" #include "/usr/include/iv_list.h" #include "/usr/include/iv_popen.h" #include "/usr/include/iv_signal.h" #include "/usr/include/iv_thread.h" #include "/usr/include/iv_tls.h" #include "/usr/include/iv_wait.h" #include "/usr/include/iv_work.h" // add classes cmsghdr* tmp_add_class_0; inotify_event* tmp_add_class_1; iovec* tmp_add_class_2; itimerval* tmp_add_class_3; iv_avl_node* tmp_add_class_4; iv_avl_tree* tmp_add_class_5; iv_event* tmp_add_class_6; iv_event_raw* tmp_add_class_7; iv_fd* tmp_add_class_8; iv_fd_pump* tmp_add_class_9; iv_inotify* tmp_add_class_10; iv_inotify_watch* tmp_add_class_11; iv_list_head* tmp_add_class_12; iv_popen_request* tmp_add_class_13; iv_signal* tmp_add_class_14; iv_task* tmp_add_class_15; iv_timer* tmp_add_class_16; iv_tls_user* tmp_add_class_17; iv_wait_interest* tmp_add_class_18; iv_work_item* tmp_add_class_19; iv_work_pool* tmp_add_class_20; linger* tmp_add_class_21; mmsghdr* tmp_add_class_22; msghdr* tmp_add_class_23; osockaddr* tmp_add_class_24; rlimit64* tmp_add_class_25; sockaddr* tmp_add_class_26; sockaddr_storage* tmp_add_class_27; ucontext_t* tmp_add_class_28; ucred* tmp_add_class_29; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/n9cKam3NaY/dump1.h" In file included from /tmp/n9cKam3NaY/dump1.h:14: /usr/include/iv_event.h:39:51: error: expected ‘,’ or ‘...’ before ‘this’ 39 | static inline void IV_EVENT_INIT(struct iv_event *this) | ^~~~ /usr/include/iv_event.h:43:40: error: expected ‘,’ or ‘...’ before ‘this’ 43 | int iv_event_register(struct iv_event *this); | ^~~~ /usr/include/iv_event.h:44:43: error: expected ‘,’ or ‘...’ before ‘this’ 44 | void iv_event_unregister(struct iv_event *this); | ^~~~ /usr/include/iv_event.h:45:37: error: expected ‘,’ or ‘...’ before ‘this’ 45 | void iv_event_post(struct iv_event *this); | ^~~~ In file included from /tmp/n9cKam3NaY/dump1.h:15: /usr/include/iv_event_raw.h:42:59: error: expected ‘,’ or ‘...’ before ‘this’ 42 | static inline void IV_EVENT_RAW_INIT(struct iv_event_raw *this) | ^~~~ /usr/include/iv_event_raw.h:46:48: error: expected ‘,’ or ‘...’ before ‘this’ 46 | int iv_event_raw_register(struct iv_event_raw *this); | ^~~~ /usr/include/iv_event_raw.h:47:51: error: expected ‘,’ or ‘...’ before ‘this’ 47 | void iv_event_raw_unregister(struct iv_event_raw *this); | ^~~~ /usr/include/iv_event_raw.h:48:51: error: expected ‘,’ or ‘...’ before ‘this’ 48 | void iv_event_raw_post(const struct iv_event_raw *this); | ^~~~ In file included from /tmp/n9cKam3NaY/dump1.h:16: /usr/include/iv_fd_pump.h:41:55: error: expected ‘,’ or ‘...’ before ‘this’ 41 | static inline void IV_FD_PUMP_INIT(struct iv_fd_pump *this) | ^~~~ In file included from /tmp/n9cKam3NaY/dump1.h:17: /usr/include/iv_inotify.h:41:55: error: expected ‘,’ or ‘...’ before ‘this’ 41 | static inline void IV_INOTIFY_INIT(struct iv_inotify *this) | ^~~~ /usr/include/iv_inotify.h:60:67: error: expected ‘,’ or ‘...’ before ‘this’ 60 | static inline void IV_INOTIFY_WATCH_INIT(struct iv_inotify_watch *this) | ^~~~ In file included from /tmp/n9cKam3NaY/dump1.h:19: /usr/include/iv_popen.h:36:67: error: expected ‘,’ or ‘...’ before ‘this’ 36 | static inline void IV_POPEN_REQUEST_INIT(struct iv_popen_request *this) | ^~~~ /usr/include/iv_popen.h:40:54: error: expected ‘,’ or ‘...’ before ‘this’ 40 | int iv_popen_request_submit(struct iv_popen_request *this); | ^~~~ /usr/include/iv_popen.h:41:54: error: expected ‘,’ or ‘...’ before ‘this’ 41 | void iv_popen_request_close(struct iv_popen_request *this); | ^~~~ In file included from /tmp/n9cKam3NaY/dump1.h:20: /usr/include/iv_signal.h:44:53: error: expected ‘,’ or ‘...’ before ‘this’ 44 | static inline void IV_SIGNAL_INIT(struct iv_signal *this) | ^~~~ /usr/include/iv_signal.h:51:42: error: expected ‘,’ or ‘...’ before ‘this’ 51 | int iv_signal_register(struct iv_signal *this); | ^~~~ /usr/include/iv_signal.h:52:45: error: expected ‘,’ or ‘...’ before ‘this’ 52 | void iv_signal_unregister(struct iv_signal *this); | ^~~~ In file included from /tmp/n9cKam3NaY/dump1.h:23: /usr/include/iv_wait.h:47:67: error: expected ‘,’ or ‘...’ before ‘this’ 47 | static inline void IV_WAIT_INTEREST_INIT(struct iv_wait_interest *this) | ^~~~ /usr/include/iv_wait.h:51:57: error: expected ‘,’ or ‘...’ before ‘this’ 51 | void iv_wait_interest_register(struct iv_wait_interest *this); | ^~~~ /usr/include/iv_wait.h:52:62: error: expected ‘,’ or ‘...’ before ‘this’ 52 | int iv_wait_interest_register_spawn(struct iv_wait_interest *this, | ^~~~ /usr/include/iv_wait.h:54:59: error: expected ‘,’ or ‘...’ before ‘this’ 54 | void iv_wait_interest_unregister(struct iv_wait_interest *this); | ^~~~ /usr/include/iv_wait.h:55:58: error: expected ‘,’ or ‘...’ before ‘this’ 55 | int iv_wait_interest_kill(const struct iv_wait_interest *this, int sig); | ^~~~ In file included from /tmp/n9cKam3NaY/dump1.h:24: /usr/include/iv_work.h:48:59: error: expected ‘,’ or ‘...’ before ‘this’ 48 | static inline void IV_WORK_POOL_INIT(struct iv_work_pool *this) | ^~~~ /usr/include/iv_work.h: In function ‘void IV_WORK_POOL_INIT(iv_work_pool*)’: /usr/include/iv_work.h:50:9: error: invalid use of ‘this’ in non-member function 50 | this->thread_start = NULL; | ^~~~ /usr/include/iv_work.h:51:9: error: invalid use of ‘this’ in non-member function 51 | this->thread_stop = NULL; | ^~~~ /usr/include/iv_work.h: At global scope: /usr/include/iv_work.h:54:59: error: expected ‘,’ or ‘...’ before ‘this’ 54 | static inline void IV_WORK_ITEM_INIT(struct iv_work_item *this) | ^~~~ /usr/include/iv_work.h:58:46: error: expected ‘,’ or ‘...’ before ‘this’ 58 | int iv_work_pool_create(struct iv_work_pool *this); | ^~~~ /usr/include/iv_work.h:59:44: error: expected ‘,’ or ‘...’ before ‘this’ 59 | void iv_work_pool_put(struct iv_work_pool *this); | ^~~~ /usr/include/iv_work.h:60:52: error: expected ‘,’ or ‘...’ before ‘this’ 60 | void iv_work_pool_submit_work(struct iv_work_pool *this, | ^~~~