Temporary header file '/tmp/PpGN_OuWzD/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/lite_pdb.h" #include "/usr/include/lite_score.h" #include "/usr/include/pmpio.h" #include "/usr/include/silo.h" #include "/usr/include/silo_exports.h" // add classes DBcompoundarray_* tmp_add_class_0; DBcsgmesh_* tmp_add_class_1; DBcsgvar_* tmp_add_class_2; DBcsgzonelist_* tmp_add_class_3; DBcurve_* tmp_add_class_4; DBdefvars_* tmp_add_class_5; DBedgelist_* tmp_add_class_6; DBfacelist_* tmp_add_class_7; DBfile* tmp_add_class_8; DBfile_pub* tmp_add_class_9; DBmaterial_* tmp_add_class_10; DBmatspecies_* tmp_add_class_11; DBmeshvar_* tmp_add_class_12; DBmultimat_* tmp_add_class_13; DBmultimatspecies_* tmp_add_class_14; DBmultimesh_* tmp_add_class_15; DBmultimeshadj_* tmp_add_class_16; DBmultivar_* tmp_add_class_17; DBobject_* tmp_add_class_18; DBoptlist_* tmp_add_class_19; DBphzonelist_* tmp_add_class_20; DBpointmesh_* tmp_add_class_21; DBquadmesh_* tmp_add_class_22; DBquadvar_* tmp_add_class_23; DBtoc_* tmp_add_class_24; DBucdmesh_* tmp_add_class_25; DBucdvar_* tmp_add_class_26; DBzonelist_* tmp_add_class_27; _DBgroupelmap* tmp_add_class_28; _DBmemfile_bufinfo* tmp_add_class_29; _DBmrgtnode* tmp_add_class_30; _DBmrgtree* tmp_add_class_31; _DBmrgvar* tmp_add_class_32; _DBnamescheme* tmp_add_class_33; _G_fpos64_t* tmp_add_class_34; _G_fpos_t* tmp_add_class_35; _IO_cookie_io_functions_t* tmp_add_class_36; _PMPIO_baton_t* tmp_add_class_37; s_PDBfile* tmp_add_class_38; s_PD_image* tmp_add_class_39; s_PD_itag* tmp_add_class_40; s_attribute* tmp_add_class_41; s_attribute_value* tmp_add_class_42; s_data_alignment* tmp_add_class_43; s_data_standard* tmp_add_class_44; s_defstr* tmp_add_class_45; s_dimdes* tmp_add_class_46; s_dimind* tmp_add_class_47; s_hashel* tmp_add_class_48; s_hashtab* tmp_add_class_49; s_memdes* tmp_add_class_50; s_pcons* tmp_add_class_51; s_symblock* tmp_add_class_52; s_syment* tmp_add_class_53; s_symindir* tmp_add_class_54; u_SC_address* tmp_add_class_55; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/PpGN_OuWzD/dump1.h" In file included from /tmp/PpGN_OuWzD/dump1.h:14: /usr/include/pmpio.h:217:5: error: ‘MPI_Comm’ does not name a type 217 | MPI_Comm mpiComm; | ^~~~~~~~ /usr/include/pmpio.h:269:5: error: ‘MPI_Comm’ has not been declared 269 | MPI_Comm mpiComm, /* The MPI communicator PMPIO should use */ | ^~~~~~~~ /usr/include/pmpio.h: In function ‘PMPIO_baton_t* PMPIO_Init(int, PMPIO_iomode_t, int, int, PMPIO_CreateFileCallBack, PMPIO_OpenFileCallBack, PMPIO_CloseFileCallBack, void*)’: /usr/include/pmpio.h:297:5: error: ‘MPI_Comm_size’ was not declared in this scope 297 | MPI_Comm_size(mpiComm, &commSize); | ^~~~~~~~~~~~~ /usr/include/pmpio.h:298:5: error: ‘MPI_Comm_rank’ was not declared in this scope 298 | MPI_Comm_rank(mpiComm, &rankInComm); | ^~~~~~~~~~~~~ /usr/include/pmpio.h:338:10: error: ‘PMPIO_baton_t’ {aka ‘struct _PMPIO_baton_t’} has no member named ‘mpiComm’ 338 | ret->mpiComm = mpiComm; | ^~~~~~~ /usr/include/pmpio.h: In function ‘void* PMPIO_WaitForBaton(PMPIO_baton_t*, const char*, const char*)’: /usr/include/pmpio.h:384:9: error: ‘MPI_Status’ was not declared in this scope 384 | MPI_Status mpi_stat; | ^~~~~~~~~~ /usr/include/pmpio.h:387:33: error: ‘MPI_INT’ was not declared in this scope; did you mean ‘PRINT’? 387 | MPI_Recv(&baton, 1, MPI_INT, Bat->procBeforeMe, | ^~~~~~~ | PRINT /usr/include/pmpio.h:388:35: error: ‘PMPIO_baton_t’ {aka ‘struct _PMPIO_baton_t’} has no member named ‘mpiComm’ 388 | Bat->mpiTag, Bat->mpiComm, &mpi_stat); | ^~~~~~~ /usr/include/pmpio.h:388:45: error: ‘mpi_stat’ was not declared in this scope 388 | Bat->mpiTag, Bat->mpiComm, &mpi_stat); | ^~~~~~~~ /usr/include/pmpio.h:387:13: error: ‘MPI_Recv’ was not declared in this scope 387 | MPI_Recv(&baton, 1, MPI_INT, Bat->procBeforeMe, | ^~~~~~~~ /usr/include/pmpio.h:389:24: error: ‘MPI_SUCCESS’ was not declared in this scope; did you mean ‘EXIT_SUCCESS’? 389 | if (mpi_err == MPI_SUCCESS && baton != PMPIO_BATON_ERR) | ^~~~~~~~~~~ | EXIT_SUCCESS /usr/include/pmpio.h: In function ‘void PMPIO_HandOffBaton(const PMPIO_baton_t*, void*)’: /usr/include/pmpio.h:428:30: error: ‘MPI_INT’ was not declared in this scope; did you mean ‘PRINT’? 428 | MPI_Ssend(&baton, 1, MPI_INT, Bat->procAfterMe, | ^~~~~~~ | PRINT /usr/include/pmpio.h:429:31: error: ‘const PMPIO_baton_t’ {aka ‘const struct _PMPIO_baton_t’} has no member named ‘mpiComm’ 429 | Bat->mpiTag, Bat->mpiComm); | ^~~~~~~ /usr/include/pmpio.h:428:9: error: ‘MPI_Ssend’ was not declared in this scope 428 | MPI_Ssend(&baton, 1, MPI_INT, Bat->procAfterMe, | ^~~~~~~~~