Temporary header file '/tmp/qZDoEd4Tyu/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/lrcalc/alloc.h" #include "/usr/include/lrcalc/claim.h" #include "/usr/include/lrcalc/hashtab.h" #include "/usr/include/lrcalc/lincomb.h" #include "/usr/include/lrcalc/list.h" #include "/usr/include/lrcalc/maple.h" #include "/usr/include/lrcalc/schublib.h" #include "/usr/include/lrcalc/set.h" #include "/usr/include/lrcalc/symfcn.h" #include "/usr/include/lrcalc/vectarg.h" #include "/usr/include/lrcalc/vector.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; _element* tmp_add_class_3; _hashelt* tmp_add_class_4; _list* tmp_add_class_5; _set* tmp_add_class_6; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/qZDoEd4Tyu/dump1.h" In file included from /tmp/qZDoEd4Tyu/dump1.h:18: /usr/include/lrcalc/schublib.h:6:16: error: ‘vector’ was not declared in this scope 6 | hashtab *trans(vector *w, int vars, hashtab *res); | ^~~~~~ /usr/include/lrcalc/schublib.h:6:24: error: ‘w’ was not declared in this scope 6 | hashtab *trans(vector *w, int vars, hashtab *res); | ^ /usr/include/lrcalc/schublib.h:6:27: error: expected primary-expression before ‘int’ 6 | hashtab *trans(vector *w, int vars, hashtab *res); | ^~~ /usr/include/lrcalc/schublib.h:6:45: error: expected primary-expression before ‘*’ token 6 | hashtab *trans(vector *w, int vars, hashtab *res); | ^ /usr/include/lrcalc/schublib.h:6:46: error: ‘res’ was not declared in this scope 6 | hashtab *trans(vector *w, int vars, hashtab *res); | ^~~ /usr/include/lrcalc/schublib.h:8:24: error: ‘vector’ was not declared in this scope 8 | hashtab *mult_schubert(vector *ww1, vector *ww2, int rank); | ^~~~~~ /usr/include/lrcalc/schublib.h:8:32: error: ‘ww1’ was not declared in this scope 8 | hashtab *mult_schubert(vector *ww1, vector *ww2, int rank); | ^~~ /usr/include/lrcalc/schublib.h:8:37: error: ‘vector’ was not declared in this scope 8 | hashtab *mult_schubert(vector *ww1, vector *ww2, int rank); | ^~~~~~ /usr/include/lrcalc/schublib.h:8:45: error: ‘ww2’ was not declared in this scope 8 | hashtab *mult_schubert(vector *ww1, vector *ww2, int rank); | ^~~ /usr/include/lrcalc/schublib.h:8:50: error: expected primary-expression before ‘int’ 8 | hashtab *mult_schubert(vector *ww1, vector *ww2, int rank); | ^~~ /usr/include/lrcalc/schublib.h:9:44: error: ‘vector’ has not been declared 9 | hashtab *mult_poly_schubert(hashtab *poly, vector *perm, int rank); | ^~~~~~ /usr/include/lrcalc/schublib.h:11:20: error: ‘vector’ was not declared in this scope 11 | int num_inversions(vector *w); | ^~~~~~ /usr/include/lrcalc/schublib.h:11:28: error: ‘w’ was not declared in this scope 11 | int num_inversions(vector *w); | ^ /usr/include/lrcalc/schublib.h:12:16: error: ‘vector’ was not declared in this scope 12 | int perm_group(vector *w); | ^~~~~~ /usr/include/lrcalc/schublib.h:12:24: error: ‘w’ was not declared in this scope 12 | int perm_group(vector *w); | ^ /usr/include/lrcalc/schublib.h:14:19: error: ‘vector’ was not declared in this scope 14 | list *all_strings(vector *dimvec); | ^~~~~~ /usr/include/lrcalc/schublib.h:14:27: error: ‘dimvec’ was not declared in this scope 14 | list *all_strings(vector *dimvec); | ^~~~~~ /usr/include/lrcalc/schublib.h:17:1: error: ‘vector’ does not name a type 17 | vector *string2perm(vector *str); | ^~~~~~ /usr/include/lrcalc/schublib.h:18:1: error: ‘vector’ does not name a type 18 | vector *str2dimvec(vector *str); | ^~~~~~ /usr/include/lrcalc/schublib.h:19:1: error: ‘vector’ does not name a type 19 | vector *perm2string(vector *perm, vector *dimvec); | ^~~~~~ /usr/include/lrcalc/schublib.h:21:28: error: ‘vector’ was not declared in this scope 21 | hashtab *mult_str_schubert(vector *str1, vector *str2); | ^~~~~~ /usr/include/lrcalc/schublib.h:21:36: error: ‘str1’ was not declared in this scope 21 | hashtab *mult_str_schubert(vector *str1, vector *str2); | ^~~~ /usr/include/lrcalc/schublib.h:21:42: error: ‘vector’ was not declared in this scope 21 | hashtab *mult_str_schubert(vector *str1, vector *str2); | ^~~~~~ /usr/include/lrcalc/schublib.h:21:50: error: ‘str2’ was not declared in this scope 21 | hashtab *mult_str_schubert(vector *str1, vector *str2); | ^~~~