Temporary header file '/tmp/XeTqu2bGQR/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/dynamicArray.h" #include "/usr/include/ptrList.h" #include "/usr/include/snlCircularOffsetCurve.h" #include "/usr/include/snlCtrlPoint.h" #include "/usr/include/snlCtrlPointNet.h" #include "/usr/include/snlCtrlPointNetCurve.h" #include "/usr/include/snlCtrlPointNetSurface.h" #include "/usr/include/snlCurve.h" #include "/usr/include/snlCurveBase.h" #include "/usr/include/snlKnotVector.h" #include "/usr/include/snlMatrix_4x4.h" #include "/usr/include/snlMeshable.h" #include "/usr/include/snlNurbsCommon.h" #include "/usr/include/snlPoint.h" #include "/usr/include/snlSquareLinear.h" #include "/usr/include/snlSurface.h" #include "/usr/include/snlSurfaceBase.h" #include "/usr/include/snlSurfaceOfRevolution.h" #include "/usr/include/snlSurface_pointLoop.h" #include "/usr/include/snlSurface_projection.h" #include "/usr/include/snlTransform.h" #include "/usr/include/snlTriangleMesh.h" #include "/usr/include/snlUtil.h" #include "/usr/include/snlVector.h" #include "/usr/include/snlVersion.h" #include "/usr/include/snlVertex.h" #include "/usr/include/snlVertexNet.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; binCoefs* tmp_add_class_3; snlCircularOffsetCurve* tmp_add_class_4; snlCtrlPoint* tmp_add_class_5; snlCtrlPointNet* tmp_add_class_6; snlCtrlPointNetCurve* tmp_add_class_7; snlCtrlPointNetSurface* tmp_add_class_8; snlCurve* tmp_add_class_9; snlCurveBase* tmp_add_class_10; snlKnotVector* tmp_add_class_11; snlMatrix_4X4* tmp_add_class_12; snlMeshable* tmp_add_class_13; snlPoint* tmp_add_class_14; snlSquareLinear* tmp_add_class_15; snlSurface* tmp_add_class_16; snlSurfaceBase* tmp_add_class_17; snlSurfaceOfRevolution* tmp_add_class_18; snlTransform* tmp_add_class_19; snlTriangleMesh* tmp_add_class_20; snlVector* tmp_add_class_21; snlVertex* tmp_add_class_22; snlVertexNet* tmp_add_class_23; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/XeTqu2bGQR/dump1.h" In file included from /usr/include/snlSurface_pointLoop.h:21, from /tmp/XeTqu2bGQR/dump1.h:30: /usr/include/snlNurbsCommon.h:42:11: error: redefinition of ‘const int MAX_PROJ_ITER’ 42 | const int MAX_PROJ_ITER = 64; // Maximum number of newton iterations for projection functions. | ^~~~~~~~~~~~~ In file included from /tmp/XeTqu2bGQR/dump1.h:24: /usr/include/snlNurbsCommon.h:42:11: note: ‘const int MAX_PROJ_ITER’ previously defined here 42 | const int MAX_PROJ_ITER = 64; // Maximum number of newton iterations for projection functions. | ^~~~~~~~~~~~~ /usr/include/snlNurbsCommon.h:53:3: error: conflicting declaration ‘typedef struct sLocn sLocn’ 53 | } sLocn; | ^~~~~ /usr/include/snlNurbsCommon.h:53:3: note: previous declaration as ‘typedef struct sLocn sLocn’ 53 | } sLocn; | ^~~~~ /usr/include/snlNurbsCommon.h:65:3: error: conflicting declaration ‘typedef struct projLocn projLocn’ 65 | } projLocn; | ^~~~~~~~ /usr/include/snlNurbsCommon.h:65:3: note: previous declaration as ‘typedef struct projLocn projLocn’ 65 | } projLocn; | ^~~~~~~~ In file included from /usr/include/snlSurface_projection.h:21, from /tmp/XeTqu2bGQR/dump1.h:31: /usr/include/snlNurbsCommon.h:42:11: error: redefinition of ‘const int MAX_PROJ_ITER’ 42 | const int MAX_PROJ_ITER = 64; // Maximum number of newton iterations for projection functions. | ^~~~~~~~~~~~~ /usr/include/snlNurbsCommon.h:42:11: note: ‘const int MAX_PROJ_ITER’ previously defined here 42 | const int MAX_PROJ_ITER = 64; // Maximum number of newton iterations for projection functions. | ^~~~~~~~~~~~~ /usr/include/snlNurbsCommon.h:53:3: error: conflicting declaration ‘typedef struct sLocn sLocn’ 53 | } sLocn; | ^~~~~ /usr/include/snlNurbsCommon.h:53:3: note: previous declaration as ‘typedef struct sLocn sLocn’ 53 | } sLocn; | ^~~~~ /usr/include/snlNurbsCommon.h:65:3: error: conflicting declaration ‘typedef struct projLocn projLocn’ 65 | } projLocn; | ^~~~~~~~ /usr/include/snlNurbsCommon.h:65:3: note: previous declaration as ‘typedef struct projLocn projLocn’ 65 | } projLocn; | ^~~~~~~~