Temporary header file '/tmp/wEUsOaVFba/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/stdlib.h" #include "/usr/include/stdio.h" #include "/usr/include/gutenprint/array.h" #include "/usr/include/gutenprint/bit-ops.h" #include "/usr/include/gutenprint/channel.h" #include "/usr/include/gutenprint/color.h" #include "/usr/include/gutenprint/curve-cache.h" #include "/usr/include/gutenprint/curve.h" #include "/usr/include/gutenprint/dither.h" #include "/usr/include/gutenprint/gutenprint-module.h" #include "/usr/include/gutenprint/gutenprint-version.h" #include "/usr/include/gutenprint/gutenprint.h" #include "/usr/include/gutenprint/image.h" #include "/usr/include/gutenprint/list.h" #include "/usr/include/gutenprint/module.h" #include "/usr/include/gutenprint/mxml.h" #include "/usr/include/gutenprint/paper.h" #include "/usr/include/gutenprint/path.h" #include "/usr/include/gutenprint/printers.h" #include "/usr/include/gutenprint/refcache.h" #include "/usr/include/gutenprint/sequence.h" #include "/usr/include/gutenprint/string-list.h" #include "/usr/include/gutenprint/types.h" #include "/usr/include/gutenprint/util.h" #include "/usr/include/gutenprint/vars.h" #include "/usr/include/gutenprint/weave.h" #include "/usr/include/gutenprint/xml.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; dither_matrix_impl* tmp_add_class_3; stp_color* tmp_add_class_4; stp_dither_matrix_generic* tmp_add_class_5; stp_dither_matrix_normal* tmp_add_class_6; stp_dither_matrix_short* tmp_add_class_7; stp_dotsize* tmp_add_class_8; stp_image* tmp_add_class_9; stp_module* tmp_add_class_10; stp_module_version* tmp_add_class_11; stp_mxml_attr_s* tmp_add_class_12; stp_mxml_node_s* tmp_add_class_13; stp_mxml_text_s* tmp_add_class_14; stp_mxml_value_s* tmp_add_class_15; stp_mxml_value_u* tmp_add_class_16; stp_shade* tmp_add_class_17; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/wEUsOaVFba/dump1.h" In file included from /tmp/wEUsOaVFba/dump1.h:16: /usr/include/gutenprint/channel.h:44:13: error: variable or field ‘stp_channel_reset’ declared void 44 | extern void stp_channel_reset(stp_vars_t *v); | ^~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:44:31: error: ‘stp_vars_t’ was not declared in this scope 44 | extern void stp_channel_reset(stp_vars_t *v); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:44:43: error: ‘v’ was not declared in this scope 44 | extern void stp_channel_reset(stp_vars_t *v); | ^ /usr/include/gutenprint/channel.h:45:13: error: variable or field ‘stp_channel_reset_channel’ declared void 45 | extern void stp_channel_reset_channel(stp_vars_t *v, int channel); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:45:39: error: ‘stp_vars_t’ was not declared in this scope 45 | extern void stp_channel_reset_channel(stp_vars_t *v, int channel); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:45:51: error: ‘v’ was not declared in this scope 45 | extern void stp_channel_reset_channel(stp_vars_t *v, int channel); | ^ /usr/include/gutenprint/channel.h:45:54: error: expected primary-expression before ‘int’ 45 | extern void stp_channel_reset_channel(stp_vars_t *v, int channel); | ^~~ /usr/include/gutenprint/channel.h:47:13: error: variable or field ‘stp_channel_add’ declared void 47 | extern void stp_channel_add(stp_vars_t *v, unsigned channel, | ^~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:47:29: error: ‘stp_vars_t’ was not declared in this scope 47 | extern void stp_channel_add(stp_vars_t *v, unsigned channel, | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:47:41: error: ‘v’ was not declared in this scope 47 | extern void stp_channel_add(stp_vars_t *v, unsigned channel, | ^ /usr/include/gutenprint/channel.h:47:44: error: expected primary-expression before ‘unsigned’ 47 | extern void stp_channel_add(stp_vars_t *v, unsigned channel, | ^~~~~~~~ /usr/include/gutenprint/channel.h:48:29: error: expected primary-expression before ‘unsigned’ 48 | unsigned subchannel, double value); | ^~~~~~~~ /usr/include/gutenprint/channel.h:48:50: error: expected primary-expression before ‘double’ 48 | unsigned subchannel, double value); | ^~~~~~ /usr/include/gutenprint/channel.h:49:37: error: ‘stp_vars_t’ was not declared in this scope 49 | extern double stp_channel_get_value(stp_vars_t *v, unsigned channel, | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:49:49: error: ‘v’ was not declared in this scope 49 | extern double stp_channel_get_value(stp_vars_t *v, unsigned channel, | ^ /usr/include/gutenprint/channel.h:49:52: error: expected primary-expression before ‘unsigned’ 49 | extern double stp_channel_get_value(stp_vars_t *v, unsigned channel, | ^~~~~~~~ /usr/include/gutenprint/channel.h:50:37: error: expected primary-expression before ‘unsigned’ 50 | unsigned subchannel); | ^~~~~~~~ /usr/include/gutenprint/channel.h:52:13: error: variable or field ‘stp_channel_set_density_adjustment’ declared void 52 | extern void stp_channel_set_density_adjustment(stp_vars_t *v, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:52:48: error: ‘stp_vars_t’ was not declared in this scope 52 | extern void stp_channel_set_density_adjustment(stp_vars_t *v, | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:52:60: error: ‘v’ was not declared in this scope 52 | extern void stp_channel_set_density_adjustment(stp_vars_t *v, | ^ /usr/include/gutenprint/channel.h:53:48: error: expected primary-expression before ‘int’ 53 | int color, int subchannel, | ^~~ /usr/include/gutenprint/channel.h:53:59: error: expected primary-expression before ‘int’ 53 | int color, int subchannel, | ^~~ /usr/include/gutenprint/channel.h:54:48: error: expected primary-expression before ‘double’ 54 | double adjustment); | ^~~~~~ /usr/include/gutenprint/channel.h:55:50: error: ‘stp_vars_t’ was not declared in this scope 55 | extern double stp_channel_get_density_adjustment(stp_vars_t *v, | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:55:62: error: ‘v’ was not declared in this scope 55 | extern double stp_channel_get_density_adjustment(stp_vars_t *v, | ^ /usr/include/gutenprint/channel.h:56:50: error: expected primary-expression before ‘int’ 56 | int color, int subchannel); | ^~~ /usr/include/gutenprint/channel.h:56:61: error: expected primary-expression before ‘int’ 56 | int color, int subchannel); | ^~~ /usr/include/gutenprint/channel.h:57:13: error: variable or field ‘stp_channel_set_ink_limit’ declared void 57 | extern void stp_channel_set_ink_limit(stp_vars_t *v, double limit); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:57:39: error: ‘stp_vars_t’ was not declared in this scope 57 | extern void stp_channel_set_ink_limit(stp_vars_t *v, double limit); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:57:51: error: ‘v’ was not declared in this scope 57 | extern void stp_channel_set_ink_limit(stp_vars_t *v, double limit); | ^ /usr/include/gutenprint/channel.h:57:54: error: expected primary-expression before ‘double’ 57 | extern void stp_channel_set_ink_limit(stp_vars_t *v, double limit); | ^~~~~~ /usr/include/gutenprint/channel.h:58:41: error: ‘stp_vars_t’ was not declared in this scope 58 | extern double stp_channel_get_ink_limit(stp_vars_t *v); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:58:53: error: ‘v’ was not declared in this scope 58 | extern double stp_channel_get_ink_limit(stp_vars_t *v); | ^ /usr/include/gutenprint/channel.h:59:13: error: variable or field ‘stp_channel_set_cutoff_adjustment’ declared void 59 | extern void stp_channel_set_cutoff_adjustment(stp_vars_t *v, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:59:47: error: ‘stp_vars_t’ was not declared in this scope 59 | extern void stp_channel_set_cutoff_adjustment(stp_vars_t *v, | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:59:59: error: ‘v’ was not declared in this scope 59 | extern void stp_channel_set_cutoff_adjustment(stp_vars_t *v, | ^ /usr/include/gutenprint/channel.h:60:47: error: expected primary-expression before ‘int’ 60 | int color, int subchannel, | ^~~ /usr/include/gutenprint/channel.h:60:58: error: expected primary-expression before ‘int’ 60 | int color, int subchannel, | ^~~ /usr/include/gutenprint/channel.h:61:47: error: expected primary-expression before ‘double’ 61 | double adjustment); | ^~~~~~ /usr/include/gutenprint/channel.h:62:49: error: ‘stp_vars_t’ was not declared in this scope 62 | extern double stp_channel_get_cutoff_adjustment(stp_vars_t *v, | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:62:61: error: ‘v’ was not declared in this scope 62 | extern double stp_channel_get_cutoff_adjustment(stp_vars_t *v, | ^ /usr/include/gutenprint/channel.h:63:49: error: expected primary-expression before ‘int’ 63 | int color, int subchannel); | ^~~ /usr/include/gutenprint/channel.h:63:60: error: expected primary-expression before ‘int’ 63 | int color, int subchannel); | ^~~ /usr/include/gutenprint/channel.h:64:13: error: variable or field ‘stp_channel_set_black_channel’ declared void 64 | extern void stp_channel_set_black_channel(stp_vars_t *v, int channel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:64:43: error: ‘stp_vars_t’ was not declared in this scope 64 | extern void stp_channel_set_black_channel(stp_vars_t *v, int channel); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:64:55: error: ‘v’ was not declared in this scope 64 | extern void stp_channel_set_black_channel(stp_vars_t *v, int channel); | ^ /usr/include/gutenprint/channel.h:64:58: error: expected primary-expression before ‘int’ 64 | extern void stp_channel_set_black_channel(stp_vars_t *v, int channel); | ^~~ /usr/include/gutenprint/channel.h:65:42: error: ‘stp_vars_t’ was not declared in this scope 65 | extern int stp_channel_get_black_channel(stp_vars_t *v); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:65:54: error: ‘v’ was not declared in this scope 65 | extern int stp_channel_get_black_channel(stp_vars_t *v); | ^ /usr/include/gutenprint/channel.h:66:13: error: variable or field ‘stp_channel_set_gloss_channel’ declared void 66 | extern void stp_channel_set_gloss_channel(stp_vars_t *v, int channel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:66:43: error: ‘stp_vars_t’ was not declared in this scope 66 | extern void stp_channel_set_gloss_channel(stp_vars_t *v, int channel); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:66:55: error: ‘v’ was not declared in this scope 66 | extern void stp_channel_set_gloss_channel(stp_vars_t *v, int channel); | ^ /usr/include/gutenprint/channel.h:66:58: error: expected primary-expression before ‘int’ 66 | extern void stp_channel_set_gloss_channel(stp_vars_t *v, int channel); | ^~~ /usr/include/gutenprint/channel.h:67:42: error: ‘stp_vars_t’ was not declared in this scope 67 | extern int stp_channel_get_gloss_channel(stp_vars_t *v); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:67:54: error: ‘v’ was not declared in this scope 67 | extern int stp_channel_get_gloss_channel(stp_vars_t *v); | ^ /usr/include/gutenprint/channel.h:68:13: error: variable or field ‘stp_channel_set_gloss_limit’ declared void 68 | extern void stp_channel_set_gloss_limit(stp_vars_t *v, double limit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:68:41: error: ‘stp_vars_t’ was not declared in this scope 68 | extern void stp_channel_set_gloss_limit(stp_vars_t *v, double limit); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:68:53: error: ‘v’ was not declared in this scope 68 | extern void stp_channel_set_gloss_limit(stp_vars_t *v, double limit); | ^ /usr/include/gutenprint/channel.h:68:56: error: expected primary-expression before ‘double’ 68 | extern void stp_channel_set_gloss_limit(stp_vars_t *v, double limit); | ^~~~~~ /usr/include/gutenprint/channel.h:69:43: error: ‘stp_vars_t’ was not declared in this scope 69 | extern double stp_channel_get_gloss_limit(stp_vars_t *v); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:69:55: error: ‘v’ was not declared in this scope 69 | extern double stp_channel_get_gloss_limit(stp_vars_t *v); | ^ /usr/include/gutenprint/channel.h:70:13: error: variable or field ‘stp_channel_set_curve’ declared void 70 | extern void stp_channel_set_curve(stp_vars_t *v, int channel, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:70:35: error: ‘stp_vars_t’ was not declared in this scope 70 | extern void stp_channel_set_curve(stp_vars_t *v, int channel, | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:70:47: error: ‘v’ was not declared in this scope 70 | extern void stp_channel_set_curve(stp_vars_t *v, int channel, | ^ /usr/include/gutenprint/channel.h:70:50: error: expected primary-expression before ‘int’ 70 | extern void stp_channel_set_curve(stp_vars_t *v, int channel, | ^~~ /usr/include/gutenprint/channel.h:71:35: error: expected primary-expression before ‘const’ 71 | const stp_curve_t *curve); | ^~~~~ /usr/include/gutenprint/channel.h:72:14: error: ‘stp_curve_t’ does not name a type 72 | extern const stp_curve_t *stp_channel_get_curve(stp_vars_t *v, int channel); | ^~~~~~~~~~~ /usr/include/gutenprint/channel.h:73:13: error: variable or field ‘stp_channel_set_gcr_curve’ declared void 73 | extern void stp_channel_set_gcr_curve(stp_vars_t *v, const stp_curve_t *curve); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:73:39: error: ‘stp_vars_t’ was not declared in this scope 73 | extern void stp_channel_set_gcr_curve(stp_vars_t *v, const stp_curve_t *curve); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:73:51: error: ‘v’ was not declared in this scope 73 | extern void stp_channel_set_gcr_curve(stp_vars_t *v, const stp_curve_t *curve); | ^ /usr/include/gutenprint/channel.h:73:54: error: expected primary-expression before ‘const’ 73 | extern void stp_channel_set_gcr_curve(stp_vars_t *v, const stp_curve_t *curve); | ^~~~~ /usr/include/gutenprint/channel.h:74:14: error: ‘stp_curve_t’ does not name a type 74 | extern const stp_curve_t *stp_channel_get_gcr_curve(stp_vars_t *v); | ^~~~~~~~~~~ /usr/include/gutenprint/channel.h:76:13: error: variable or field ‘stp_channel_initialize’ declared void 76 | extern void stp_channel_initialize(stp_vars_t *v, stp_image_t *image, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/channel.h:76:36: error: ‘stp_vars_t’ was not declared in this scope 76 | extern void stp_channel_initialize(stp_vars_t *v, stp_image_t *image, | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:76:48: error: ‘v’ was not declared in this scope 76 | extern void stp_channel_initialize(stp_vars_t *v, stp_image_t *image, | ^ /usr/include/gutenprint/channel.h:76:51: error: ‘stp_image_t’ was not declared in this scope 76 | extern void stp_channel_initialize(stp_vars_t *v, stp_image_t *image, | ^~~~~~~~~~~ /usr/include/gutenprint/channel.h:76:64: error: ‘image’ was not declared in this scope 76 | extern void stp_channel_initialize(stp_vars_t *v, stp_image_t *image, | ^~~~~ /usr/include/gutenprint/channel.h:77:36: error: expected primary-expression before ‘int’ 77 | int input_channel_count); | ^~~ /usr/include/gutenprint/channel.h:79:39: error: ‘stp_vars_t’ does not name a type 79 | extern void stp_channel_convert(const stp_vars_t *v, unsigned *zero_mask); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:81:53: error: ‘stp_vars_t’ does not name a type 81 | extern unsigned short * stp_channel_get_input(const stp_vars_t *v); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:83:54: error: ‘stp_vars_t’ does not name a type 83 | extern unsigned short * stp_channel_get_output(const stp_vars_t *v); | ^~~~~~~~~~ /usr/include/gutenprint/channel.h:84:58: error: ‘stp_vars_t’ does not name a type 84 | extern unsigned char * stp_channel_get_output_8bit(const stp_vars_t *v); | ^~~~~~~~~~ In file included from /tmp/wEUsOaVFba/dump1.h:17: /usr/include/gutenprint/color.h:46:15: error: ‘stp_vars_t’ has not been declared 46 | int (*init)(stp_vars_t *v, stp_image_t *image, size_t steps); | ^~~~~~~~~~ /usr/include/gutenprint/color.h:46:30: error: ‘stp_image_t’ has not been declared 46 | int (*init)(stp_vars_t *v, stp_image_t *image, size_t steps); | ^~~~~~~~~~~ /usr/include/gutenprint/color.h:47:18: error: ‘stp_vars_t’ has not been declared 47 | int (*get_row)(stp_vars_t *v, stp_image_t *image, | ^~~~~~~~~~ /usr/include/gutenprint/color.h:47:33: error: ‘stp_image_t’ has not been declared 47 | int (*get_row)(stp_vars_t *v, stp_image_t *image, | ^~~~~~~~~~~ /usr/include/gutenprint/color.h:49:25: error: expected identifier before ‘*’ token 49 | stp_parameter_list_t (*list_parameters)(const stp_vars_t *v); | ^ /usr/include/gutenprint/color.h:49:49: error: ‘stp_vars_t’ does not name a type 49 | stp_parameter_list_t (*list_parameters)(const stp_vars_t *v); | ^~~~~~~~~~ /usr/include/gutenprint/color.h:49:62: error: ‘stp_parameter_list_t’ declared as function returning a function 49 | stp_parameter_list_t (*list_parameters)(const stp_vars_t *v); | ^ /usr/include/gutenprint/color.h:50:36: error: ‘stp_vars_t’ does not name a type 50 | void (*describe_parameter)(const stp_vars_t *v, const char *name, | ^~~~~~~~~~ /usr/include/gutenprint/color.h:51:30: error: ‘stp_parameter_t’ has not been declared 51 | stp_parameter_t *description); | ^~~~~~~~~~~~~~~ /usr/include/gutenprint/color.h:66:27: error: ‘stp_vars_t’ was not declared in this scope 66 | extern int stp_color_init(stp_vars_t *v, stp_image_t *image, size_t steps); | ^~~~~~~~~~ /usr/include/gutenprint/color.h:66:39: error: ‘v’ was not declared in this scope 66 | extern int stp_color_init(stp_vars_t *v, stp_image_t *image, size_t steps); | ^ /usr/include/gutenprint/color.h:66:42: error: ‘stp_image_t’ was not declared in this scope 66 | extern int stp_color_init(stp_vars_t *v, stp_image_t *image, size_t steps); | ^~~~~~~~~~~ /usr/include/gutenprint/color.h:66:55: error: ‘image’ was not declared in this scope 66 | extern int stp_color_init(stp_vars_t *v, stp_image_t *image, size_t steps); | ^~~~~ /usr/include/gutenprint/color.h:66:69: error: expected primary-expression before ‘steps’ 66 | extern int stp_color_init(stp_vars_t *v, stp_image_t *image, size_t steps); | ^~~~~ /usr/include/gutenprint/color.h:72:30: error: ‘stp_vars_t’ was not declared in this scope 72 | extern int stp_color_get_row(stp_vars_t *v, stp_image_t *image, | ^~~~~~~~~~ /usr/include/gutenprint/color.h:72:42: error: ‘v’ was not declared in this scope 72 | extern int stp_color_get_row(stp_vars_t *v, stp_image_t *image, | ^ /usr/include/gutenprint/color.h:72:45: error: ‘stp_image_t’ was not declared in this scope 72 | extern int stp_color_get_row(stp_vars_t *v, stp_image_t *image, | ^~~~~~~~~~~ /usr/include/gutenprint/color.h:72:58: error: ‘image’ was not declared in this scope 72 | extern int stp_color_get_row(stp_vars_t *v, stp_image_t *image, | ^~~~~ /usr/include/gutenprint/color.h:73:30: error: expected primary-expression before ‘int’ 73 | int row, unsigned *zero_mask); | ^~~ /usr/include/gutenprint/color.h:73:39: error: expected primary-expression before ‘unsigned’ 73 | int row, unsigned *zero_mask); | ^~~~~~~~ /usr/include/gutenprint/color.h:75:8: error: ‘stp_parameter_list_t’ does not name a type 75 | extern stp_parameter_list_t stp_color_list_parameters(const stp_vars_t *v); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/color.h:77:48: error: ‘stp_vars_t’ does not name a type 77 | extern void stp_color_describe_parameter(const stp_vars_t *v, const char *name, | ^~~~~~~~~~ /usr/include/gutenprint/color.h:78:42: error: ‘stp_parameter_t’ has not been declared 78 | stp_parameter_t *description); | ^~~~~~~~~~~~~~~ In file included from /tmp/wEUsOaVFba/dump1.h:20: /usr/include/gutenprint/dither.h:141:8: error: ‘stp_parameter_list_t’ does not name a type 141 | extern stp_parameter_list_t stp_dither_list_parameters(const stp_vars_t *v); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:144:37: error: ‘stp_vars_t’ does not name a type 144 | stp_dither_describe_parameter(const stp_vars_t *v, const char *name, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:145:31: error: ‘stp_parameter_t’ has not been declared 145 | stp_parameter_t *description); | ^~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:147:13: error: variable or field ‘stp_dither_init’ declared void 147 | extern void stp_dither_init(stp_vars_t *v, stp_image_t *image, | ^~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:147:29: error: ‘stp_vars_t’ was not declared in this scope 147 | extern void stp_dither_init(stp_vars_t *v, stp_image_t *image, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:147:41: error: ‘v’ was not declared in this scope 147 | extern void stp_dither_init(stp_vars_t *v, stp_image_t *image, | ^ /usr/include/gutenprint/dither.h:147:44: error: ‘stp_image_t’ was not declared in this scope; did you mean ‘stp_shade_t’? 147 | extern void stp_dither_init(stp_vars_t *v, stp_image_t *image, | ^~~~~~~~~~~ | stp_shade_t /usr/include/gutenprint/dither.h:147:57: error: ‘image’ was not declared in this scope 147 | extern void stp_dither_init(stp_vars_t *v, stp_image_t *image, | ^~~~~ /usr/include/gutenprint/dither.h:148:29: error: expected primary-expression before ‘int’ 148 | int out_width, int xdpi, int ydpi); | ^~~ /usr/include/gutenprint/dither.h:148:44: error: expected primary-expression before ‘int’ 148 | int out_width, int xdpi, int ydpi); | ^~~ /usr/include/gutenprint/dither.h:148:54: error: expected primary-expression before ‘int’ 148 | int out_width, int xdpi, int ydpi); | ^~~ /usr/include/gutenprint/dither.h:149:13: error: variable or field ‘stp_dither_set_iterated_matrix’ declared void 149 | extern void stp_dither_set_iterated_matrix(stp_vars_t *v, size_t edge, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:149:44: error: ‘stp_vars_t’ was not declared in this scope 149 | extern void stp_dither_set_iterated_matrix(stp_vars_t *v, size_t edge, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:149:56: error: ‘v’ was not declared in this scope 149 | extern void stp_dither_set_iterated_matrix(stp_vars_t *v, size_t edge, | ^ /usr/include/gutenprint/dither.h:149:66: error: expected primary-expression before ‘edge’ 149 | extern void stp_dither_set_iterated_matrix(stp_vars_t *v, size_t edge, | ^~~~ /usr/include/gutenprint/dither.h:150:51: error: expected primary-expression before ‘iterations’ 150 | size_t iterations, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:151:44: error: expected primary-expression before ‘const’ 151 | const unsigned *data, | ^~~~~ /usr/include/gutenprint/dither.h:152:44: error: expected primary-expression before ‘int’ 152 | int prescaled, | ^~~ /usr/include/gutenprint/dither.h:153:44: error: expected primary-expression before ‘int’ 153 | int x_shear, int y_shear); | ^~~ /usr/include/gutenprint/dither.h:153:57: error: expected primary-expression before ‘int’ 153 | int x_shear, int y_shear); | ^~~ /usr/include/gutenprint/dither.h:154:13: error: variable or field ‘stp_dither_set_matrix’ declared void 154 | extern void stp_dither_set_matrix(stp_vars_t *v, const stp_dither_matrix_generic_t *mat, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:154:35: error: ‘stp_vars_t’ was not declared in this scope 154 | extern void stp_dither_set_matrix(stp_vars_t *v, const stp_dither_matrix_generic_t *mat, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:154:47: error: ‘v’ was not declared in this scope 154 | extern void stp_dither_set_matrix(stp_vars_t *v, const stp_dither_matrix_generic_t *mat, | ^ /usr/include/gutenprint/dither.h:154:50: error: expected primary-expression before ‘const’ 154 | extern void stp_dither_set_matrix(stp_vars_t *v, const stp_dither_matrix_generic_t *mat, | ^~~~~ /usr/include/gutenprint/dither.h:155:35: error: expected primary-expression before ‘int’ 155 | int transpose, int x_shear, int y_shear); | ^~~ /usr/include/gutenprint/dither.h:155:50: error: expected primary-expression before ‘int’ 155 | int transpose, int x_shear, int y_shear); | ^~~ /usr/include/gutenprint/dither.h:155:63: error: expected primary-expression before ‘int’ 155 | int transpose, int x_shear, int y_shear); | ^~~ /usr/include/gutenprint/dither.h:156:13: error: variable or field ‘stp_dither_set_matrix_from_dither_array’ declared void 156 | extern void stp_dither_set_matrix_from_dither_array(stp_vars_t *v, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:156:53: error: ‘stp_vars_t’ was not declared in this scope 156 | extern void stp_dither_set_matrix_from_dither_array(stp_vars_t *v, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:156:65: error: ‘v’ was not declared in this scope 156 | extern void stp_dither_set_matrix_from_dither_array(stp_vars_t *v, | ^ /usr/include/gutenprint/dither.h:157:53: error: expected primary-expression before ‘const’ 157 | const stp_array_t *array, | ^~~~~ /usr/include/gutenprint/dither.h:158:53: error: expected primary-expression before ‘int’ 158 | int transpose); | ^~~ /usr/include/gutenprint/dither.h:159:13: error: variable or field ‘stp_dither_set_transition’ declared void 159 | extern void stp_dither_set_transition(stp_vars_t *v, double); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:159:39: error: ‘stp_vars_t’ was not declared in this scope 159 | extern void stp_dither_set_transition(stp_vars_t *v, double); | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:159:51: error: ‘v’ was not declared in this scope 159 | extern void stp_dither_set_transition(stp_vars_t *v, double); | ^ /usr/include/gutenprint/dither.h:159:54: error: expected primary-expression before ‘double’ 159 | extern void stp_dither_set_transition(stp_vars_t *v, double); | ^~~~~~ /usr/include/gutenprint/dither.h:160:13: error: variable or field ‘stp_dither_set_randomizer’ declared void 160 | extern void stp_dither_set_randomizer(stp_vars_t *v, int color, double); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:160:39: error: ‘stp_vars_t’ was not declared in this scope 160 | extern void stp_dither_set_randomizer(stp_vars_t *v, int color, double); | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:160:51: error: ‘v’ was not declared in this scope 160 | extern void stp_dither_set_randomizer(stp_vars_t *v, int color, double); | ^ /usr/include/gutenprint/dither.h:160:54: error: expected primary-expression before ‘int’ 160 | extern void stp_dither_set_randomizer(stp_vars_t *v, int color, double); | ^~~ /usr/include/gutenprint/dither.h:160:65: error: expected primary-expression before ‘double’ 160 | extern void stp_dither_set_randomizer(stp_vars_t *v, int color, double); | ^~~~~~ /usr/include/gutenprint/dither.h:161:13: error: variable or field ‘stp_dither_set_ink_spread’ declared void 161 | extern void stp_dither_set_ink_spread(stp_vars_t *v, int spread); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:161:39: error: ‘stp_vars_t’ was not declared in this scope 161 | extern void stp_dither_set_ink_spread(stp_vars_t *v, int spread); | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:161:51: error: ‘v’ was not declared in this scope 161 | extern void stp_dither_set_ink_spread(stp_vars_t *v, int spread); | ^ /usr/include/gutenprint/dither.h:161:54: error: expected primary-expression before ‘int’ 161 | extern void stp_dither_set_ink_spread(stp_vars_t *v, int spread); | ^~~ /usr/include/gutenprint/dither.h:162:13: error: variable or field ‘stp_dither_set_adaptive_limit’ declared void 162 | extern void stp_dither_set_adaptive_limit(stp_vars_t *v, double limit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:162:43: error: ‘stp_vars_t’ was not declared in this scope 162 | extern void stp_dither_set_adaptive_limit(stp_vars_t *v, double limit); | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:162:55: error: ‘v’ was not declared in this scope 162 | extern void stp_dither_set_adaptive_limit(stp_vars_t *v, double limit); | ^ /usr/include/gutenprint/dither.h:162:58: error: expected primary-expression before ‘double’ 162 | extern void stp_dither_set_adaptive_limit(stp_vars_t *v, double limit); | ^~~~~~ /usr/include/gutenprint/dither.h:163:42: error: ‘stp_vars_t’ was not declared in this scope 163 | extern int stp_dither_get_first_position(stp_vars_t *v, int color, int subchan); | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:163:54: error: ‘v’ was not declared in this scope 163 | extern int stp_dither_get_first_position(stp_vars_t *v, int color, int subchan); | ^ /usr/include/gutenprint/dither.h:163:57: error: expected primary-expression before ‘int’ 163 | extern int stp_dither_get_first_position(stp_vars_t *v, int color, int subchan); | ^~~ /usr/include/gutenprint/dither.h:163:68: error: expected primary-expression before ‘int’ 163 | extern int stp_dither_get_first_position(stp_vars_t *v, int color, int subchan); | ^~~ /usr/include/gutenprint/dither.h:164:41: error: ‘stp_vars_t’ was not declared in this scope 164 | extern int stp_dither_get_last_position(stp_vars_t *v, int color, int subchan); | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:164:53: error: ‘v’ was not declared in this scope 164 | extern int stp_dither_get_last_position(stp_vars_t *v, int color, int subchan); | ^ /usr/include/gutenprint/dither.h:164:56: error: expected primary-expression before ‘int’ 164 | extern int stp_dither_get_last_position(stp_vars_t *v, int color, int subchan); | ^~~ /usr/include/gutenprint/dither.h:164:67: error: expected primary-expression before ‘int’ 164 | extern int stp_dither_get_last_position(stp_vars_t *v, int color, int subchan); | ^~~ /usr/include/gutenprint/dither.h:165:13: error: variable or field ‘stp_dither_set_inks_simple’ declared void 165 | extern void stp_dither_set_inks_simple(stp_vars_t *v, int color, int nlevels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:165:40: error: ‘stp_vars_t’ was not declared in this scope 165 | extern void stp_dither_set_inks_simple(stp_vars_t *v, int color, int nlevels, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:165:52: error: ‘v’ was not declared in this scope 165 | extern void stp_dither_set_inks_simple(stp_vars_t *v, int color, int nlevels, | ^ /usr/include/gutenprint/dither.h:165:55: error: expected primary-expression before ‘int’ 165 | extern void stp_dither_set_inks_simple(stp_vars_t *v, int color, int nlevels, | ^~~ /usr/include/gutenprint/dither.h:165:66: error: expected primary-expression before ‘int’ 165 | extern void stp_dither_set_inks_simple(stp_vars_t *v, int color, int nlevels, | ^~~ /usr/include/gutenprint/dither.h:166:40: error: expected primary-expression before ‘const’ 166 | const double *levels, double density, | ^~~~~ /usr/include/gutenprint/dither.h:166:62: error: expected primary-expression before ‘double’ 166 | const double *levels, double density, | ^~~~~~ /usr/include/gutenprint/dither.h:167:40: error: expected primary-expression before ‘double’ 167 | double darkness); | ^~~~~~ /usr/include/gutenprint/dither.h:168:13: error: variable or field ‘stp_dither_set_inks_full’ declared void 168 | extern void stp_dither_set_inks_full(stp_vars_t *v, int color, int nshades, | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:168:38: error: ‘stp_vars_t’ was not declared in this scope 168 | extern void stp_dither_set_inks_full(stp_vars_t *v, int color, int nshades, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:168:50: error: ‘v’ was not declared in this scope 168 | extern void stp_dither_set_inks_full(stp_vars_t *v, int color, int nshades, | ^ /usr/include/gutenprint/dither.h:168:53: error: expected primary-expression before ‘int’ 168 | extern void stp_dither_set_inks_full(stp_vars_t *v, int color, int nshades, | ^~~ /usr/include/gutenprint/dither.h:168:64: error: expected primary-expression before ‘int’ 168 | extern void stp_dither_set_inks_full(stp_vars_t *v, int color, int nshades, | ^~~ /usr/include/gutenprint/dither.h:169:38: error: expected primary-expression before ‘const’ 169 | const stp_shade_t *shades, | ^~~~~ /usr/include/gutenprint/dither.h:170:38: error: expected primary-expression before ‘double’ 170 | double density, double darkness); | ^~~~~~ /usr/include/gutenprint/dither.h:170:54: error: expected primary-expression before ‘double’ 170 | double density, double darkness); | ^~~~~~ /usr/include/gutenprint/dither.h:171:13: error: variable or field ‘stp_dither_set_inks’ declared void 171 | extern void stp_dither_set_inks(stp_vars_t *v, int color, | ^~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:171:33: error: ‘stp_vars_t’ was not declared in this scope 171 | extern void stp_dither_set_inks(stp_vars_t *v, int color, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:171:45: error: ‘v’ was not declared in this scope 171 | extern void stp_dither_set_inks(stp_vars_t *v, int color, | ^ /usr/include/gutenprint/dither.h:171:48: error: expected primary-expression before ‘int’ 171 | extern void stp_dither_set_inks(stp_vars_t *v, int color, | ^~~ /usr/include/gutenprint/dither.h:172:33: error: expected primary-expression before ‘double’ 172 | double density, double darkness, | ^~~~~~ /usr/include/gutenprint/dither.h:172:49: error: expected primary-expression before ‘double’ 172 | double density, double darkness, | ^~~~~~ /usr/include/gutenprint/dither.h:173:33: error: expected primary-expression before ‘int’ 173 | int nshades, const double *svalues, | ^~~ /usr/include/gutenprint/dither.h:173:46: error: expected primary-expression before ‘const’ 173 | int nshades, const double *svalues, | ^~~~~ /usr/include/gutenprint/dither.h:174:33: error: expected primary-expression before ‘int’ 174 | int ndotsizes, const double *dvalues); | ^~~ /usr/include/gutenprint/dither.h:174:48: error: expected primary-expression before ‘const’ 174 | int ndotsizes, const double *dvalues); | ^~~~~ /usr/include/gutenprint/dither.h:177:13: error: variable or field ‘stp_dither_add_channel’ declared void 177 | extern void stp_dither_add_channel(stp_vars_t *v, unsigned char *data, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:177:36: error: ‘stp_vars_t’ was not declared in this scope 177 | extern void stp_dither_add_channel(stp_vars_t *v, unsigned char *data, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:177:48: error: ‘v’ was not declared in this scope 177 | extern void stp_dither_add_channel(stp_vars_t *v, unsigned char *data, | ^ /usr/include/gutenprint/dither.h:177:51: error: expected primary-expression before ‘unsigned’ 177 | extern void stp_dither_add_channel(stp_vars_t *v, unsigned char *data, | ^~~~~~~~ /usr/include/gutenprint/dither.h:178:36: error: expected primary-expression before ‘unsigned’ 178 | unsigned channel, unsigned subchannel); | ^~~~~~~~ /usr/include/gutenprint/dither.h:178:54: error: expected primary-expression before ‘unsigned’ 178 | unsigned channel, unsigned subchannel); | ^~~~~~~~ /usr/include/gutenprint/dither.h:180:46: error: ‘stp_vars_t’ was not declared in this scope 180 | extern unsigned char *stp_dither_get_channel(stp_vars_t *v, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:180:58: error: ‘v’ was not declared in this scope 180 | extern unsigned char *stp_dither_get_channel(stp_vars_t *v, | ^ /usr/include/gutenprint/dither.h:181:46: error: expected primary-expression before ‘unsigned’ 181 | unsigned channel, | ^~~~~~~~ /usr/include/gutenprint/dither.h:182:46: error: expected primary-expression before ‘unsigned’ 182 | unsigned subchannel); | ^~~~~~~~ /usr/include/gutenprint/dither.h:184:13: error: variable or field ‘stp_dither’ declared void 184 | extern void stp_dither(stp_vars_t *v, int row, int duplicate_line, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:184:24: error: ‘stp_vars_t’ was not declared in this scope 184 | extern void stp_dither(stp_vars_t *v, int row, int duplicate_line, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:184:36: error: ‘v’ was not declared in this scope 184 | extern void stp_dither(stp_vars_t *v, int row, int duplicate_line, | ^ /usr/include/gutenprint/dither.h:184:39: error: expected primary-expression before ‘int’ 184 | extern void stp_dither(stp_vars_t *v, int row, int duplicate_line, | ^~~ /usr/include/gutenprint/dither.h:184:48: error: expected primary-expression before ‘int’ 184 | extern void stp_dither(stp_vars_t *v, int row, int duplicate_line, | ^~~ /usr/include/gutenprint/dither.h:185:24: error: expected primary-expression before ‘int’ 185 | int zero_mask, const unsigned char *mask); | ^~~ /usr/include/gutenprint/dither.h:185:39: error: expected primary-expression before ‘const’ 185 | int zero_mask, const unsigned char *mask); | ^~~~~ /usr/include/gutenprint/dither.h:188:13: error: variable or field ‘stp_dither_internal’ declared void 188 | extern void stp_dither_internal(stp_vars_t *v, int row, | ^~~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/dither.h:188:33: error: ‘stp_vars_t’ was not declared in this scope 188 | extern void stp_dither_internal(stp_vars_t *v, int row, | ^~~~~~~~~~ /usr/include/gutenprint/dither.h:188:45: error: ‘v’ was not declared in this scope 188 | extern void stp_dither_internal(stp_vars_t *v, int row, | ^ /usr/include/gutenprint/dither.h:188:48: error: expected primary-expression before ‘int’ 188 | extern void stp_dither_internal(stp_vars_t *v, int row, | ^~~ /usr/include/gutenprint/dither.h:189:33: error: expected primary-expression before ‘const’ 189 | const unsigned short *input, | ^~~~~ /usr/include/gutenprint/dither.h:190:33: error: expected primary-expression before ‘int’ 190 | int duplicate_line, int zero_mask, | ^~~ /usr/include/gutenprint/dither.h:190:53: error: expected primary-expression before ‘int’ 190 | int duplicate_line, int zero_mask, | ^~~ /usr/include/gutenprint/dither.h:191:33: error: expected primary-expression before ‘const’ 191 | const unsigned char *mask); | ^~~~~ In file included from /usr/include/gutenprint/gutenprint-module.h:53, from /tmp/wEUsOaVFba/dump1.h:21: /usr/include/gutenprint/module.h:83:27: error: expected identifier before ‘;’ token 83 | stp_module_class_t class; /* type of module */ | ^ /usr/include/gutenprint/module.h:83:3: error: multiple types in one declaration 83 | stp_module_class_t class; /* type of module */ | ^~~~~~~~~~~~~~~~~~ /usr/include/gutenprint/module.h:102:60: error: expected primary-expression before ‘class’ 102 | extern stp_list_t *stp_module_get_class(stp_module_class_t class); | ^~~~~