Temporary header file '/tmp/PVziFQKB4u/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/libpreludedb/preludedb-error.h" #include "/usr/include/libpreludedb/preludedb-error.hxx" #include "/usr/include/libpreludedb/preludedb-path-selection.h" #include "/usr/include/libpreludedb/preludedb-plugin-format.h" #include "/usr/include/libpreludedb/preludedb-plugin-sql.h" #include "/usr/include/libpreludedb/preludedb-sql-select.h" #include "/usr/include/libpreludedb/preludedb-sql-settings.h" #include "/usr/include/libpreludedb/preludedb-sql.h" #include "/usr/include/libpreludedb/preludedb-sql.hxx" #include "/usr/include/libpreludedb/preludedb-version.h" #include "/usr/include/libpreludedb/preludedb.h" #include "/usr/include/libpreludedb/preludedb.hxx" // add namespaces namespace Prelude{typedef int tmp_add_type_1;} Prelude::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace PreludeDB{typedef int tmp_add_type_2;} PreludeDB::tmp_add_type_2 tmp_add_func_2(){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; cmsghdr* tmp_add_class_3; group_filter* tmp_add_class_4; group_req* tmp_add_class_5; group_source_req* tmp_add_class_6; idmef_time* tmp_add_class_7; in6_addr* tmp_add_class_8; in6_pktinfo* tmp_add_class_9; in_addr* tmp_add_class_10; in_pktinfo* tmp_add_class_11; iovec* tmp_add_class_12; ip6_mtuinfo* tmp_add_class_13; ip_mreq* tmp_add_class_14; ip_mreq_source* tmp_add_class_15; ip_mreqn* tmp_add_class_16; ip_msfilter* tmp_add_class_17; ip_opts* tmp_add_class_18; ipv6_mreq* tmp_add_class_19; itimerval* tmp_add_class_20; linger* tmp_add_class_21; mmsghdr* tmp_add_class_22; msghdr* tmp_add_class_23; osockaddr* tmp_add_class_24; prelude_list* tmp_add_class_25; sockaddr* tmp_add_class_26; sockaddr_in* tmp_add_class_27; sockaddr_in6* tmp_add_class_28; sockaddr_storage* tmp_add_class_29; ucred* tmp_add_class_30; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/PVziFQKB4u/dump1.h" In file included from /tmp/PVziFQKB4u/dump1.h:16: /usr/include/libpreludedb/preludedb-plugin-sql.h:61:100: error: declaration of ‘operator,’ as parameter 61 | idmef_criterion_operator_t operator, int value, int gmt_offset); | ^~~~~~~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:61:109: error: expected ‘)’ before ‘int’ 61 | idmef_criterion_operator_t operator, int value, int gmt_offset); | ^~~~ | ) /usr/include/libpreludedb/preludedb-plugin-sql.h:59:72: note: to match this ‘(’ 59 | typedef int (*preludedb_plugin_sql_build_time_constraint_string_func_t)(void *session, prelude_string_t *output, const char *field, | ^ /usr/include/libpreludedb/preludedb-plugin-sql.h:61:110: error: expected initializer before ‘int’ 61 | idmef_criterion_operator_t operator, int value, int gmt_offset); | ^~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:67:95: error: declaration of ‘operator,’ as parameter 67 | idmef_criterion_operator_t operator, const char *value); | ^~~~~~~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:67:104: error: expected ‘)’ before ‘const’ 67 | idmef_criterion_operator_t operator, const char *value); | ^~~~~~ | ) /usr/include/libpreludedb/preludedb-plugin-sql.h:66:67: note: to match this ‘(’ 66 | typedef int (*preludedb_plugin_sql_build_constraint_string_func_t)(void *session, prelude_string_t *out, const char *field, | ^ /usr/include/libpreludedb/preludedb-plugin-sql.h:67:111: error: expected initializer before ‘char’ 67 | idmef_criterion_operator_t operator, const char *value); | ^~~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:69:98: error: expected ‘)’ before ‘operator’ 69 | typedef const char *(*preludedb_plugin_sql_get_operator_string_func_t)(idmef_criterion_operator_t operator); | ~ ^~~~~~~~~ | ) /usr/include/libpreludedb/preludedb-plugin-sql.h:69:99: error: expected initializer before ‘operator’ 69 | typedef const char *(*preludedb_plugin_sql_get_operator_string_func_t)(idmef_criterion_operator_t operator); | ^~~~~~~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:161:65: error: ‘preludedb_plugin_sql_build_time_constraint_string_func_t’ has not been declared 161 | preludedb_plugin_sql_build_time_constraint_string_func_t func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:166:83: error: declaration of ‘operator,’ as parameter 166 | idmef_criterion_operator_t operator, int value, int gmt_offset); | ^~~~~~~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:166:92: error: expected ‘)’ before ‘int’ 166 | idmef_criterion_operator_t operator, int value, int gmt_offset); | ^~~~ | ) /usr/include/libpreludedb/preludedb-plugin-sql.h:163:55: note: to match this ‘(’ 163 | int _preludedb_plugin_sql_build_time_constraint_string(preludedb_plugin_sql_t *plugin, void *session, | ^ /usr/include/libpreludedb/preludedb-plugin-sql.h:166:93: error: expected initializer before ‘int’ 166 | idmef_criterion_operator_t operator, int value, int gmt_offset); | ^~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:181:60: error: ‘preludedb_plugin_sql_build_constraint_string_func_t’ has not been declared 181 | preludedb_plugin_sql_build_constraint_string_func_t func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:185:78: error: declaration of ‘operator,’ as parameter 185 | idmef_criterion_operator_t operator, const char *value); | ^~~~~~~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:185:87: error: expected ‘)’ before ‘const’ 185 | idmef_criterion_operator_t operator, const char *value); | ^~~~~~ | ) /usr/include/libpreludedb/preludedb-plugin-sql.h:183:50: note: to match this ‘(’ 183 | int _preludedb_plugin_sql_build_constraint_string(preludedb_plugin_sql_t *plugin, void *session, | ^ /usr/include/libpreludedb/preludedb-plugin-sql.h:185:94: error: expected initializer before ‘char’ 185 | idmef_criterion_operator_t operator, const char *value); | ^~~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:188:56: error: ‘preludedb_plugin_sql_get_operator_string_func_t’ has not been declared 188 | preludedb_plugin_sql_get_operator_string_func_t func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libpreludedb/preludedb-plugin-sql.h:190:113: error: expected ‘)’ before ‘operator’ 190 | const char *_preludedb_plugin_sql_get_operator_string(preludedb_plugin_sql_t *plugin, idmef_criterion_operator_t operator); | ~ ^~~~~~~~~ | ) /usr/include/libpreludedb/preludedb-plugin-sql.h:190:114: error: expected initializer before ‘operator’ 190 | const char *_preludedb_plugin_sql_get_operator_string(preludedb_plugin_sql_t *plugin, idmef_criterion_operator_t operator); | ^~~~~~~~