Temporary header file '/tmp/Snlao_vRoF/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 #ifdef __cplusplus // C17 compat layer #define _Alignof(type) alignof(type) #endif #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/ini_comment.h" #include "/usr/include/ini_config.h" #include "/usr/include/ini_configmod.h" #include "/usr/include/ini_configobj.h" #include "/usr/include/ini_valueobj.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; access_check* tmp_add_class_3; ini_validator* tmp_add_class_4; parse_error* tmp_add_class_5; simplebuffer* tmp_add_class_6; statx_timestamp* tmp_add_class_7; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/Snlao_vRoF/dump1.h" In file included from /tmp/Snlao_vRoF/dump1.h:17: /usr/include/ini_config.h:206:29: error: expected identifier before numeric constant 206 | #define INI_STOP_ON_ANY 0 | ^ /usr/include/ini_configobj.h:173:5: note: in expansion of macro ‘INI_STOP_ON_ANY’ 173 | INI_STOP_ON_ANY = 0, /**< Fail if any problem is detected. */ | ^~~~~~~~~~~~~~~ /usr/include/ini_config.h:206:29: error: expected ‘}’ before numeric constant 206 | #define INI_STOP_ON_ANY 0 | ^ /usr/include/ini_configobj.h:173:5: note: in expansion of macro ‘INI_STOP_ON_ANY’ 173 | INI_STOP_ON_ANY = 0, /**< Fail if any problem is detected. */ | ^~~~~~~~~~~~~~~ In file included from /tmp/Snlao_vRoF/dump1.h:19: /usr/include/ini_configobj.h:172:16: note: to match this ‘{’ 172 | enum ERR_LEVEL { | ^ /usr/include/ini_config.h:206:29: error: expected unqualified-id before numeric constant 206 | #define INI_STOP_ON_ANY 0 | ^ /usr/include/ini_configobj.h:173:5: note: in expansion of macro ‘INI_STOP_ON_ANY’ 173 | INI_STOP_ON_ANY = 0, /**< Fail if any problem is detected. */ | ^~~~~~~~~~~~~~~ /usr/include/ini_configobj.h:176:1: error: expected declaration before ‘}’ token 176 | }; | ^ /usr/include/ini_config.h:222:29: error: expected identifier before numeric constant 222 | #define ERR_LONGDATA 1 | ^ /usr/include/ini_configobj.h:191:5: note: in expansion of macro ‘ERR_LONGDATA’ 191 | ERR_LONGDATA = 1, /**< Line is too long (Error). */ | ^~~~~~~~~~~~ /usr/include/ini_config.h:222:29: error: expected ‘}’ before numeric constant 222 | #define ERR_LONGDATA 1 | ^ /usr/include/ini_configobj.h:191:5: note: in expansion of macro ‘ERR_LONGDATA’ 191 | ERR_LONGDATA = 1, /**< Line is too long (Error). */ | ^~~~~~~~~~~~ /usr/include/ini_configobj.h:190:16: note: to match this ‘{’ 190 | enum ERR_PARSE { | ^ /usr/include/ini_config.h:222:29: error: expected unqualified-id before numeric constant 222 | #define ERR_LONGDATA 1 | ^ /usr/include/ini_configobj.h:191:5: note: in expansion of macro ‘ERR_LONGDATA’ 191 | ERR_LONGDATA = 1, /**< Line is too long (Error). */ | ^~~~~~~~~~~~ /usr/include/ini_configobj.h:211:1: error: expected declaration before ‘}’ token 211 | }; | ^