Temporary header file '/tmp/lY6d2jgsbG/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/libmstoolkit/MSNumpress.hpp" #include "/usr/include/libmstoolkit/MSObject.h" #include "/usr/include/libmstoolkit/MSReader.h" #include "/usr/include/libmstoolkit/MSToolkitTypes.h" #include "/usr/include/libmstoolkit/RAWReader.h" #include "/usr/include/libmstoolkit/Spectrum.h" #include "/usr/include/libmstoolkit/mzMLWriter.h" #include "/usr/include/libmstoolkit/mzParser.h" #include "/usr/include/libmstoolkit/pepXMLWriter.h" // add namespaces namespace ms{typedef int tmp_add_type_1;} ms::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace ms{namespace numpress{typedef int tmp_add_type_2;}} ms::numpress::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace ms{namespace numpress{namespace MSNumpress{typedef int tmp_add_type_3;}}} ms::numpress::MSNumpress::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace MSToolkit{typedef int tmp_add_type_4;} MSToolkit::tmp_add_type_4 tmp_add_func_4(){return 0;}; // add classes BasicChromatogram* tmp_add_class_0; BasicSpectrum* tmp_add_class_1; Chromatogram* tmp_add_class_2; ChromatogramList* tmp_add_class_3; Czran* tmp_add_class_4; Fts5ExtensionApi* tmp_add_class_5; Fts5PhraseIter* tmp_add_class_6; InstrumentStruct* tmp_add_class_7; MSDataFile* tmp_add_class_8; MzParser* tmp_add_class_9; PXWModInfo* tmp_add_class_10; PXWSearchHit* tmp_add_class_11; PXWSearchSummary* tmp_add_class_12; PXWSpectrumQuery* tmp_add_class_13; PepXMLWriter* tmp_add_class_14; PwizRun* tmp_add_class_15; RAMPFILE* tmp_add_class_16; RunHeaderStruct* tmp_add_class_17; ScanCacheStruct* tmp_add_class_18; ScanHeaderStruct* tmp_add_class_19; TimeIntensityPair* tmp_add_class_20; XML_cp* tmp_add_class_21; _G_fpos64_t* tmp_add_class_22; _G_fpos_t* tmp_add_class_23; _IO_cookie_io_functions_t* tmp_add_class_24; cindex* tmp_add_class_25; fts5_api* tmp_add_class_26; fts5_tokenizer* tmp_add_class_27; gzFile_s* tmp_add_class_28; gz_access* tmp_add_class_29; gz_header_s* tmp_add_class_30; instrumentInfo* tmp_add_class_31; mzpSAXHandler* tmp_add_class_32; mzpSAXMzmlHandler* tmp_add_class_33; mzpSAXMzxmlHandler* tmp_add_class_34; point* tmp_add_class_35; pxwBasicXMLTag* tmp_add_class_36; pxwMSMSRunSummary* tmp_add_class_37; pxwModAA* tmp_add_class_38; pxwProtein* tmp_add_class_39; pxwSampleEnzyme* tmp_add_class_40; pxwSearchHitPair* tmp_add_class_41; sPrecursorIon* tmp_add_class_42; specDP* tmp_add_class_43; sqlite3_file* tmp_add_class_44; sqlite3_index_info* tmp_add_class_45; sqlite3_io_methods* tmp_add_class_46; sqlite3_mem_methods* tmp_add_class_47; sqlite3_module* tmp_add_class_48; sqlite3_mutex_methods* tmp_add_class_49; sqlite3_pcache_methods* tmp_add_class_50; sqlite3_pcache_methods2* tmp_add_class_51; sqlite3_pcache_page* tmp_add_class_52; sqlite3_rtree_geometry* tmp_add_class_53; sqlite3_rtree_query_info* tmp_add_class_54; sqlite3_snapshot* tmp_add_class_55; sqlite3_vfs* tmp_add_class_56; sqlite3_vtab* tmp_add_class_57; sqlite3_vtab_cursor* tmp_add_class_58; z_stream_s* tmp_add_class_59; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/lY6d2jgsbG/dump1.h" In file included from /usr/include/libmstoolkit/MSReader.h:21, from /tmp/lY6d2jgsbG/dump1.h:14: /usr/include/libmstoolkit/mzParser.h:158:3: error: ‘f_off’ does not name a type 158 | f_off offset; | ^~~~~ /usr/include/libmstoolkit/mzParser.h:399:3: error: ‘f_off’ does not name a type 399 | f_off out; // corresponding offset in uncompressed data | ^~~~~ /usr/include/libmstoolkit/mzParser.h:400:3: error: ‘f_off’ does not name a type 400 | f_off in; // offset in input file of first full byte | ^~~~~ /usr/include/libmstoolkit/mzParser.h:419:33: error: ‘f_off’ has not been declared 419 | gz_access *addpoint(int bits, f_off in, f_off out, unsigned left, unsigned char *window); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:419:43: error: ‘f_off’ has not been declared 419 | gz_access *addpoint(int bits, f_off in, f_off out, unsigned left, unsigned char *window); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:420:29: error: ‘f_off’ has not been declared 420 | int build_index(FILE *in, f_off span); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:421:29: error: ‘f_off’ has not been declared 421 | int build_index(FILE *in, f_off span, gz_access **built); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:422:25: error: ‘f_off’ has not been declared 422 | int extract(FILE *in, f_off offset, unsigned char *buf, int len); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:423:25: error: ‘f_off’ has not been declared 423 | int extract(FILE *in, f_off offset); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:424:3: error: ‘f_off’ does not name a type 424 | f_off getfilesize(); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:431:3: error: ‘f_off’ does not name a type 431 | f_off bufferOffset; | ^~~~~ /usr/include/libmstoolkit/mzParser.h:435:3: error: ‘f_off’ does not name a type 435 | f_off lastBufferOffset; | ^~~~~ /usr/include/libmstoolkit/mzParser.h:438:3: error: ‘f_off’ does not name a type 438 | f_off fileSize; | ^~~~~ /usr/include/libmstoolkit/mzParser.h:466:20: error: ‘f_off’ has not been declared 466 | bool parseOffset(f_off offset); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:512:3: error: ‘f_off’ does not name a type 512 | f_off getIndexOffset(); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:544:3: error: ‘f_off’ does not name a type 544 | f_off readIndexOffset(); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:583:3: error: ‘f_off’ does not name a type 583 | f_off indexOffset; | ^~~~~ /usr/include/libmstoolkit/mzParser.h:623:3: error: ‘f_off’ does not name a type 623 | f_off getIndexOffset(); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:639:3: error: ‘f_off’ does not name a type 639 | f_off readIndexOffset(); | ^~~~~ /usr/include/libmstoolkit/mzParser.h:671:3: error: ‘f_off’ does not name a type 671 | f_off indexOffset; | ^~~~~ /usr/include/libmstoolkit/mzParser.h:1260:9: error: ‘f_off’ does not name a type 1260 | typedef f_off ramp_fileoffset_t; | ^~~~~ /usr/include/libmstoolkit/mzParser.h:1343:3: error: ‘ramp_fileoffset_t’ does not name a type 1343 | ramp_fileoffset_t filePosition; /* where in the file is this header? */ | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1373:1: error: ‘ramp_fileoffset_t’ does not name a type 1373 | ramp_fileoffset_t getIndexOffset(RAMPFILE *pFI); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1384:47: error: ‘ramp_fileoffset_t’ has not been declared 1384 | void readHeader(RAMPFILE *pFI, ramp_fileoffset_t lScanIndex, struct ScanHeaderStruct *scanHeader); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1385:47: error: ‘ramp_fileoffset_t’ has not been declared 1385 | void readHeader(RAMPFILE *pFI, ramp_fileoffset_t lScanIndex, struct ScanHeaderStruct *scanHeader, unsigned long scanI); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1386:1: error: ‘ramp_fileoffset_t’ does not name a type 1386 | ramp_fileoffset_t* readIndex(RAMPFILE *pFI, ramp_fileoffset_t indexOffset, int *iLastScan); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1387:48: error: ‘ramp_fileoffset_t’ has not been declared 1387 | int readMsLevel(RAMPFILE *pFI, ramp_fileoffset_t lScanIndex); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1389:46: error: ‘ramp_fileoffset_t’ has not been declared 1389 | RAMPREAL* readPeaks(RAMPFILE *pFI, ramp_fileoffset_t lScanIndex); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1390:46: error: ‘ramp_fileoffset_t’ has not been declared 1390 | RAMPREAL* readPeaks(RAMPFILE* pFI, ramp_fileoffset_t lScanIndex, unsigned long scanI); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1391:51: error: ‘ramp_fileoffset_t’ has not been declared 1391 | int readPeaksCount(RAMPFILE *pFI, ramp_fileoffset_t lScanIndex); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1392:51: error: ‘ramp_fileoffset_t’ has not been declared 1392 | int readPeaksCount(RAMPFILE *pFI, ramp_fileoffset_t lScanIndex, unsigned long scanI); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1393:50: error: ‘ramp_fileoffset_t’ has not been declared 1393 | void readRunHeader(RAMPFILE *pFI, ramp_fileoffset_t *pScanIndex, struct RunHeaderStruct *runHeader, int iLastScan); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1400:108: error: ‘ramp_fileoffset_t’ has not been declared 1400 | const struct ScanHeaderStruct* readHeaderCached(struct ScanCacheStruct* cache, int seqNum, RAMPFILE* pFI, ramp_fileoffset_t lScanIndex); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1401:110: error: ‘ramp_fileoffset_t’ has not been declared 1401 | int readMsLevelCached(struct ScanCacheStruct* cache, int seqNum, RAMPFILE* pFI, ramp_fileoffset_t lScanIndex); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1402:108: error: ‘ramp_fileoffset_t’ has not been declared 1402 | const RAMPREAL* readPeaksCached(struct ScanCacheStruct* cache, int seqNum, RAMPFILE* pFI, ramp_fileoffset_t lScanIndex); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1411:48: error: ‘ramp_fileoffset_t’ has not been declared 1411 | double readStartMz(RAMPFILE *pFI, ramp_fileoffset_t lScanIndex); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/mzParser.h:1412:46: error: ‘ramp_fileoffset_t’ has not been declared 1412 | double readEndMz(RAMPFILE *pFI, ramp_fileoffset_t lScanIndex); | ^~~~~~~~~~~~~~~~~ /usr/include/libmstoolkit/MSReader.h:148:3: error: ‘ramp_fileoffset_t’ does not name a type 148 | ramp_fileoffset_t *pScanIndex; | ^~~~~~~~~~~~~~~~~