Temporary header file '/tmp/BHvaJJtBYt/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/cglm/affine-mat.h" #include "/usr/include/cglm/affine-post.h" #include "/usr/include/cglm/affine-pre.h" #include "/usr/include/cglm/affine.h" #include "/usr/include/cglm/affine2d.h" #include "/usr/include/cglm/applesimd.h" #include "/usr/include/cglm/bezier.h" #include "/usr/include/cglm/box.h" #include "/usr/include/cglm/call/affine.h" #include "/usr/include/cglm/call/affine2d.h" #include "/usr/include/cglm/call/bezier.h" #include "/usr/include/cglm/call/box.h" #include "/usr/include/cglm/call/cam.h" #include "/usr/include/cglm/call/clipspace/ortho_lh_no.h" #include "/usr/include/cglm/call/clipspace/ortho_lh_zo.h" #include "/usr/include/cglm/call/clipspace/ortho_rh_no.h" #include "/usr/include/cglm/call/clipspace/ortho_rh_zo.h" #include "/usr/include/cglm/call/clipspace/persp_lh_no.h" #include "/usr/include/cglm/call/clipspace/persp_lh_zo.h" #include "/usr/include/cglm/call/clipspace/persp_rh_no.h" #include "/usr/include/cglm/call/clipspace/persp_rh_zo.h" #include "/usr/include/cglm/call/clipspace/project_no.h" #include "/usr/include/cglm/call/clipspace/project_zo.h" #include "/usr/include/cglm/call/clipspace/view_lh_no.h" #include "/usr/include/cglm/call/clipspace/view_lh_zo.h" #include "/usr/include/cglm/call/clipspace/view_rh_no.h" #include "/usr/include/cglm/call/clipspace/view_rh_zo.h" #include "/usr/include/cglm/call/curve.h" #include "/usr/include/cglm/call/ease.h" #include "/usr/include/cglm/call/euler.h" #include "/usr/include/cglm/call/frustum.h" #include "/usr/include/cglm/call/io.h" #include "/usr/include/cglm/call/ivec2.h" #include "/usr/include/cglm/call/ivec3.h" #include "/usr/include/cglm/call/ivec4.h" #include "/usr/include/cglm/call/mat2.h" #include "/usr/include/cglm/call/mat3.h" #include "/usr/include/cglm/call/mat4.h" #include "/usr/include/cglm/call/plane.h" #include "/usr/include/cglm/call/project.h" #include "/usr/include/cglm/call/quat.h" #include "/usr/include/cglm/call/ray.h" #include "/usr/include/cglm/call/sphere.h" #include "/usr/include/cglm/call/vec2.h" #include "/usr/include/cglm/call/vec3.h" #include "/usr/include/cglm/call/vec4.h" #include "/usr/include/cglm/call.h" #include "/usr/include/cglm/cam.h" #include "/usr/include/cglm/cglm.h" #include "/usr/include/cglm/clipspace/ortho_lh_no.h" #include "/usr/include/cglm/clipspace/ortho_lh_zo.h" #include "/usr/include/cglm/clipspace/ortho_rh_no.h" #include "/usr/include/cglm/clipspace/ortho_rh_zo.h" #include "/usr/include/cglm/clipspace/persp.h" #include "/usr/include/cglm/clipspace/persp_lh_no.h" #include "/usr/include/cglm/clipspace/persp_lh_zo.h" #include "/usr/include/cglm/clipspace/persp_rh_no.h" #include "/usr/include/cglm/clipspace/persp_rh_zo.h" #include "/usr/include/cglm/clipspace/project_no.h" #include "/usr/include/cglm/clipspace/project_zo.h" #include "/usr/include/cglm/clipspace/view_lh.h" #include "/usr/include/cglm/clipspace/view_lh_no.h" #include "/usr/include/cglm/clipspace/view_lh_zo.h" #include "/usr/include/cglm/clipspace/view_rh.h" #include "/usr/include/cglm/clipspace/view_rh_no.h" #include "/usr/include/cglm/clipspace/view_rh_zo.h" #include "/usr/include/cglm/color.h" #include "/usr/include/cglm/common.h" #include "/usr/include/cglm/curve.h" #include "/usr/include/cglm/ease.h" #include "/usr/include/cglm/euler.h" #include "/usr/include/cglm/frustum.h" #include "/usr/include/cglm/io.h" #include "/usr/include/cglm/ivec2.h" #include "/usr/include/cglm/ivec3.h" #include "/usr/include/cglm/ivec4.h" #include "/usr/include/cglm/mat2.h" #include "/usr/include/cglm/mat3.h" #include "/usr/include/cglm/mat4.h" #include "/usr/include/cglm/plane.h" #include "/usr/include/cglm/project.h" #include "/usr/include/cglm/quat.h" #include "/usr/include/cglm/ray.h" #include "/usr/include/cglm/simd/arm.h" #include "/usr/include/cglm/simd/avx/affine.h" #include "/usr/include/cglm/simd/avx/mat4.h" #include "/usr/include/cglm/simd/intrin.h" #include "/usr/include/cglm/simd/neon/affine.h" #include "/usr/include/cglm/simd/neon/mat2.h" #include "/usr/include/cglm/simd/neon/mat4.h" #include "/usr/include/cglm/simd/neon/quat.h" #include "/usr/include/cglm/simd/sse2/affine.h" #include "/usr/include/cglm/simd/sse2/mat2.h" #include "/usr/include/cglm/simd/sse2/mat3.h" #include "/usr/include/cglm/simd/sse2/mat4.h" #include "/usr/include/cglm/simd/sse2/quat.h" #include "/usr/include/cglm/simd/x86.h" #include "/usr/include/cglm/sphere.h" #include "/usr/include/cglm/struct/affine-post.h" #include "/usr/include/cglm/struct/affine-pre.h" #include "/usr/include/cglm/struct/affine.h" #include "/usr/include/cglm/struct/affine2d.h" #include "/usr/include/cglm/struct/box.h" #include "/usr/include/cglm/struct/cam.h" #include "/usr/include/cglm/struct/clipspace/ortho_lh_no.h" #include "/usr/include/cglm/struct/clipspace/ortho_lh_zo.h" #include "/usr/include/cglm/struct/clipspace/ortho_rh_no.h" #include "/usr/include/cglm/struct/clipspace/ortho_rh_zo.h" #include "/usr/include/cglm/struct/clipspace/persp_lh_no.h" #include "/usr/include/cglm/struct/clipspace/persp_lh_zo.h" #include "/usr/include/cglm/struct/clipspace/persp_rh_no.h" #include "/usr/include/cglm/struct/clipspace/persp_rh_zo.h" #include "/usr/include/cglm/struct/clipspace/project_no.h" #include "/usr/include/cglm/struct/clipspace/project_zo.h" #include "/usr/include/cglm/struct/clipspace/view_lh_no.h" #include "/usr/include/cglm/struct/clipspace/view_lh_zo.h" #include "/usr/include/cglm/struct/clipspace/view_rh_no.h" #include "/usr/include/cglm/struct/clipspace/view_rh_zo.h" #include "/usr/include/cglm/struct/color.h" #include "/usr/include/cglm/struct/curve.h" #include "/usr/include/cglm/struct/euler.h" #include "/usr/include/cglm/struct/frustum.h" #include "/usr/include/cglm/struct/io.h" #include "/usr/include/cglm/struct/mat2.h" #include "/usr/include/cglm/struct/mat3.h" #include "/usr/include/cglm/struct/mat4.h" #include "/usr/include/cglm/struct/plane.h" #include "/usr/include/cglm/struct/project.h" #include "/usr/include/cglm/struct/quat.h" #include "/usr/include/cglm/struct/sphere.h" #include "/usr/include/cglm/struct/vec2-ext.h" #include "/usr/include/cglm/struct/vec2.h" #include "/usr/include/cglm/struct/vec3-ext.h" #include "/usr/include/cglm/struct/vec3.h" #include "/usr/include/cglm/struct/vec4-ext.h" #include "/usr/include/cglm/struct/vec4.h" #include "/usr/include/cglm/struct.h" #include "/usr/include/cglm/types-struct.h" #include "/usr/include/cglm/types.h" #include "/usr/include/cglm/util.h" #include "/usr/include/cglm/vec2-ext.h" #include "/usr/include/cglm/vec2.h" #include "/usr/include/cglm/vec3-ext.h" #include "/usr/include/cglm/vec3.h" #include "/usr/include/cglm/vec4-ext.h" #include "/usr/include/cglm/vec4.h" #include "/usr/include/cglm/version.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; ivec2s* tmp_add_class_3; ivec3s* tmp_add_class_4; ivec4s* tmp_add_class_5; mat2s* tmp_add_class_6; mat3s* tmp_add_class_7; mat4s* tmp_add_class_8; vec2s* tmp_add_class_9; vec3s* tmp_add_class_10; vec4s* tmp_add_class_11; versors* tmp_add_class_12; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/BHvaJJtBYt/dump1.h" In file included from /tmp/BHvaJJtBYt/dump1.h:13: /usr/include/cglm/affine-post.h: In function ‘void glm_rotated(float (*)[4], float, float*)’: /usr/include/cglm/affine-post.h:203:3: error: ‘glm_rotate_make’ was not declared in this scope; did you mean ‘glm_rotated_z’? 203 | glm_rotate_make(rot, angle, axis); | ^~~~~~~~~~~~~~~ | glm_rotated_z /usr/include/cglm/affine-post.h: In function ‘void glm_spinned(float (*)[4], float, float*)’: /usr/include/cglm/affine-post.h:243:3: error: ‘glm_rotate_atm’ was not declared in this scope; did you mean ‘glm_rotated_at’? 243 | glm_rotate_atm(rot, m[3], angle, axis); | ^~~~~~~~~~~~~~ | glm_rotated_at In file included from /tmp/BHvaJJtBYt/dump1.h:14: /usr/include/cglm/affine-pre.h: In function ‘void glm_rotate(float (*)[4], float, float*)’: /usr/include/cglm/affine-pre.h:220:3: error: ‘glm_rotate_make’ was not declared in this scope; did you mean ‘glm_rotated_at’? 220 | glm_rotate_make(rot, angle, axis); | ^~~~~~~~~~~~~~~ | glm_rotated_at /usr/include/cglm/affine-pre.h: In function ‘void glm_rotate_atm(float (*)[4], float*, float, float*)’: /usr/include/cglm/affine-pre.h:265:3: error: ‘glm_translate_make’ was not declared in this scope; did you mean ‘glm_translate_z’? 265 | glm_translate_make(m, pivot); | ^~~~~~~~~~~~~~~~~~ | glm_translate_z In file included from /tmp/BHvaJJtBYt/dump1.h:124: /usr/include/cglm/struct/clipspace/project_no.h: In function ‘vec3s glms_unprojecti_no(vec3s, mat4s, vec4s, float*)’: /usr/include/cglm/struct/clipspace/project_no.h:52:9: error: declaration of ‘vec3s dest’ shadows a parameter 52 | vec3s dest; | ^~~~ /usr/include/cglm/struct/clipspace/project_no.h:51:60: note: ‘float* dest’ previously declared here 51 | glms_unprojecti_no(vec3s pos, mat4s invMat, vec4s vp, vec3 dest) { | ~~~~~^~~~ /usr/include/cglm/struct/clipspace/project_no.h: In function ‘vec3s glms_project_no(vec3s, mat4s, vec4s, vec3s)’: /usr/include/cglm/struct/clipspace/project_no.h:73:9: error: declaration of ‘vec3s dest’ shadows a parameter 73 | vec3s dest; | ^~~~ /usr/include/cglm/struct/clipspace/project_no.h:72:53: note: ‘vec3s dest’ previously declared here 72 | glms_project_no(vec3s pos, mat4s m, vec4s vp, vec3s dest) { | ~~~~~~^~~~ /usr/include/cglm/struct/clipspace/project_no.h: In function ‘vec3s glms_project_z_no(vec3s, mat4s)’: /usr/include/cglm/struct/clipspace/project_no.h:93:26: error: could not convert ‘glm_project_z_no(((float*)(& v.vec3s::raw)), ((float (*)[4])(& m.mat4s::raw)))’ from ‘float’ to ‘vec3s’ 93 | return glm_project_z_no(v.raw, m.raw); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | float In file included from /tmp/BHvaJJtBYt/dump1.h:125: /usr/include/cglm/struct/clipspace/project_zo.h: In function ‘vec3s glms_unprojecti_zo(vec3s, mat4s, vec4s, float*)’: /usr/include/cglm/struct/clipspace/project_zo.h:52:9: error: declaration of ‘vec3s dest’ shadows a parameter 52 | vec3s dest; | ^~~~ /usr/include/cglm/struct/clipspace/project_zo.h:51:60: note: ‘float* dest’ previously declared here 51 | glms_unprojecti_zo(vec3s pos, mat4s invMat, vec4s vp, vec3 dest) { | ~~~~~^~~~ /usr/include/cglm/struct/clipspace/project_zo.h: In function ‘vec3s glms_project_zo(vec3s, mat4s, vec4s, float*)’: /usr/include/cglm/struct/clipspace/project_zo.h:73:9: error: declaration of ‘vec3s dest’ shadows a parameter 73 | vec3s dest; | ^~~~ /usr/include/cglm/struct/clipspace/project_zo.h:72:52: note: ‘float* dest’ previously declared here 72 | glms_project_zo(vec3s pos, mat4s m, vec4s vp, vec3 dest) { | ~~~~~^~~~ /usr/include/cglm/struct/clipspace/project_zo.h: In function ‘vec3s glms_project_z_zo(vec3s, mat4s)’: /usr/include/cglm/struct/clipspace/project_zo.h:93:26: error: could not convert ‘glm_project_z_zo(((float*)(& v.vec3s::raw)), ((float (*)[4])(& m.mat4s::raw)))’ from ‘float’ to ‘vec3s’ 93 | return glm_project_z_zo(v.raw, m.raw); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | float