Temporary header file '/tmp/QY4tJKafjb/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/dc_hack.h" #include "/usr/include/dcap.h" #include "/usr/include/dcap_errno.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; dc_stat* tmp_add_class_3; dc_stat64* tmp_add_class_4; f_owner_ex* tmp_add_class_5; file_handle* tmp_add_class_6; flock64* tmp_add_class_7; iovec* tmp_add_class_8; statx_timestamp* tmp_add_class_9; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/QY4tJKafjb/dump1.h" In file included from /tmp/QY4tJKafjb/dump1.h:13: /usr/include/dcap.h:65:17: error: declaration of ‘off_t dc_lseek(int, off_t, int)’ has a different exception specifier 65 | extern off_t dc_lseek(int, off_t, int); | ^~~~~~~~ In file included from /tmp/QY4tJKafjb/dump1.h:12: /usr/include/dc_hack.h:53:20: note: from previous declaration ‘__off_t dc_lseek(int, __off_t, int) noexcept’ 53 | #define lseek dc_lseek | ^~~~~~~~ /usr/include/dcap.h:66:17: error: declaration of ‘int dc_stat(const char*, dc_stat*)’ has a different exception specifier 66 | extern int dc_stat(const char *, struct stat *); | ^~~~~~~ /usr/include/dc_hack.h:54:20: note: from previous declaration ‘int dc_stat(const char*, dc_stat*) noexcept’ 54 | #define stat dc_stat | ^~~~~~~ /usr/include/dcap.h:67:17: error: declaration of ‘int dc_lstat(const char*, dc_stat*)’ has a different exception specifier 67 | extern int dc_lstat(const char *, struct stat *); | ^~~~~~~~ /usr/include/dc_hack.h:55:20: note: from previous declaration ‘int dc_lstat(const char*, dc_stat*) noexcept’ 55 | #define lstat dc_lstat | ^~~~~~~~ /usr/include/dcap.h:68:17: error: declaration of ‘int dc_fstat(int, dc_stat*)’ has a different exception specifier 68 | extern int dc_fstat(int, struct stat *); | ^~~~~~~~ /usr/include/dc_hack.h:56:20: note: from previous declaration ‘int dc_fstat(int, dc_stat*) noexcept’ 56 | #define fstat dc_fstat | ^~~~~~~~ /usr/include/dcap.h:93:17: error: declaration of ‘off64_t dc_lseek64(int, off64_t, int)’ has a different exception specifier 93 | extern off64_t dc_lseek64(int, off64_t, int); | ^~~~~~~~~~ /usr/include/dc_hack.h:43:20: note: from previous declaration ‘__off64_t dc_lseek64(int, __off64_t, int) noexcept’ 43 | #define lseek64 dc_lseek64 | ^~~~~~~~~~ /usr/include/dcap.h:95:17: error: declaration of ‘int dc_dup(int)’ has a different exception specifier 95 | extern int dc_dup(int); | ^~~~~~ /usr/include/dc_hack.h:39:20: note: from previous declaration ‘int dc_dup(int) noexcept’ 39 | #define dup dc_dup | ^~~~~~ /usr/include/dcap.h:96:17: error: declaration of ‘int dc_access(const char*, int)’ has a different exception specifier 96 | extern int dc_access( const char *, int); | ^~~~~~~~~ /usr/include/dc_hack.h:40:20: note: from previous declaration ‘int dc_access(const char*, int) noexcept’ 40 | #define access dc_access | ^~~~~~~~~ /usr/include/dcap.h:97:17: error: declaration of ‘int dc_unlink(const char*)’ has a different exception specifier 97 | extern int dc_unlink( const char *); | ^~~~~~~~~ /usr/include/dc_hack.h:41:20: note: from previous declaration ‘int dc_unlink(const char*) noexcept’ 41 | #define unlink dc_unlink | ^~~~~~~~~ /usr/include/dcap.h:98:17: error: declaration of ‘int dc_rmdir(const char*)’ has a different exception specifier 98 | extern int dc_rmdir( const char *); | ^~~~~~~~ /usr/include/dc_hack.h:63:20: note: from previous declaration ‘int dc_rmdir(const char*) noexcept’ 63 | #define rmdir dc_rmdir | ^~~~~~~~ /usr/include/dcap.h:99:17: error: declaration of ‘int dc_mkdir(const char*, mode_t)’ has a different exception specifier 99 | extern int dc_mkdir( const char *, mode_t); | ^~~~~~~~ /usr/include/dc_hack.h:64:20: note: from previous declaration ‘int dc_mkdir(const char*, __mode_t) noexcept’ 64 | #define mkdir dc_mkdir | ^~~~~~~~ /usr/include/dcap.h:100:17: error: declaration of ‘int dc_chmod(const char*, mode_t)’ has a different exception specifier 100 | extern int dc_chmod( const char *, mode_t); | ^~~~~~~~ /usr/include/dc_hack.h:65:20: note: from previous declaration ‘int dc_chmod(const char*, __mode_t) noexcept’ 65 | #define chmod dc_chmod | ^~~~~~~~ /usr/include/dcap.h:102:17: error: declaration of ‘int dc_stat64(const char*, dc_stat64*)’ has a different exception specifier 102 | extern int dc_stat64(const char *, struct stat64 *); | ^~~~~~~~~ /usr/include/dc_hack.h:44:20: note: from previous declaration ‘int dc_stat64(const char*, dc_stat64*) noexcept’ 44 | #define stat64 dc_stat64 | ^~~~~~~~~ /usr/include/dcap.h:103:17: error: declaration of ‘int dc_lstat64(const char*, dc_stat64*)’ has a different exception specifier 103 | extern int dc_lstat64(const char *, struct stat64 *); | ^~~~~~~~~~ /usr/include/dc_hack.h:45:20: note: from previous declaration ‘int dc_lstat64(const char*, dc_stat64*) noexcept’ 45 | #define lstat64 dc_lstat64 | ^~~~~~~~~~ /usr/include/dcap.h:104:17: error: declaration of ‘int dc_fstat64(int, dc_stat64*)’ has a different exception specifier 104 | extern int dc_fstat64(int , struct stat64 *); | ^~~~~~~~~~ /usr/include/dc_hack.h:46:20: note: from previous declaration ‘int dc_fstat64(int, dc_stat64*) noexcept’ 46 | #define fstat64 dc_fstat64 | ^~~~~~~~~~ /usr/include/dcap.h:105:17: error: declaration of ‘int dc_rename(const char*, const char*)’ has a different exception specifier 105 | extern int dc_rename(const char *, const char *); | ^~~~~~~~~ /usr/include/dc_hack.h:66:20: note: from previous declaration ‘int dc_rename(const char*, const char*) noexcept’ 66 | #define rename dc_rename | ^~~~~~~~~ /usr/include/dcap.h:117:17: error: declaration of ‘off_t dc_telldir(DIR*)’ has a different exception specifier 117 | extern off_t dc_telldir(DIR *); | ^~~~~~~~~~ /usr/include/dc_hack.h:70:20: note: from previous declaration ‘long int dc_telldir(DIR*) noexcept’ 70 | #define telldir dc_telldir | ^~~~~~~~~~ /usr/include/dcap.h:118:16: error: declaration of ‘void dc_seekdir(DIR*, off_t)’ has a different exception specifier 118 | extern void dc_seekdir(DIR *, off_t); | ^~~~~~~~~~ /usr/include/dc_hack.h:71:20: note: from previous declaration ‘void dc_seekdir(DIR*, long int) noexcept’ 71 | #define seekdir dc_seekdir | ^~~~~~~~~~ /usr/include/dcap.h:123:17: error: declaration of ‘FILE* dc_fdopen(int, const char*)’ has a different exception specifier 123 | extern FILE * dc_fdopen(int , const char *); | ^~~~~~~~~ /usr/include/dc_hack.h:74:20: note: from previous declaration ‘FILE* dc_fdopen(int, const char*) noexcept’ 74 | #define fdopen dc_fdopen | ^~~~~~~~~ /usr/include/dcap.h:129:17: error: declaration of ‘int dc_ferror(FILE*)’ has a different exception specifier 129 | extern int dc_ferror(FILE *); | ^~~~~~~~~ /usr/include/dc_hack.h:80:20: note: from previous declaration ‘int dc_ferror(FILE*) noexcept’ 80 | #define ferror dc_ferror | ^~~~~~~~~ /usr/include/dcap.h:131:17: error: declaration of ‘int dc_feof(FILE*)’ has a different exception specifier 131 | extern int dc_feof(FILE *); | ^~~~~~~ /usr/include/dc_hack.h:82:20: note: from previous declaration ‘int dc_feof(FILE*) noexcept’ 82 | #define feof dc_feof | ^~~~~~~ /tmp/QY4tJKafjb/dump1.h:20:3: error: ‘dc_stat’ does not name a type 20 | dc_stat* tmp_add_class_3; | ^~~~~~~ /tmp/QY4tJKafjb/dump1.h:21:3: error: ‘dc_stat64’ does not name a type 21 | dc_stat64* tmp_add_class_4; | ^~~~~~~~~