Temporary header file '/tmp/9vf84TohwF/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/rofi/helper.h" #include "/usr/include/rofi/mode-private.h" #include "/usr/include/rofi/mode.h" #include "/usr/include/rofi/rofi-icon-fetcher.h" #include "/usr/include/rofi/rofi-types.h" // add classes Property* tmp_add_class_0; RofiDistanceUnit* tmp_add_class_1; _GArray* tmp_add_class_2; _GByteArray* tmp_add_class_3; _GCompletion* tmp_add_class_4; _GCond* tmp_add_class_5; _GDate* tmp_add_class_6; _GDebugKey* tmp_add_class_7; _GDoubleIEEE754* tmp_add_class_8; _GError* tmp_add_class_9; _GFloatIEEE754* tmp_add_class_10; _GHashTableIter* tmp_add_class_11; _GHook* tmp_add_class_12; _GHookList* tmp_add_class_13; _GIOChannel* tmp_add_class_14; _GIOFuncs* tmp_add_class_15; _GList* tmp_add_class_16; _GLogField* tmp_add_class_17; _GMarkupParser* tmp_add_class_18; _GMemVTable* tmp_add_class_19; _GMutex* tmp_add_class_20; _GNode* tmp_add_class_21; _GOnce* tmp_add_class_22; _GOptionEntry* tmp_add_class_23; _GPathBuf* tmp_add_class_24; _GPollFD* tmp_add_class_25; _GPrivate* tmp_add_class_26; _GPtrArray* tmp_add_class_27; _GQueue* tmp_add_class_28; _GRWLock* tmp_add_class_29; _GRecMutex* tmp_add_class_30; _GSList* tmp_add_class_31; _GScanner* tmp_add_class_32; _GScannerConfig* tmp_add_class_33; _GSource* tmp_add_class_34; _GSourceCallbackFuncs* tmp_add_class_35; _GSourceFuncs* tmp_add_class_36; _GStaticPrivate* tmp_add_class_37; _GStaticRWLock* tmp_add_class_38; _GStaticRecMutex* tmp_add_class_39; _GString* tmp_add_class_40; _GThread* tmp_add_class_41; _GThreadFunctions* tmp_add_class_42; _GThreadPool* tmp_add_class_43; _GTimeVal* tmp_add_class_44; _GTokenValue* tmp_add_class_45; _GTrashStack* tmp_add_class_46; _GTuples* tmp_add_class_47; _GUriParamsIter* tmp_add_class_48; _GVariantBuilder* tmp_add_class_49; _GVariantDict* tmp_add_class_50; _GVariantIter* tmp_add_class_51; _PropertyValue* tmp_add_class_52; _cairo_matrix* tmp_add_class_53; _cairo_path_data_t* tmp_add_class_54; _cairo_rectangle* tmp_add_class_55; _cairo_rectangle_int* tmp_add_class_56; _cairo_rectangle_list* tmp_add_class_57; _cairo_user_data_key* tmp_add_class_58; _thread_state* tmp_add_class_59; cairo_path* tmp_add_class_60; rofi_int_matcher_t* tmp_add_class_61; rofi_mode* tmp_add_class_62; rofi_range_pair* tmp_add_class_63; ucontext_t* tmp_add_class_64; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/9vf84TohwF/dump1.h" -I/usr/include/glib-2.0 -I/usr/include/cairo -I/lib/arm-linux-gnueabihf/glib-2.0/include In file included from /tmp/9vf84TohwF/dump1.h:13: /usr/include/rofi/mode-private.h:41:16: error: typedef ‘_mode_free’ is initialized (use ‘decltype’ instead) 41 | typedef void (*_mode_free)(Mode *data); | ^~~~~~~~~~ /usr/include/rofi/mode-private.h:41:28: error: ‘Mode’ was not declared in this scope 41 | typedef void (*_mode_free)(Mode *data); | ^~~~ /usr/include/rofi/mode-private.h:41:34: error: ‘data’ was not declared in this scope 41 | typedef void (*_mode_free)(Mode *data); | ^~~~ /usr/include/rofi/mode-private.h:55:48: error: ‘Mode’ does not name a type 55 | typedef char *(*_mode_get_display_value)(const Mode *sw, | ^~~~ /usr/include/rofi/mode-private.h:67:50: error: ‘Mode’ does not name a type 67 | typedef cairo_surface_t *(*_mode_get_icon)(const Mode *sw, | ^~~~ /usr/include/rofi/mode-private.h:79:45: error: ‘Mode’ does not name a type 79 | typedef char *(*_mode_get_completion)(const Mode *sw, | ^~~~ /usr/include/rofi/mode-private.h:93:40: error: ‘Mode’ does not name a type 93 | typedef int (*_mode_token_match)(const Mode *data, rofi_int_matcher **tokens, | ^~~~ /usr/include/rofi/mode-private.h:103:15: error: typedef ‘__mode_init’ is initialized (use ‘decltype’ instead) 103 | typedef int (*__mode_init)(Mode *sw); | ^~~~~~~~~~~ /usr/include/rofi/mode-private.h:103:28: error: ‘Mode’ was not declared in this scope 103 | typedef int (*__mode_init)(Mode *sw); | ^~~~ /usr/include/rofi/mode-private.h:103:34: error: ‘sw’ was not declared in this scope 103 | typedef int (*__mode_init)(Mode *sw); | ^~ /usr/include/rofi/mode-private.h:112:54: error: ‘Mode’ does not name a type 112 | typedef unsigned int (*__mode_get_num_entries)(const Mode *sw); | ^~~~ /usr/include/rofi/mode-private.h:120:16: error: typedef ‘__mode_destroy’ is initialized (use ‘decltype’ instead) 120 | typedef void (*__mode_destroy)(Mode *sw); | ^~~~~~~~~~~~~~ /usr/include/rofi/mode-private.h:120:32: error: ‘Mode’ was not declared in this scope 120 | typedef void (*__mode_destroy)(Mode *sw); | ^~~~ /usr/include/rofi/mode-private.h:120:38: error: ‘sw’ was not declared in this scope 120 | typedef void (*__mode_destroy)(Mode *sw); | ^~ /usr/include/rofi/mode-private.h:132:9: error: typedef ‘ModeMode’ is initialized (use ‘decltype’ instead) 132 | typedef ModeMode (*_mode_result)(Mode *sw, int menu_retv, char **input, | ^~~~~~~~ /usr/include/rofi/mode-private.h:132:20: error: ‘_mode_result’ was not declared in this scope 132 | typedef ModeMode (*_mode_result)(Mode *sw, int menu_retv, char **input, | ^~~~~~~~~~~~ /usr/include/rofi/mode-private.h:143:17: error: typedef ‘_mode_preprocess_input’ is initialized (use ‘decltype’ instead) 143 | typedef char *(*_mode_preprocess_input)(Mode *sw, const char *input); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/rofi/mode-private.h:143:41: error: ‘Mode’ was not declared in this scope 143 | typedef char *(*_mode_preprocess_input)(Mode *sw, const char *input); | ^~~~ /usr/include/rofi/mode-private.h:143:47: error: ‘sw’ was not declared in this scope 143 | typedef char *(*_mode_preprocess_input)(Mode *sw, const char *input); | ^~ /usr/include/rofi/mode-private.h:143:51: error: expected primary-expression before ‘const’ 143 | typedef char *(*_mode_preprocess_input)(Mode *sw, const char *input); | ^~~~~ /usr/include/rofi/mode-private.h:152:42: error: ‘Mode’ does not name a type 152 | typedef char *(*_mode_get_message)(const Mode *sw); | ^~~~ /usr/include/rofi/mode-private.h:171:3: error: ‘__mode_init’ does not name a type; did you mean ‘__mode_t’? 171 | __mode_init _init; | ^~~~~~~~~~~ | __mode_t /usr/include/rofi/mode-private.h:173:3: error: ‘__mode_destroy’ does not name a type; did you mean ‘g_main_destroy’? 173 | __mode_destroy _destroy; | ^~~~~~~~~~~~~~ | g_main_destroy /usr/include/rofi/mode-private.h:177:3: error: ‘_mode_result’ does not name a type 177 | _mode_result _result; | ^~~~~~~~~~~~ /usr/include/rofi/mode-private.h:187:3: error: ‘_mode_preprocess_input’ does not name a type 187 | _mode_preprocess_input _preprocess_input; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/rofi/mode-private.h:199:3: error: ‘_mode_free’ does not name a type 199 | _mode_free free; | ^~~~~~~~~~