Temporary header file '/tmp/SnFLWHiuM_/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/blas_sparse.h" #include "/usr/include/rsb-config.h" #include "/usr/include/rsb.h" #include "/usr/include/rsb.hpp" #include "/usr/include/rsb_types.h" // add namespaces namespace rsb{typedef int tmp_add_type_1;} rsb::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace rsb{namespace rsb_internal{typedef int tmp_add_type_2;}} rsb::rsb_internal::tmp_add_type_2 tmp_add_func_2(){return 0;}; // 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; rsb_initopts* tmp_add_class_3; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/SnFLWHiuM_/dump1.h" In file included from /tmp/SnFLWHiuM_/dump1.h:12: /usr/include/blas_sparse.h:18:2: error: #error "You are using Sparse BLAS headers from librsb -- You should include first!" 18 | #error "You are using Sparse BLAS headers from librsb -- You should include first!" | ^~~~~ /usr/include/blas_sparse.h:569:49: error: ‘rsb_char_t’ does not name a type; did you mean ‘wchar_t’? 569 | blas_sparse_matrix rsb_blas_file_mtx_load(const rsb_char_t * filename, rsb_type_t typecode ); /* This is a librsb extension. */ | ^~~~~~~~~~ | wchar_t /usr/include/blas_sparse.h:569:72: error: ‘rsb_type_t’ has not been declared 569 | blas_sparse_matrix rsb_blas_file_mtx_load(const rsb_char_t * filename, rsb_type_t typecode ); /* This is a librsb extension. */ | ^~~~~~~~~~