Temporary header file '/tmp/2tWUF4w858/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/fortran.h" #include "/usr/include/spherepack.h" The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/2tWUF4w858/dump1.h" In file included from /tmp/2tWUF4w858/dump1.h:12: /usr/include/fortran.h:86:4: error: #error "don't know Fortran integer/logical datatypes for this system!" 86 | #error "don't know Fortran integer/logical datatypes for this system!" | ^~~~~ /usr/include/fortran.h:159:4: error: #error "don't know Fortran integer/logical datatypes for this system!" 159 | #error "don't know Fortran integer/logical datatypes for this system!" | ^~~~~ /usr/include/fortran.h:90:9: error: ‘integer’ does not name a type 90 | typedef integer fortran_integer_t; | ^~~~~~~ /usr/include/fortran.h:91:9: error: ‘logical’ does not name a type 91 | typedef logical fortran_logical_t; | ^~~~~~~ In file included from /tmp/2tWUF4w858/dump1.h:13: /usr/include/spherepack.h:16:6: error: variable or field ‘FORTRAN_NAME’ declared void 16 | void FORTRAN_NAME(gaqd)(const int * nlat,double * dtheta,double * dwts,double * DWORK,int * ldwork,int * ier); | ^~~~~~~~~~~~ /usr/include/spherepack.h:16:19: error: ‘gaqd’ was not declared in this scope 16 | void FORTRAN_NAME(gaqd)(const int * nlat,double * dtheta,double * dwts,double * DWORK,int * ldwork,int * ier); | ^~~~ /usr/include/spherepack.h:18:6: error: variable or field ‘FORTRAN_NAME’ declared void 18 | void FORTRAN_NAME(shagci)(const int * nlat,const int * nlon,float * wshagc,int * lwsha,double * work,int * lwrk,int * ierror); | ^~~~~~~~~~~~ /usr/include/spherepack.h:18:19: error: ‘shagci’ was not declared in this scope 18 | void FORTRAN_NAME(shagci)(const int * nlat,const int * nlon,float * wshagc,int * lwsha,double * work,int * lwrk,int * ierror); | ^~~~~~ /usr/include/spherepack.h:19:6: error: variable or field ‘FORTRAN_NAME’ declared void 19 | void FORTRAN_NAME(shagc)(const int * nlat,const int * nlon,const int * mode,const int * nt, const float * g,int *idimg,int *jdimg,float * ga,float * gb,int * mdab,int * ndab, | ^~~~~~~~~~~~ /usr/include/spherepack.h:19:19: error: ‘shagc’ was not declared in this scope 19 | void FORTRAN_NAME(shagc)(const int * nlat,const int * nlon,const int * mode,const int * nt, const float * g,int *idimg,int *jdimg,float * ga,float * gb,int * mdab,int * ndab, | ^~~~~ /usr/include/spherepack.h:22:6: error: variable or field ‘FORTRAN_NAME’ declared void 22 | void FORTRAN_NAME(shsgci)(const int * nlat,const int * nlon,float * wshsgc,int * lwshs,double * work, int * lwrk,int * ierror); | ^~~~~~~~~~~~ /usr/include/spherepack.h:22:19: error: ‘shsgci’ was not declared in this scope 22 | void FORTRAN_NAME(shsgci)(const int * nlat,const int * nlon,float * wshsgc,int * lwshs,double * work, int * lwrk,int * ierror); | ^~~~~~ /usr/include/spherepack.h:23:6: error: variable or field ‘FORTRAN_NAME’ declared void 23 | void FORTRAN_NAME(shsgc)(const int * nlat,const int * nlon,const int * mode,const int * nt, float * gh, int * idimg,int * jdimg,const float * ga,const float * gb,int * mdab,int * ndab, | ^~~~~~~~~~~~ /usr/include/spherepack.h:23:19: error: ‘shsgc’ was not declared in this scope 23 | void FORTRAN_NAME(shsgc)(const int * nlat,const int * nlon,const int * mode,const int * nt, float * gh, int * idimg,int * jdimg,const float * ga,const float * gb,int * mdab,int * ndab, | ^~~~~ /usr/include/spherepack.h:26:6: error: variable or field ‘FORTRAN_NAME’ declared void 26 | void FORTRAN_NAME(shpgi)(const int * nlat,const int * nlon,const int * isym,int * mtrunc,float * wshp,int * lwshp,int * iwshp,int * liwshp,float * work,int * lwrkint, int *ierror); | ^~~~~~~~~~~~ /usr/include/spherepack.h:26:19: error: ‘shpgi’ was not declared in this scope 26 | void FORTRAN_NAME(shpgi)(const int * nlat,const int * nlon,const int * isym,int * mtrunc,float * wshp,int * lwshp,int * iwshp,int * liwshp,float * work,int * lwrkint, int *ierror); | ^~~~~ /usr/include/spherepack.h:27:6: error: variable or field ‘FORTRAN_NAME’ declared void 27 | void FORTRAN_NAME(shpg)(const int * nlat,const int * nlon,const int * isym,int * mtrunc,float * sx,float * sy,int * idp, | ^~~~~~~~~~~~ /usr/include/spherepack.h:27:19: error: ‘shpg’ was not declared in this scope 27 | void FORTRAN_NAME(shpg)(const int * nlat,const int * nlon,const int * isym,int * mtrunc,float * sx,float * sy,int * idp, | ^~~~