Temporary header file '/tmp/EHzAwdnMFB/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/mrcal/basic-geometry.h" #include "/usr/include/mrcal/mrcal-image.h" #include "/usr/include/mrcal/mrcal-internal.h" #include "/usr/include/mrcal/mrcal.h" #include "/usr/include/mrcal/poseutils.h" #include "/usr/include/mrcal/triangulation.h" The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/EHzAwdnMFB/dump1.h" In file included from /tmp/EHzAwdnMFB/dump1.h:13: /usr/include/mrcal/mrcal-image.h: In function ‘mrcal_image_uint8_t mrcal_image_uint8_crop(mrcal_image_uint8_t*, int, int, int, int)’: /usr/include/mrcal/mrcal-image.h:80:55: error: designator order for field ‘mrcal_image_uint8_t::stride’ does not match declaration order in ‘mrcal_image_uint8_t’ 80 | .h = h }; \ | ^ /usr/include/mrcal/mrcal-image.h:87:1: note: in expansion of macro ‘MRCAL_IMAGE_DECLARE’ 87 | MRCAL_IMAGE_DECLARE(uint8_t, uint8); | ^~~~~~~~~~~~~~~~~~~ /usr/include/mrcal/mrcal-image.h: In function ‘mrcal_image_uint16_t mrcal_image_uint16_crop(mrcal_image_uint16_t*, int, int, int, int)’: /usr/include/mrcal/mrcal-image.h:80:55: error: designator order for field ‘mrcal_image_uint16_t::stride’ does not match declaration order in ‘mrcal_image_uint16_t’ 80 | .h = h }; \ | ^ /usr/include/mrcal/mrcal-image.h:88:1: note: in expansion of macro ‘MRCAL_IMAGE_DECLARE’ 88 | MRCAL_IMAGE_DECLARE(uint16_t, uint16); | ^~~~~~~~~~~~~~~~~~~ /usr/include/mrcal/mrcal-image.h: In function ‘mrcal_image_bgr_t mrcal_image_bgr_crop(mrcal_image_bgr_t*, int, int, int, int)’: /usr/include/mrcal/mrcal-image.h:80:55: error: designator order for field ‘mrcal_image_bgr_t::stride’ does not match declaration order in ‘mrcal_image_bgr_t’ 80 | .h = h }; \ | ^ /usr/include/mrcal/mrcal-image.h:89:1: note: in expansion of macro ‘MRCAL_IMAGE_DECLARE’ 89 | MRCAL_IMAGE_DECLARE(bgr_t, bgr); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/EHzAwdnMFB/dump1.h:14: /usr/include/mrcal/mrcal-internal.h: At global scope: /usr/include/mrcal/mrcal-internal.h:33:30: error: ‘PRECOMPUTED_STRUCT’ has not been declared 33 | MRCAL_LENSMODEL_LIST(PRECOMPUTED_STRUCT); | ^~~~~~~~~~~~~~~~~~ /usr/include/mrcal/mrcal-internal.h:76:36: error: ‘mrcal_lensmodel_t’ does not name a type 76 | const mrcal_lensmodel_t* lensmodel, | ^~~~~~~~~~~~~~~~~ /usr/include/mrcal/mrcal-internal.h:83:45: error: ‘mrcal_lensmodel_t’ does not name a type 83 | const mrcal_lensmodel_t* lensmodel); | ^~~~~~~~~~~~~~~~~ /usr/include/mrcal/mrcal-internal.h:90:38: error: ‘mrcal_lensmodel_t’ does not name a type 90 | const mrcal_lensmodel_t* lensmodel, | ^~~~~~~~~~~~~~~~~ /usr/include/mrcal/mrcal-internal.h:103:32: error: ‘mrcal_observation_board_t’ does not name a type 103 | const mrcal_observation_board_t* observations_board, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/mrcal/mrcal-internal.h:104:32: error: ‘mrcal_observation_point_t’ does not name a type 104 | const mrcal_observation_point_t* observations_point, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/mrcal/mrcal-internal.h:105:26: error: ‘mrcal_problem_selections_t’ has not been declared 105 | mrcal_problem_selections_t problem_selections, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/mrcal/mrcal-internal.h:106:32: error: ‘mrcal_lensmodel_t’ does not name a type 106 | const mrcal_lensmodel_t* lensmodel); | ^~~~~~~~~~~~~~~~~