Temporary header file '/tmp/NLsQVDHVQw/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/lip/forest.h" #include "/usr/include/lip/interpol.h" #include "/usr/include/lip/liblip.h" #include "/usr/include/lip/memblock.h" // add namespaces namespace TNT{typedef int tmp_add_type_1;} TNT::tmp_add_type_1 tmp_add_func_1(){return 0;}; // add classes Forest* tmp_add_class_0; HeadStruc* tmp_add_class_1; Interpolant* tmp_add_class_2; STCInterpolant* tmp_add_class_3; SVSetNode* tmp_add_class_4; _G_fpos64_t* tmp_add_class_5; _G_fpos_t* tmp_add_class_6; _IO_cookie_io_functions_t* tmp_add_class_7; mallinfo2* tmp_add_class_8; support_vector* tmp_add_class_9; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/NLsQVDHVQw/dump1.h" In file included from /usr/include/lip/interpol.h:93, from /tmp/NLsQVDHVQw/dump1.h:13: /usr/include/lip/forest.h:105:12: error: redefinition of ‘const double Infinity’ 105 | const real Infinity = 1.0e16; | ^~~~~~~~ In file included from /tmp/NLsQVDHVQw/dump1.h:12: /usr/include/lip/forest.h:105:12: note: ‘const double Infinity’ previously defined here 105 | const real Infinity = 1.0e16; | ^~~~~~~~ /usr/include/lip/forest.h:106:12: error: redefinition of ‘const double SInfinity’ 106 | const real SInfinity = 1.0e7; // "small infinity" for boundary points (to avoid loss of precision when taking 1-x[i]) | ^~~~~~~~~ /usr/include/lip/forest.h:106:12: note: ‘const double SInfinity’ previously defined here 106 | const real SInfinity = 1.0e7; // "small infinity" for boundary points (to avoid loss of precision when taking 1-x[i]) | ^~~~~~~~~ /usr/include/lip/forest.h:153:7: error: redefinition of ‘class support_vector’ 153 | class support_vector { | ^~~~~~~~~~~~~~ /usr/include/lip/forest.h:153:7: note: previous definition of ‘class support_vector’ 153 | class support_vector { | ^~~~~~~~~~~~~~ /usr/include/lip/forest.h:185:7: error: redefinition of ‘class SVSetNode’ 185 | class SVSetNode { | ^~~~~~~~~ /usr/include/lip/forest.h:185:7: note: previous definition of ‘class SVSetNode’ 185 | class SVSetNode { | ^~~~~~~~~ /usr/include/lip/forest.h:274:8: error: redefinition of ‘struct HeadStruc’ 274 | struct HeadStruc { | ^~~~~~~~~ /usr/include/lip/forest.h:274:8: note: previous definition of ‘struct HeadStruc’ 274 | struct HeadStruc { | ^~~~~~~~~ /usr/include/lip/forest.h:279:7: error: redefinition of ‘class Forest’ 279 | class Forest { | ^~~~~~ /usr/include/lip/forest.h:279:7: note: previous definition of ‘class Forest’ 279 | class Forest { | ^~~~~~ /tmp/NLsQVDHVQw/dump1.h:30:3: error: ‘mallinfo2’ does not name a type 30 | mallinfo2* tmp_add_class_8; | ^~~~~~~~~