Task #131143 - ghostscript-10.06.0-2.fc44/scan-results.err

back to task #131143
download
Error: SHELLCHECK_WARNING (CWE-477):
/usr/bin/dvipdf:26:15: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#   24|   done
#   25|   
#   26|-> if [ $# -lt 1 -o $# -gt 2 ]; then
#   27|   	echo "Usage: `basename \"$0\"` [options...] input.dvi [output.pdf]" 1>&2
#   28|   	exit 1

Error: SHELLCHECK_WARNING (CWE-477):
/usr/bin/ps2epsi:23:15: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#   21|   export outfile
#   22|   
#   23|-> if [ $# -lt 1 -o $# -gt 2 ]; then
#   24|   	echo "Usage: `basename \"$0\"` file.ps [file.epsi]" 1>&2
#   25|   	exit 1

Error: SHELLCHECK_WARNING (CWE-477):
/usr/bin/ps2pdfwr:23:15: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#   21|   done
#   22|   
#   23|-> if [ $# -lt 1 -o $# -gt 2 ]; then
#   24|   	echo "Usage: `basename \"$0\"` [options...] (input.[e]ps|-) [output.pdf|-]" 1>&2
#   25|   	exit 1

Error: COMPILER_WARNING (CWE-681):
ghostscript-10.06.0/base/fapi_ft.c: scope_hint: In function ‘gs_fapi_ft_get_scaled_font’
ghostscript-10.06.0/base/fapi_ft.c:1287:86: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘a_font->retrieve_tt_font’ differ in signedness
# 1287 |                     code = a_font->retrieve_tt_font(a_font, (void **)&own_font_data, &ms);
#      |                                                                                      ^~~
#      |                                                                                      |
#      |                                                                                      unsigned int *
ghostscript-10.06.0/base/fapi_ft.c:1287:86: note: expected ‘int *’ but argument is of type ‘unsigned int *’
# 1285|                   if (a_font->retrieve_tt_font != NULL) {
# 1286|                       unsigned int ms;
# 1287|->                     code = a_font->retrieve_tt_font(a_font, (void **)&own_font_data, &ms);
# 1288|                       if (code == 0) {
# 1289|                           data_owned = false;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gdevddrw.c:306:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
ghostscript-10.06.0/base/gdevddrw.c:577:1: enter_function: entry to ‘gx_default_fill_linear_color_triangle’
ghostscript-10.06.0/base/gdevddrw.c:594:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevddrw.c:595:16: call_function: calling ‘fill_linear_color_triangle’ from ‘gx_default_fill_linear_color_triangle’
#  304|           xg->den = 1;
#  305|           for (i = 0; i < num_components; i++) {
#  306|->             xg->c[i] = (lg->den == 0 ? rg->c[i] : lg->c[i]);
#  307|               xg->f[i] = 0; /* Compatible to set_x_gradient_nowedge. */
#  308|               xg->num[i] = 0;

Error: CPPCHECK_WARNING (CWE-909):
ghostscript-10.06.0/base/gdevdevn.c:938: error[uninitStructMember]: Uninitialized struct member: saved_equiv_colors.all_color_info_valid
#  936|           *pdevn_params = saved_devn_params;
#  937|           if (pequiv_colors != NULL)
#  938|->            *pequiv_colors = saved_equiv_colors;
#  939|           return code;
#  940|       }

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gdevdrop.c:157: warning[uninitvar]: Uninitialized variables: planes.depth, planes.shift, planes.index
#  155|           /* RJW: This code, like most of ghostscripts planar support,
#  156|            * will only work if every plane has the same depth. */
#  157|->         draster = bitmap_raster(width * planes[0].depth);
#  158|           code = gdev_mem_set_planar(pmdev, num_comp, planes);
#  159|           if (code < 0)

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gdevmem.c:959:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.06.0/base/gdevmem.c:948:6: enter_function: entry to ‘mem_dev_initialize_device_procs’
ghostscript-10.06.0/base/gdevmem.c:955:11: call_function: inlined call to ‘gdev_mem_functions_for_bits’ from ‘mem_dev_initialize_device_procs’
ghostscript-10.06.0/base/gdevmem.c:957:5: branch_false: ...to here
ghostscript-10.06.0/base/gdevmem.c:959:5: danger: dereference of NULL ‘<unknown>’
#  957|       mem_initialize_device_procs(dev);
#  958|   
#  959|->     set_dev_proc(dev, map_rgb_color, fns->map_rgb_color);
#  960|       set_dev_proc(dev, map_color_rgb, fns->map_color_rgb);
#  961|       set_dev_proc(dev, fill_rectangle, fns->fill_rectangle);

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gdevmem.c:976:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.06.0/base/gdevmem.c:969:6: enter_function: entry to ‘mem_word_dev_initialize_device_procs’
ghostscript-10.06.0/base/gdevmem.c:972:17: call_function: inlined call to ‘gdev_mem_word_functions_for_bits’ from ‘mem_word_dev_initialize_device_procs’
ghostscript-10.06.0/base/gdevmem.c:974:5: branch_false: ...to here
ghostscript-10.06.0/base/gdevmem.c:976:5: danger: dereference of NULL ‘<unknown>’
#  974|       mem_initialize_device_procs(dev);
#  975|   
#  976|->     set_dev_proc(dev, map_rgb_color, fns->map_rgb_color);
#  977|       set_dev_proc(dev, map_color_rgb, fns->map_color_rgb);
#  978|       set_dev_proc(dev, fill_rectangle, fns->fill_rectangle);

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gdevp14.c:7523: warning[uninitvar]: Uninitialized variable: comp_bits
# 7521|       memset(&(pdev->color_info.comp_bits), 0, GX_DEVICE_COLOR_MAX_COMPONENTS);
# 7522|       memset(&(pdev->color_info.comp_shift), 0, GX_DEVICE_COLOR_MAX_COMPONENTS);
# 7523|->     memcpy(&(pdev->color_info.comp_bits), comp_bits, new_num_comps);
# 7524|       memcpy(&(pdev->color_info.comp_shift), comp_shift, new_num_comps);
# 7525|       group_color->max_color = pdev->color_info.max_color = deep ? 65535 : 255;

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gdevp14.c:7524: warning[uninitvar]: Uninitialized variable: comp_shift
# 7522|       memset(&(pdev->color_info.comp_shift), 0, GX_DEVICE_COLOR_MAX_COMPONENTS);
# 7523|       memcpy(&(pdev->color_info.comp_bits), comp_bits, new_num_comps);
# 7524|->     memcpy(&(pdev->color_info.comp_shift), comp_shift, new_num_comps);
# 7525|       group_color->max_color = pdev->color_info.max_color = deep ? 65535 : 255;
# 7526|       group_color->max_gray = pdev->color_info.max_gray = deep ? 65535 : 255;

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gdevp14.c:8818: warning[uninitvar]: Uninitialized variable: comp_value
# 8816|           for (i = pgs->color_component_map.num_components - 1; i >= 0; i--)
# 8817|               comp_value[i] = all;
# 8818|->         map_components_to_colorants(comp_value, &(pgs->color_component_map), cm_comps);
# 8819|       }
# 8820|   

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gdevplnx.c:332: error[integerOverflow]: Signed integer overflow for expression '-(1<<3)'.
#  330|               pts->size.y = buffer_size / width_raster;
#  331|           } else {
#  332|->             pts->buffer.raster = buffer_size & -align_bitmap_mod;
#  333|               pts->size.x =
#  334|                   pts->buffer.raster * (8 / edev->plane_dev->color_info.depth);

Error: GCC_ANALYZER_WARNING (CWE-465):
ghostscript-10.06.0/base/gdevsclass.c:397:32: warning[-Wanalyzer-deref-before-check]: check of ‘dev’ for NULL after already dereferencing it
ghostscript-10.06.0/base/gdevsclass.c:378:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevsclass.c:379:16: branch_true: ...to here
ghostscript-10.06.0/base/gdevsclass.c:380:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gdevsclass.c:383:13: branch_false: ...to here
ghostscript-10.06.0/base/gdevsclass.c:383:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevsclass.c:384:20: branch_true: ...to here
ghostscript-10.06.0/base/gdevsclass.c:387:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevsclass.c:388:29: branch_true: ...to here
ghostscript-10.06.0/base/gdevsclass.c:397:32: danger: pointer ‘dev’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  395|                           psubclass_data->pre_composite_device = NULL;
#  396|                           psubclass_data->saved_finalize_method = NULL;
#  397|->                         while (dev) {
#  398|                               memcpy(&(dev->color_info), &(dev->child->color_info), sizeof(gx_device_color_info));
#  399|                               dev->num_planar_planes = dev->child->num_planar_planes;

Error: GCC_ANALYZER_WARNING (CWE-465):
ghostscript-10.06.0/base/gdevsclass.c:438:32: warning[-Wanalyzer-deref-before-check]: check of ‘dev’ for NULL after already dereferencing it
ghostscript-10.06.0/base/gdevsclass.c:378:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevsclass.c:379:16: branch_true: ...to here
ghostscript-10.06.0/base/gdevsclass.c:380:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gdevsclass.c:383:13: branch_false: ...to here
ghostscript-10.06.0/base/gdevsclass.c:383:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevsclass.c:384:20: branch_true: ...to here
ghostscript-10.06.0/base/gdevsclass.c:437:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevsclass.c:437:24: branch_true: ...to here
ghostscript-10.06.0/base/gdevsclass.c:438:32: danger: pointer ‘dev’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  436|                        */
#  437|                       if (psubclass_data->pre_composite_device != NULL) {
#  438|->                         while (dev) {
#  439|                               memcpy(&(dev->color_info), &(dev->child->color_info), sizeof(gx_device_color_info));
#  440|                               dev->num_planar_planes = dev->child->num_planar_planes;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gdevvec.c:121:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘line_start.x’
ghostscript-10.06.0/base/gdevvec.c:99:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gdevvec.c:101:5: branch_false: ...to here
ghostscript-10.06.0/base/gdevvec.c:107:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevvec.c:107:12: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:110:16: branch_true: following ‘true’ branch (when ‘pe_op == 2’)...
ghostscript-10.06.0/base/gdevvec.c:111:20: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:111:20: branch_true: following ‘true’ branch (when ‘incomplete_line == 0’)...
ghostscript-10.06.0/base/gdevvec.c:112:21: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:107:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevvec.c:107:12: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:110:16: branch_true: following ‘true’ branch (when ‘pe_op == 2’)...
ghostscript-10.06.0/base/gdevvec.c:111:20: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:120:20: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevvec.c:121:36: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:121:36: danger: use of uninitialized value ‘line_start.x’ here
#  119|                    */
#  120|                   if (vs[0].x == line_end.x) {
#  121|->                     if (vs[0].x == line_start.x &&
#  122|                           coord_between(line_start.y, line_end.y, vs[0].y)
#  123|                           ) {

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gdevvec.c:128:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘line_start.y’
ghostscript-10.06.0/base/gdevvec.c:99:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gdevvec.c:101:5: branch_false: ...to here
ghostscript-10.06.0/base/gdevvec.c:107:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevvec.c:107:12: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:110:16: branch_true: following ‘true’ branch (when ‘pe_op == 2’)...
ghostscript-10.06.0/base/gdevvec.c:111:20: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:111:20: branch_true: following ‘true’ branch (when ‘incomplete_line == 0’)...
ghostscript-10.06.0/base/gdevvec.c:112:21: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:107:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevvec.c:107:12: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:110:16: branch_true: following ‘true’ branch (when ‘pe_op == 2’)...
ghostscript-10.06.0/base/gdevvec.c:111:20: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:120:20: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gdevvec.c:127:28: branch_false: ...to here
ghostscript-10.06.0/base/gdevvec.c:127:27: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gdevvec.c:128:36: branch_true: ...to here
ghostscript-10.06.0/base/gdevvec.c:128:36: danger: use of uninitialized value ‘line_start.y’ here
#  126|                       }
#  127|                   } else if (vs[0].y == line_end.y) {
#  128|->                     if (vs[0].y == line_start.y &&
#  129|                           coord_between(line_start.x, line_end.x, vs[0].x)
#  130|                           ) {

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gen_ordered.c: scope_hint: In function ‘htsc_setpoint’
ghostscript-10.06.0/base/gen_ordered.c:915:9: warning[-Wunused-but-set-variable=]: variable ‘kk’ set but not used
#  915 |     int kk = 0;;
#      |         ^~
#  913|   htsc_setpoint(htsc_dig_grid_t *dig_grid, int x, int y, int value)
#  914|   {
#  915|->     int kk = 0;;
#  916|       if (x < 0 || x > dig_grid->width-1 || y < 0 || y > dig_grid->height-1) {
#  917|           kk++;  /* Here to catch issues during debug */

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/base/genconf.c:856:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(4097)’ where non-null expected
ghostscript-10.06.0/base/genconf.c:833:1: enter_function: entry to ‘read_dev’
ghostscript-10.06.0/base/genconf.c:846:12: call_function: calling ‘read_file’ from ‘read_dev’
ghostscript-10.06.0/base/genconf.c:846:12: return_function: returning to ‘read_dev’ from ‘read_file’
ghostscript-10.06.0/base/genconf.c:847:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/genconf.c:852:10: branch_false: ...to here
ghostscript-10.06.0/base/genconf.c:854:16: call_function: inlined call to ‘mmalloc’ from ‘read_dev’
ghostscript-10.06.0/base/genconf.c:856:5: danger: argument 1 (‘malloc(4097)’) from [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9) could be NULL where non-null expected
#  854|       category = mmalloc(MAX_TOKEN + 1, "read_dev(category)");
#  855|       file_index = item - pconf->file_contents.items;
#  856|->     strcpy(category, "obj");
#  857|       while ((len = read_token(token, MAX_TOKEN, &in)) > 0) {
#  858|           int ind = add_entry(pconf, category, token, file_index);

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/genconf.c:897:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘token’
ghostscript-10.06.0/base/genconf.c:833:1: enter_function: entry to ‘read_dev’
ghostscript-10.06.0/base/genconf.c:846:12: call_function: calling ‘read_file’ from ‘read_dev’
ghostscript-10.06.0/base/genconf.c:846:12: return_function: returning to ‘read_dev’ from ‘read_file’
ghostscript-10.06.0/base/genconf.c:847:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/genconf.c:852:10: branch_false: ...to here
ghostscript-10.06.0/base/genconf.c:853:13: call_function: inlined call to ‘mmalloc’ from ‘read_dev’
ghostscript-10.06.0/base/genconf.c:857:19: call_function: calling ‘read_token’ from ‘read_dev’
#  895|               continue;
#  896|           }
#  897|->         token[len++] = ch;
#  898|       }
#  899|       token[len] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/genconf.c:899:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘token’
ghostscript-10.06.0/base/genconf.c:833:1: enter_function: entry to ‘read_dev’
ghostscript-10.06.0/base/genconf.c:846:12: call_function: calling ‘read_file’ from ‘read_dev’
ghostscript-10.06.0/base/genconf.c:846:12: return_function: returning to ‘read_dev’ from ‘read_file’
ghostscript-10.06.0/base/genconf.c:847:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/genconf.c:852:10: branch_false: ...to here
ghostscript-10.06.0/base/genconf.c:853:13: call_function: inlined call to ‘mmalloc’ from ‘read_dev’
ghostscript-10.06.0/base/genconf.c:857:19: call_function: calling ‘read_token’ from ‘read_dev’
#  897|           token[len++] = ch;
#  898|       }
#  899|->     token[len] = 0;
#  900|       *pin = in;
#  901|       return (len >= max_len ? -1 /* token too long */ : len);

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/genconf.c: scope_hint: In function ‘main’
ghostscript-10.06.0/base/genconf.c:1139:5: warning[-Wstringop-truncation]: ‘strncpy’ output may be truncated copying 60 bytes from a string of length 80
# 1139 |     strncpy(pat.pattern, pstr, MAX_PATTERN);
#      |     ^
# 1137|       pat.upper_case = false;
# 1138|       pat.drop_extn = false;
# 1139|->     strncpy(pat.pattern, pstr, MAX_PATTERN);
# 1140|       write_list_pattern(out, list, &pat);
# 1141|   }

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/base/genconf.c:1159:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)(len + 1))’ where non-null expected
ghostscript-10.06.0/base/genconf.c:1143:1: enter_function: entry to ‘write_list_pattern’
ghostscript-10.06.0/base/genconf.c:1151:17: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/genconf.c:1152:28: branch_true: ...to here
ghostscript-10.06.0/base/genconf.c:1154:21: call_function: inlined call to ‘mmalloc’ from ‘write_list_pattern’
ghostscript-10.06.0/base/genconf.c:1159:9: danger: argument 1 (‘malloc((long unsigned int)(len + 1))’) from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
# 1157|           char *alist;
# 1158|   
# 1159|->         strcpy(str, lstr);
# 1160|           if (pat->drop_extn) {
# 1161|               char *dot = str + len;

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/base/genconf.c:1180:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)(xlen + 1))’ where non-null expected
ghostscript-10.06.0/base/genconf.c:1143:1: enter_function: entry to ‘write_list_pattern’
ghostscript-10.06.0/base/genconf.c:1151:17: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/genconf.c:1152:28: branch_true: ...to here
ghostscript-10.06.0/base/genconf.c:1156:22: call_function: inlined call to ‘mmalloc’ from ‘write_list_pattern’
ghostscript-10.06.0/base/genconf.c:1168:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/genconf.c:1168:12: branch_true: ...to here
ghostscript-10.06.0/base/genconf.c:1171:20: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/genconf.c:1177:9: branch_false: ...to here
ghostscript-10.06.0/base/genconf.c:1180:17: danger: argument 1 (‘malloc((long unsigned int)(xlen + 1))’) from [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
# 1178|           /* Check to make sure the item is within the scope of */
# 1179|           /* an appropriate #ifdef, if necessary. */
# 1180|->         alist = strchr(xstr, '(');
# 1181|           if (alist != 0 && alist != xstr && alist[-1] == '_') {
# 1182|               *alist = 0;

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/base/gp.h:330:18: warning[-Wanalyzer-null-argument]: use of NULL ‘string’ where non-null expected
ghostscript-10.06.0/devices/gdevcdj.c:2026:1: enter_function: entry to ‘hp_colour_print_page’
ghostscript-10.06.0/devices/gdevcdj.c:2103:6: branch_true: following ‘true’ branch (when ‘bits_per_pixel == 1’)...
ghostscript-10.06.0/devices/gdevcdj.c:2105:5: branch_true: ...to here
ghostscript-10.06.0/devices/gdevcdj.c:2144:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/gdevcdj.c:2153:8: branch_false: following ‘false’ branch (when ‘bits_per_pixel <= 1’)...
ghostscript-10.06.0/devices/gdevcdj.c:2161:5: branch_false: ...to here
ghostscript-10.06.0/devices/gdevcdj.c:2161:17: branch_false: following ‘false’ branch (when ‘i >= num_comps’)...
ghostscript-10.06.0/devices/gdevcdj.c:2161:17: branch_false: ...to here
ghostscript-10.06.0/devices/gdevcdj.c:2165:17: branch_false: following ‘false’ branch (when ‘i >= num_comps’)...
ghostscript-10.06.0/devices/gdevcdj.c:2170:8: branch_false: ...to here
ghostscript-10.06.0/devices/gdevcdj.c:2170:8: branch_true: following ‘true’ branch (when ‘bits_per_pixel == 1’)...
ghostscript-10.06.0/devices/gdevcdj.c:2172:7: branch_true: ...to here
ghostscript-10.06.0/devices/gdevcdj.c:2176:17: branch_false: following ‘false’ branch (when ‘i >= num_comps’)...
ghostscript-10.06.0/devices/gdevcdj.c:2184:5: branch_false: ...to here
ghostscript-10.06.0/devices/gdevcdj.c:2325:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/gdevcdj.c:2327:7: branch_true: ...to here
ghostscript-10.06.0/devices/gdevcdj.c:2329:7: call_function: calling ‘gp_fputs’ from ‘hp_colour_print_page’
#  328|   static inline int
#  329|   gp_fputs(const char *string, gp_file *f) {
#  330|->     size_t len = strlen(string);
#  331|       return (f->ops.write)(f, 1, len, string);
#  332|   }

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gsalloc.c:763: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
#  761|       iimem->large_size = 1;
#  762|   #else
#  763|->     iimem->large_size = ((clump_size / 4) & -obj_align_mod) + 1;
#  764|   #endif
#  765|       iimem->is_controlled = false;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gsalloc.c:1834: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 1832|                pfree = *(const obj_header_t * const *)pfree
# 1833|               )
# 1834|->             unused += obj_align_round(pfree[-1].o_size);
# 1835|       }
# 1836|       return unused;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gsalloc.c:1845: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 1843|       /* Scan large object freelist. We'll grab an object up to 1/8 bigger */
# 1844|       /* right away, else use best fit of entire scan. */
# 1845|->     obj_size_t aligned_size = obj_align_round(size);
# 1846|       size_t aligned_min_size = aligned_size + sizeof(obj_header_t);
# 1847|       size_t aligned_max_size =

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gsalloc.c:1860: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 1858|   
# 1859|       while ((pfree = *ppfprev) != 0) {
# 1860|->         obj_size_t free_size = obj_align_round(pfree[-1].o_size);
# 1861|   
# 1862|           if (free_size == aligned_size ||

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gsalloc.c:1908: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 1906|            */
# 1907|           obj_size_t asize =
# 1908|->             ((lsize + obj_align_mask) & -obj_align_mod) +
# 1909|               sizeof(obj_header_t);
# 1910|           clump_t *cp =

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gsalloc.c:2223:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘num_free[i]’
ghostscript-10.06.0/base/gsalloc.c:2198:24: branch_true: following ‘true’ branch (when ‘cur != top’)...
ghostscript-10.06.0/base/gsalloc.c:2202:9: branch_true: ...to here
ghostscript-10.06.0/base/gsalloc.c:2203:13: branch_true: following ‘true’ branch (when ‘size <= 800’)...
ghostscript-10.06.0/base/gsalloc.c:2204:14: branch_true: ...to here
ghostscript-10.06.0/base/gsalloc.c:2205:12: branch_false: following ‘false’ branch (when ‘smallest <= i’)...
ghostscript-10.06.0/base/gsalloc.c:2218:12: branch_false: ...to here
ghostscript-10.06.0/base/gsalloc.c:2218:12: branch_true: following ‘true’ branch (when ‘largest < i’)...
ghostscript-10.06.0/base/gsalloc.c:2219:16: branch_true: ...to here
ghostscript-10.06.0/base/gsalloc.c:2219:16: branch_false: following ‘false’ branch (when ‘largest < 0’)...
ghostscript-10.06.0/base/gsalloc.c:2223:9: branch_false: ...to here
ghostscript-10.06.0/base/gsalloc.c:2223:9: danger: use of uninitialized value ‘num_free[i]’ here
# 2221|               largest = i;
# 2222|           }
# 2223|->         num_free[i]++;
# 2224|       }
# 2225|   

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gsalloc.c:2245: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 2243|                   /* We're removing an object. */
# 2244|                   *ppfprev = *(obj_header_t **) pfree;
# 2245|->                 removed += obj_align_round(pfree[-1].o_size);
# 2246|                   if (!--count)
# 2247|                       break;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gsalloc.c:2261: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 2259|   /* trailing dummy obj_header */
# 2260|   {
# 2261|->     obj_size_t rounded_size = obj_align_round(size);
# 2262|       obj_header_t *pre_obj = obj - 1;
# 2263|       obj_header_t *excess_pre = (obj_header_t*)((char*)obj + rounded_size);

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gsalloc.c:2264: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 2262|       obj_header_t *pre_obj = obj - 1;
# 2263|       obj_header_t *excess_pre = (obj_header_t*)((char*)obj + rounded_size);
# 2264|->     obj_size_t old_rounded_size = obj_align_round(pre_obj->o_size);
# 2265|       obj_size_t excess_size = old_rounded_size - rounded_size - sizeof(obj_header_t);
# 2266|   

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gsalloc.c:2317: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 2315|                                    log2_obj_align_mod];
# 2316|           else {
# 2317|->             uint rounded_size = obj_align_round(excess_size);
# 2318|   
# 2319|               pfl = &mem->freelists[LARGE_FREELIST_INDEX];

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gscdevn.c: scope_hint: In function ‘gx_check_process_names_DeviceN’
ghostscript-10.06.0/base/gscdevn.c:683:31: warning[-Wunused-but-set-variable=]: variable ‘num_other’ set but not used
#  683 |     int num_cmyk_process = 0, num_other = 0;
#      |                               ^~~~~~~~~
#  681|   {
#  682|       int i, num_comp, num_spots = 0, num_rgb_process = 0;
#  683|->     int num_cmyk_process = 0, num_other = 0;
#  684|       char **names;
#  685|       const char *pname;

Error: CPPCHECK_WARNING (CWE-562):
ghostscript-10.06.0/base/gscrdp.c:567: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  565|               break;
#  566|       }
#  567|->     pcrd->client_data = &data;
#  568|       if (code_lmn > 0)
#  569|           pcrd->EncodeLMN = Encode_default;

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/base/gsdevice.c:1248:30: warning[-Wanalyzer-null-argument]: use of NULL ‘fmt’ where non-null expected
ghostscript-10.06.0/base/gsdevice.c:1216:5: enter_function: entry to ‘gx_device_delete_output_file’
ghostscript-10.06.0/base/gsdevice.c:1224:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gsdevice.c:1229:11: branch_false: ...to here
ghostscript-10.06.0/base/gsdevice.c:1230:12: call_function: calling ‘gx_parse_output_file_name’ from ‘gx_device_delete_output_file’
ghostscript-10.06.0/base/gsdevice.c:1230:12: return_function: returning to ‘gx_device_delete_output_file’ from ‘gx_parse_output_file_name’
ghostscript-10.06.0/base/gsdevice.c:1232:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gsdevice.c:1236:9: branch_false: ...to here
ghostscript-10.06.0/base/gsdevice.c:1236:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
ghostscript-10.06.0/base/gsdevice.c:1239:9: branch_false: ...to here
ghostscript-10.06.0/base/gsdevice.c:1239:9: release_memory: ‘fmt’ is NULL
ghostscript-10.06.0/base/gsdevice.c:1239:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gsdevice.c:1248:16: branch_false: ...to here
ghostscript-10.06.0/base/gsdevice.c:1248:15: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gsdevice.c:1248:30: branch_true: ...to here
ghostscript-10.06.0/base/gsdevice.c:1248:30: release_memory: ‘fmt’ is NULL
ghostscript-10.06.0/base/gsdevice.c:1248:30: danger: argument 1 (‘parsed.fname’) NULL where non-null expected
# 1246|           else
# 1247|               gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname, (int)count1);
# 1248|->     } else if (parsed.len && strchr(parsed.fname, '%'))	/* filename with "%%" but no "%nnd" */
# 1249|           gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname);
# 1250|       else

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/base/gsdevice.c:1325:30: warning[-Wanalyzer-null-argument]: use of NULL ‘fmt’ where non-null expected
ghostscript-10.06.0/base/gsdevice.c:1276:1: enter_function: entry to ‘gx_device_open_output_file’
ghostscript-10.06.0/base/gsdevice.c:1284:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gsdevice.c:1289:9: branch_false: ...to here
ghostscript-10.06.0/base/gsdevice.c:1289:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gsdevice.c:1294:75: branch_false: ...to here
ghostscript-10.06.0/base/gsdevice.c:1294:12: call_function: calling ‘gx_parse_output_file_name’ from ‘gx_device_open_output_file’
ghostscript-10.06.0/base/gsdevice.c:1294:12: return_function: returning to ‘gx_device_open_output_file’ from ‘gx_parse_output_file_name’
ghostscript-10.06.0/base/gsdevice.c:1295:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gsdevice.c:1299:9: branch_false: ...to here
ghostscript-10.06.0/base/gsdevice.c:1299:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
ghostscript-10.06.0/base/gsdevice.c:1313:15: branch_false: ...to here
ghostscript-10.06.0/base/gsdevice.c:1313:16: branch_true: following ‘true’ branch (when the strings are equal)...
ghostscript-10.06.0/base/gsdevice.c:1316:9: branch_true: ...to here
ghostscript-10.06.0/base/gsdevice.c:1316:9: release_memory: ‘fmt’ is NULL
ghostscript-10.06.0/base/gsdevice.c:1316:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gsdevice.c:1325:16: branch_false: ...to here
ghostscript-10.06.0/base/gsdevice.c:1325:15: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gsdevice.c:1325:30: branch_true: ...to here
ghostscript-10.06.0/base/gsdevice.c:1325:30: release_memory: ‘fmt’ is NULL
ghostscript-10.06.0/base/gsdevice.c:1325:30: danger: argument 1 (‘parsed.fname’) NULL where non-null expected
# 1323|           else
# 1324|               gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname, (int)count1);
# 1325|->     } else if (parsed.len && strchr(parsed.fname, '%'))	/* filename with "%%" but no "%nnd" */
# 1326|           gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname);
# 1327|       else

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gsdevmem.c:188: error[uninitvar]: Uninitialized variable: palette
#  186|           new_dev->palette.size = pcount;
#  187|           new_dev->palette.data = dev_palette;
#  188|->         memcpy(dev_palette, palette, pcount);
#  189|           if (!has_color) {
#  190|               new_dev->color_info.num_components = 1;

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gsfunc0.c:1069: warning[uninitvar]: Uninitialized variable: TT0
# 1067|               TT1[i] = 0;
# 1068|       }
# 1069|->     *mask = tensor_dimension_monotonity(TT0, TT1, ii, i0, pole, 0,
# 1070|                           count_of(pole) / 4, 1, pfn->params.Order);
# 1071|       return 0;

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gsfunc0.c:1069: warning[uninitvar]: Uninitialized variable: TT1
# 1067|               TT1[i] = 0;
# 1068|       }
# 1069|->     *mask = tensor_dimension_monotonity(TT0, TT1, ii, i0, pole, 0,
# 1070|                           count_of(pole) / 4, 1, pfn->params.Order);
# 1071|       return 0;

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gsgcache.c: scope_hint: In function ‘gs_glyph_cache_elem__locate’
ghostscript-10.06.0/base/gsgcache.c:136:9: warning[-Wunused-but-set-variable=]: variable ‘count’ set but not used
#  136 |     int count = 0; /* debug purpose only */
#      |         ^~~~~
#  134|   {   /* If not fond, returns an unlocked element. */
#  135|       gs_glyph_cache_elem **e = &self->list, **p_unlocked = NULL;
#  136|->     int count = 0; /* debug purpose only */
#  137|   
#  138|       for (; *e != 0; e = &(*e)->next, count++) {

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gshtx.c:422:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘comp2order[i]’
ghostscript-10.06.0/base/gshtx.c:399:1: enter_function: entry to ‘gs_ht_install’
ghostscript-10.06.0/base/gshtx.c:413:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gshtx.c:417:17: branch_false: ...to here
ghostscript-10.06.0/base/gshtx.c:417:17: call_function: calling ‘alloc_ht_order’ from ‘gs_ht_install’
ghostscript-10.06.0/base/gshtx.c:417:17: return_function: returning to ‘gs_ht_install’ from ‘alloc_ht_order’
ghostscript-10.06.0/base/gshtx.c:417:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gshtx.c:417:8: branch_false: ...to here
ghostscript-10.06.0/base/gshtx.c:421:17: branch_true: following ‘true’ branch (when ‘i < num_comps’)...
ghostscript-10.06.0/base/gshtx.c:422:17: branch_true: ...to here
ghostscript-10.06.0/base/gshtx.c:422:17: danger: use of uninitialized value ‘comp2order[i]’ here
#  420|       /* build all of the order for each component */
#  421|       for (i = 0; i < num_comps; i++) {
#  422|->         int j = comp2order[i];
#  423|   
#  424|           code = build_component(&(pht->params.ht_multiple.components[i]),

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gsicc_cache.c:1556:44: warning[-Wunused-but-set-variable=]: variable ‘num_process’ set but not used
# 1556 |     int k, code, i, num_comp, num_spots=0, num_process=0, num_other=0;
#      |                                            ^~~~~~~~~~~
# 1554|       gsicc_namedcolortable_t *namedcolor_table;
# 1555|       unsigned int num_entries;
# 1556|->     int k, code, i, num_comp, num_spots=0, num_process=0, num_other=0;
# 1557|       gs_color_space_index type = gs_color_space_get_index(pcs);
# 1558|       char **names = NULL;

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gsicc_cache.c: scope_hint: In function ‘gsicc_support_named_color’
ghostscript-10.06.0/base/gsicc_cache.c:1556:59: warning[-Wunused-but-set-variable=]: variable ‘num_other’ set but not used
# 1556 |     int k, code, i, num_comp, num_spots=0, num_process=0, num_other=0;
#      |                                                           ^~~~~~~~~
# 1554|       gsicc_namedcolortable_t *namedcolor_table;
# 1555|       unsigned int num_entries;
# 1556|->     int k, code, i, num_comp, num_spots=0, num_process=0, num_other=0;
# 1557|       gs_color_space_index type = gs_color_space_get_index(pcs);
# 1558|       char **names = NULL;

Error: CPPCHECK_WARNING (CWE-562):
ghostscript-10.06.0/base/gsicc_create.c:1546: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1544|       if (lutatobparts->matrix == NULL) {
# 1545|           gsicc_create_copy_matrix3(cam, (float*) &temp_matrix);
# 1546|->         lutatobparts->matrix = &temp_matrix;
# 1547|       } else {
# 1548|           if (yonly) {

Error: CPPCHECK_WARNING (CWE-562):
ghostscript-10.06.0/base/gsicc_create.c:1577: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1575|               matrixmult(cam, 3, 3, &(lutatobparts->matrix->cu.u), 3, 3,
# 1576|                       &(temp_matrix.cu.u));
# 1577|->             lutatobparts->matrix = &temp_matrix;
# 1578|           }
# 1579|       }

Error: CPPCHECK_WARNING (CWE-562):
ghostscript-10.06.0/base/gsicc_create.c:1655: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1653|       ones_vec.w = 1;
# 1654|       gsicc_make_diag_matrix(&ident_matrix,&ones_vec);
# 1655|->     icc_luta2bparts->matrix = &ident_matrix;
# 1656|       /* Now create the profile */
# 1657|       if (icc_luta2bparts->num_in == 1 ) {

Error: CPPCHECK_WARNING (CWE-562):
ghostscript-10.06.0/base/gsicc_create.c:2152: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 2150|           /* Table can stay as is. Handle the ABC/LMN portions via the curves
# 2151|              matrix curves operation */
# 2152|->         icc_luta2bparts->matrix = &matrix_input_trans;
# 2153|           code = gsicc_create_abc_merge(icc_luta2bparts, &(pcie->common.MatrixLMN),
# 2154|                                   &(pcie->MatrixABC), has_abc_procs,

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gsicc_manage.c:577:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘profile_data’
ghostscript-10.06.0/base/gsicc_manage.c:576:13: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gsicc_manage.c:576:13: branch_true: ...to here
ghostscript-10.06.0/base/gsicc_manage.c:577:13: danger: dereference of NULL ‘profile_data’
#  575|           } else {
#  576|               rc_adjust(profile_data, delta, name_str);
#  577|->             gx_monitor_leave(profile_data->lock);
#  578|           }
#  579|       }

Error: COMPILER_WARNING (CWE-457):
ghostscript-10.06.0/base/gsicc_manage.c:856:59: warning[-Wmaybe-uninitialized]: ‘icc_profile’ may be used uninitialized
#  856 |                     srcgtag->gray_profiles[gsSRC_TEXTPRO] = icc_profile;
#      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
ghostscript-10.06.0/base/gsicc_manage.c: scope_hint: In function ‘gs_setsrcgtagicc’
ghostscript-10.06.0/base/gsicc_manage.c:648:20: note: ‘icc_profile’ was declared here
#  648 |     cmm_profile_t *icc_profile;
#      |                    ^~~~~~~~~~~
#  854|                       break;
#  855|                   case TEXT_GRAY:
#  856|->                     srcgtag->gray_profiles[gsSRC_TEXTPRO] = icc_profile;
#  857|                       srcgtag->gray_rend_cond[gsSRC_TEXTPRO].cmm = cmm;
#  858|                       if (cmm == gsCMM_DEFAULT) {

Error: GCC_ANALYZER_WARNING (CWE-121):
ghostscript-10.06.0/base/gsicc_monitorcm.c:279:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
ghostscript-10.06.0/base/gsicc_monitorcm.c:199:1: enter_function: entry to ‘gsicc_mcm_transform_color_buffer’
ghostscript-10.06.0/base/gsicc_monitorcm.c:215:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gsicc_monitorcm.c:216:20: branch_true: ...to here
ghostscript-10.06.0/base/gsicc_monitorcm.c:216:20: call_function: calling ‘gsicc_mcm_chunky_to_planar’ from ‘gsicc_mcm_transform_color_buffer’
#  277|                   unsigned short *out_ptr = (unsigned short*) outputcolor;
#  278|                   for (k = 0; k < icclink->num_input; k++) {
#  279|->                     out_ptr[k] = gx_color_value_to_byte(in_ptr[k]);
#  280|                   }
#  281|               }

Error: GCC_ANALYZER_WARNING (CWE-121):
ghostscript-10.06.0/base/gsicc_monitorcm.c:300:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
ghostscript-10.06.0/base/gsicc_monitorcm.c:199:1: enter_function: entry to ‘gsicc_mcm_transform_color_buffer’
ghostscript-10.06.0/base/gsicc_monitorcm.c:215:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gsicc_monitorcm.c:216:20: branch_true: ...to here
ghostscript-10.06.0/base/gsicc_monitorcm.c:216:20: call_function: calling ‘gsicc_mcm_chunky_to_planar’ from ‘gsicc_mcm_transform_color_buffer’
#  298|                   unsigned short *out_ptr = (unsigned short*) outputcolor;
#  299|                   for (k = 0; k < icclink->num_input; k++) {
#  300|->                     out_ptr[k] = gx_color_value_to_byte(in_ptr[k]);
#  301|                   }
#  302|               }

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gsicc_replacecm.c:257:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘frac_in[2]’
ghostscript-10.06.0/base/gsicc_replacecm.c:189:1: enter_function: entry to ‘gsicc_rcm_transform_color_buffer’
ghostscript-10.06.0/base/gsicc_replacecm.c:209:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gsicc_replacecm.c:210:13: branch_true: ...to here
ghostscript-10.06.0/base/gsicc_replacecm.c:210:13: call_function: calling ‘gsicc_rcm_chunky_to_planar’ from ‘gsicc_rcm_transform_color_buffer’
#  255|               break;
#  256|           case 3:
#  257|->             (link->cm_procs.map_rgb)(link->cmdev, NULL, frac_in[0], frac_in[1],
#  258|                                    frac_in[2], frac_out);
#  259|               break;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gsicc_replacecm.c:261:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘frac_in[3]’
ghostscript-10.06.0/base/gsicc_replacecm.c:189:1: enter_function: entry to ‘gsicc_rcm_transform_color_buffer’
ghostscript-10.06.0/base/gsicc_replacecm.c:209:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gsicc_replacecm.c:210:13: branch_true: ...to here
ghostscript-10.06.0/base/gsicc_replacecm.c:210:13: call_function: calling ‘gsicc_rcm_chunky_to_planar’ from ‘gsicc_rcm_transform_color_buffer’
#  259|               break;
#  260|           case 4:
#  261|->             (link->cm_procs.map_cmyk)(link->cmdev, frac_in[0], frac_in[1], frac_in[2],
#  262|                                    frac_in[3], frac_out);
#  263|               break;

Error: GCC_ANALYZER_WARNING:
ghostscript-10.06.0/base/gsiorom.c:235:13: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
ghostscript-10.06.0/base/gsiorom.c:140:1: enter_function: entry to ‘s_block_read_seek’
ghostscript-10.06.0/base/gsiorom.c:147:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gsiorom.c:159:30: call_function: calling ‘s_block_read_process’ from ‘s_block_read_seek’
#  233|               return ERRC;
#  234|           if (need_copy) {
#  235|->             memcpy(pw->ptr+1, dest, max_count);
#  236|               count = max_count;
#  237|           }

Error: CPPCHECK_WARNING (CWE-590):
ghostscript-10.06.0/base/gsmalloc.c:366: error[autovarInvalidDeallocation]: Deallocation of an auto-variable ([) results in undefined behaviour.
#  364|       gs_alloc_fill(bp, gs_alloc_fill_free,
#  365|                     bp->size + sizeof(gs_malloc_block_t));
#  366|->     free(bp);
#  367|   #else
#  368|       bp = mmem->allocated; /* If 'finalize' releases a memory,

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gsparaml.c:776:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘str’
ghostscript-10.06.0/base/gsparaml.c:1072:5: enter_function: entry to ‘gs_param_list_dump’
ghostscript-10.06.0/base/gsparaml.c:1081:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gsparaml.c:1084:13: branch_true: ...to here
ghostscript-10.06.0/base/gsparaml.c:1084:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gsparaml.c:1088:9: branch_false: ...to here
ghostscript-10.06.0/base/gsparaml.c:1091:16: call_function: inlined call to ‘gs_param_list_to_string’ from ‘gs_param_list_dump’
#  774|       out->last = str[slen-1];
#  775|       if (out->value != NULL) {
#  776|->         memcpy(out->value, str, slen);
#  777|           out->value += slen;
#  778|           *out->value = 0;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gssprintf.c:583:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘p’
ghostscript-10.06.0/base/gssprintf.c:1498:5: enter_function: entry to ‘gs_vsprintf’
ghostscript-10.06.0/base/gssprintf.c:1507:10: call_function: calling ‘apr_vformatter’ from ‘gs_vsprintf’
#  581|       if (apr_isalpha(*p)) {
#  582|           *len = strlen(p);
#  583|->         memcpy(buf, p, *len + 1);
#  584|           *is_negative = FALSE;
#  585|           return (buf);

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gsstate.c:1327:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pfrom’
ghostscript-10.06.0/base/gsstate.c:1316:1: enter_function: entry to ‘gstate_clone_core’
ghostscript-10.06.0/base/gsstate.c:1322:22: call_function: calling ‘gstate_alloc’ from ‘gstate_clone_core’
ghostscript-10.06.0/base/gsstate.c:1322:22: return_function: returning to ‘gstate_clone_core’ from ‘gstate_alloc’
ghostscript-10.06.0/base/gsstate.c:1325:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gsstate.c:1327:9: branch_false: ...to here
ghostscript-10.06.0/base/gsstate.c:1327:9: danger: dereference of NULL ‘pfrom’
# 1325|       if (pgs == NULL)
# 1326|           return NULL;
# 1327|->     if (pfrom->client_data != NULL) {
# 1328|           pdata = (*pfrom->client_procs.alloc) (mem);
# 1329|   

Error: COMPILER_WARNING (CWE-1164):
ghostscript-10.06.0/base/gstiffio.c:180:1: warning[-Wunused-function]: ‘gs_tifsWarningHandlerEx’ defined but not used
#  180 | gs_tifsWarningHandlerEx(thandle_t client_data, const char* module, const char* fmt, va_list ap)
#      | ^~~~~~~~~~~~~~~~~~~~~~~
#  178|   
#  179|   static void
#  180|-> gs_tifsWarningHandlerEx(thandle_t client_data, const char* module, const char* fmt, va_list ap)
#  181|   {
#  182|       tifs_io_private *tiffio = (tifs_io_private *)client_data;

Error: COMPILER_WARNING (CWE-1164):
ghostscript-10.06.0/base/gstiffio.c:196:1: warning[-Wunused-function]: ‘gs_tifsErrorHandlerEx’ defined but not used
#  196 | gs_tifsErrorHandlerEx(thandle_t client_data, const char* module, const char* fmt, va_list ap)
#      | ^~~~~~~~~~~~~~~~~~~~~
#  194|   
#  195|   static void
#  196|-> gs_tifsErrorHandlerEx(thandle_t client_data, const char* module, const char* fmt, va_list ap)
#  197|   {
#  198|       tifs_io_private *tiffio = (tifs_io_private *)client_data;

Error: GCC_ANALYZER_WARNING (CWE-127):
ghostscript-10.06.0/base/gstype1.c:198:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.06.0/base/gstype1.c:158:5: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gstype1.c:160:8: branch_true: ...to here
ghostscript-10.06.0/base/gstype1.c:160:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.06.0/base/gstype1.c:161:9: branch_true: ...to here
ghostscript-10.06.0/base/gstype1.c:214:20: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype1.c:170:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype1.c:173:9: branch_false: ...to here
ghostscript-10.06.0/base/gstype1.c:173:9: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gstype1.c:173:9: branch_true: ...to here
ghostscript-10.06.0/base/gstype1.c:174:12: branch_true: following ‘true’ branch (when ‘c <= 31’)...
ghostscript-10.06.0/base/gstype1.c:187:13: branch_true: ...to here
ghostscript-10.06.0/base/gstype1.c:197:17: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype1.c:198:21: branch_false: ...to here
ghostscript-10.06.0/base/gstype1.c:198:21: danger: out-of-bounds read from byte -4 till byte -1 but ‘cstack’ starts at byte 0
#  196|               case c_callsubr:
#  197|                   CS_CHECK_POP(csp, cstack);
#  198|->                 c = fixed2int_var(*csp) + pdata->subroutineNumberBias;
#  199|                   code = pdata->procs.subr_data
#  200|                       (pfont, c, false, &ipsp[1].cs_data);

Error: GCC_ANALYZER_WARNING (CWE-127):
ghostscript-10.06.0/base/gstype2.c:234:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.06.0/base/gstype2.c:172:5: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gstype2.c:174:8: branch_true: ...to here
ghostscript-10.06.0/base/gstype2.c:174:8: branch_true: following ‘true’ branch (when ‘pgd’ is NULL)...
ghostscript-10.06.0/base/gstype2.c:175:9: branch_true: ...to here
ghostscript-10.06.0/base/gstype2.c:249:20: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype2.c:185:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype2.c:188:15: branch_false: ...to here
ghostscript-10.06.0/base/gstype2.c:190:9: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gstype2.c:190:9: branch_true: ...to here
ghostscript-10.06.0/base/gstype2.c:191:12: branch_false: following ‘false’ branch (when ‘c <= 31’)...
ghostscript-10.06.0/base/gstype2.c:222:9: branch_false: ...to here
ghostscript-10.06.0/base/gstype2.c:232:20: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gstype2.c:233:21: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype2.c:234:25: danger: out-of-bounds read from byte -4 till byte -1 but ‘cstack’ starts at byte 0
#  232|                   if (CS_CHECK_CSTACK_BOUNDS(csp, cstack)) {
#  233|                       CS_CHECK_IPSTACK(&(ipsp[1]), pcis->ipstack);
#  234|->                     c = fixed2int_var(*csp) + pdata->subroutineNumberBias;
#  235|                       code = pdata->procs.subr_data
#  236|                           (pfont, c, false, &ipsp[1].cs_data);

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gstype42.c:826: error[legacyUninitvar]: Uninitialized variable: code
#  824|   
#  825|       if (code2 < 0) code = gs_note_error(code2);
#  826|->     return code;
#  827|   }
#  828|   

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gstype42.c:2116:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
ghostscript-10.06.0/base/gstype42.c:2148:1: enter_function: entry to ‘gs_woff2sfnt’
ghostscript-10.06.0/base/gstype42.c:2157:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype42.c:2161:13: branch_false: ...to here
ghostscript-10.06.0/base/gstype42.c:2162:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype42.c:2167:17: branch_false: ...to here
ghostscript-10.06.0/base/gstype42.c:2167:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype42.c:2170:9: branch_false: ...to here
ghostscript-10.06.0/base/gstype42.c:2170:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype42.c:2171:9: branch_false: ...to here
ghostscript-10.06.0/base/gstype42.c:2170:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype42.c:2176:15: branch_false: ...to here
ghostscript-10.06.0/base/gstype42.c:2177:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype42.c:2207:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype42.c:2211:17: branch_false: ...to here
ghostscript-10.06.0/base/gstype42.c:2211:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gstype42.c:2211:8: branch_false: ...to here
ghostscript-10.06.0/base/gstype42.c:2225:17: branch_true: following ‘true’ branch (when ‘i < ntables’)...
ghostscript-10.06.0/base/gstype42.c:2226:35: branch_true: ...to here
ghostscript-10.06.0/base/gstype42.c:2241:12: branch_true: following ‘true’ branch (when ‘len != clen’)...
ghostscript-10.06.0/base/gstype42.c:2242:17: branch_true: ...to here
ghostscript-10.06.0/base/gstype42.c:2244:12: branch_true: following ‘true’ branch (when ‘len != clen’)...
ghostscript-10.06.0/base/gstype42.c:2245:17: branch_true: ...to here
ghostscript-10.06.0/base/gstype42.c:2245:17: call_function: calling ‘gs_woff_pop_flate_filter’ from ‘gs_woff2sfnt’
# 2114|   gs_woff_pop_flate_filter(stream *s)
# 2115|   {
# 2116|->     gs_memory_t *mem = s->memory;
# 2117|       stream *strm = s->strm;
# 2118|       byte *buf = s->cbuf;

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/base/gxblend.c:3508: error[ctunullpointer]: Null pointer dereference: table
# 3506|   {
# 3507|       byte     top = idx>>8;
# 3508|->     uint16_t a   = table[top];
# 3509|       int      b   = table[top+1]-a;
# 3510|   

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gxccman.c:82: error[integerOverflow]: Signed integer overflow for expression '-((((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))>8)?(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8)):8)&((((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))>8)?(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8)):8)-1)?(((int)sizeof(struct cached_char))+((((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))>8)?(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8)):8)-1))/(((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))>8)?(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8)):8)*(((((1<<3)>((8>8)?(8):8))? [...]
#   80|          cache character memory before filling the table.  The searching
#   81|          code uses an empty table entry as a sentinel. */
#   82|->     chsize = max(chsize, ROUND_UP(bmax, sizeof_cached_char) / sizeof_cached_char + 1);
#   83|   
#   84|       /* Round up chsize to a power of 2. */
ghostscript-10.06.0/base/gxccman.c:82: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gxccman.c:762: error[integerOverflow]: Signed integer overflow for expression '-(((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))>8)?(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8)):8)'.
#  760|       cc_set_raster(cc, nraster);
#  761|       {
#  762|->         uint diff = ROUND_DOWN(cc->head.size - sizeof_cached_char -
#  763|                                  nraster * cc->height,
#  764|                                  align_cached_char_mod);

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gxccman.c:866: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
#  864|               char_cache_chunk *cck_prev = dir->ccache.chunks;
#  865|               char_cache_chunk *cck;
#  866|->             uint cksize = ROUND_UP(dir->ccache.bmax / 5 + 1, obj_align_mod);
#  867|               uint tsize = ROUND_UP(dir->ccache.bmax - dir->ccache.bspace, obj_align_mod);
#  868|               byte *cdata;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/base/gxccman.c:867: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
#  865|               char_cache_chunk *cck;
#  866|               uint cksize = ROUND_UP(dir->ccache.bmax / 5 + 1, obj_align_mod);
#  867|->             uint tsize = ROUND_UP(dir->ccache.bmax - dir->ccache.bspace, obj_align_mod);
#  868|               byte *cdata;
#  869|   

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/base/gxchar.c:412:16: warning[-Wanalyzer-infinite-loop]: infinite loop
#  410|           /* Reduce the scale to fit into alpha bits. */
#  411|           excess = log2_scale.x + log2_scale.y - alpha_bits;
#  412|->         while (excess > 0) {
#  413|               if (log2_scale.y > 0) {
#  414|                   log2_scale.y --;

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gxclimag.c: scope_hint: In function ‘clist_image_plane_data’
ghostscript-10.06.0/base/gxclimag.c:1230:20: warning[-Wunused-but-set-variable=]: variable ‘iy’ set but not used
# 1230 |             int i, iy, ih, xskip, xoff, nrows;
#      |                    ^~
# 1228|               int num_planes = pie->num_planes;
# 1229|               uint offsets[GS_IMAGE_MAX_COMPONENTS];
# 1230|->             int i, iy, ih, xskip, xoff, nrows;
# 1231|               uint bytes_per_plane, bytes_per_row, rows_per_cmd;
# 1232|   

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gxclipm.c:181:21: warning[-Wunused-but-set-variable=]: variable ‘sdata’ set but not used
#  181 |         const byte *sdata;\
#      |                     ^~~~~
ghostscript-10.06.0/base/gxclipm.c:270:5: note: in expansion of macro ‘DECLARE_MASK_COPY’
#  270 |     DECLARE_MASK_COPY;
#      |     ^~~~~~~~~~~~~~~~~
#  179|    */
#  180|   #define DECLARE_MASK_COPY\
#  181|->         const byte *sdata;\
#  182|           int sx, mx0, my0, mx1, my1
#  183|   #define FIT_MASK_COPY(data, sourcex, raster, vx, vy, vw, vh)\

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gxclipm.c: scope_hint: In function ‘clip_runs_enumerate’
ghostscript-10.06.0/base/gxclipm.c:182:13: warning[-Wunused-but-set-variable=]: variable ‘sx’ set but not used
#  182 |         int sx, mx0, my0, mx1, my1
#      |             ^~
ghostscript-10.06.0/base/gxclipm.c:270:5: note: in expansion of macro ‘DECLARE_MASK_COPY’
#  270 |     DECLARE_MASK_COPY;
#      |     ^~~~~~~~~~~~~~~~~
#  180|   #define DECLARE_MASK_COPY\
#  181|           const byte *sdata;\
#  182|->         int sx, mx0, my0, mx1, my1
#  183|   #define FIT_MASK_COPY(data, sourcex, raster, vx, vy, vw, vh)\
#  184|           BEGIN\

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxclist.c:276:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘hsize’
ghostscript-10.06.0/base/gxclist.c:1440:1: enter_function: entry to ‘clist_mutate_to_clist’
ghostscript-10.06.0/base/gxclist.c:1493:8: branch_false: following ‘false’ branch (when ‘base’ is non-NULL)...
ghostscript-10.06.0/base/gxclist.c:1493:8: branch_false: ...to here
ghostscript-10.06.0/base/gxclist.c:1514:12: call_function: calling ‘clist_open’ from ‘clist_mutate_to_clist’
#  274|       cdev->tile_max_count = hc - (hc >> 2);
#  275|       cdev->tile_table = (tile_hash *) data;
#  276|->     data += hsize;
#  277|       bits_size -= hsize;
#  278|       gx_bits_cache_chunk_init(cdev->cache_chunk, data, bits_size);

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gxclmem.c:951:25: warning[-Wstringop-overflow=]: writing 1 byte into a region of size 0
#  949|                       back_up = f->rd.limit - f->rd.ptr;
#  950|                       for (i = 0; i < back_up; i++)
#  951|->                         *(bp->phys_blk->link->data - back_up + i) = *++f->rd.ptr;
#  952|                   }
#  953|                   f->rd.ptr = (const byte *)bp->phys_blk->link->data - back_up - 1;

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gxclmem.c: scope_hint: In function ‘memfile_get_pdata.isra.0’
ghostscript-10.06.0/base/gxclmem.c:951:67: warning[-Wstringop-overflow=]: writing 1 byte into a region of size 0
#  951 |                         *(bp->phys_blk->link->data - back_up + i) = *++f->rd.ptr;
#      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
ghostscript-10.06.0/base/gxclmem.c:21: included_from: Included from here.
ghostscript-10.06.0/base/gxclmem.h:56:10: note: at offset [-2147483647, -1] into destination object ‘data’ of size 16224
#   56 |     char data[MEMFILE_DATA_SIZE];
#      |          ^~~~
#  949|                       back_up = f->rd.limit - f->rd.ptr;
#  950|                       for (i = 0; i < back_up; i++)
#  951|->                         *(bp->phys_blk->link->data - back_up + i) = *++f->rd.ptr;
#  952|                   }
#  953|                   f->rd.ptr = (const byte *)bp->phys_blk->link->data - back_up - 1;

Error: GCC_ANALYZER_WARNING (CWE-465):
ghostscript-10.06.0/base/gxclmem.c:1167:20: warning[-Wanalyzer-deref-before-check]: check of ‘pphys’ for NULL after already dereferencing it
ghostscript-10.06.0/base/gxclmem.c:1155:8: branch_true: following ‘true’ branch (when ‘bp’ is non-NULL)...
ghostscript-10.06.0/base/gxclmem.c:1157:27: branch_true: ...to here
ghostscript-10.06.0/base/gxclmem.c:1160:30: branch_true: following ‘true’ branch (when ‘tmpbp’ is non-NULL)...
ghostscript-10.06.0/base/gxclmem.c:1161:21: branch_true: ...to here
ghostscript-10.06.0/base/gxclmem.c:1165:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxclmem.c:1165:12: branch_true: ...to here
ghostscript-10.06.0/base/gxclmem.c:1167:20: danger: pointer ‘pphys’ is checked for NULL here but it was already dereferenced at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
# 1165|           if (pphys->data_limit != NULL) {
# 1166|               /* the data was compressed, free the chain of blocks             */
# 1167|->             while (pphys != NULL) {
# 1168|                   PHYS_MEMFILE_BLK *tmpphys = pphys->link;
# 1169|   

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gxclmem.h:56:10: note[note]: at offset [-2147483647, -1] into destination object ‘data’ of size 16224
#   54|                           /* data_limit is NULL if not compressed */
#   55|       char data_spare[4];		/* used during de-compress      */
#   56|->     char data[MEMFILE_DATA_SIZE];
#   57|   } PHYS_MEMFILE_BLK;
#   58|   

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxclread.c:594:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cb.pos’
ghostscript-10.06.0/base/gxclread.c:719:1: enter_function: entry to ‘clist_get_bits_rectangle’
ghostscript-10.06.0/base/gxclread.c:742:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxclread.c:742:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxclread.c:746:8: branch_false: ...to here
ghostscript-10.06.0/base/gxclread.c:746:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxclread.c:754:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxclread.c:766:21: branch_false: ...to here
ghostscript-10.06.0/base/gxclread.c:766:21: call_function: calling ‘clist_close_writer_and_init_reader’ from ‘clist_get_bits_rectangle’
#  592|           return code;
#  593|   
#  594|->     code = clist_read_chunk(crdev, cb.pos, size_data, (unsigned char *)crdev->color_usage_array);
#  595|       return code;
#  596|   }

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxclread.c:633:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*cb.pos’
ghostscript-10.06.0/base/gxclread.c:719:1: enter_function: entry to ‘clist_get_bits_rectangle’
ghostscript-10.06.0/base/gxclread.c:742:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxclread.c:742:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxclread.c:746:8: branch_false: ...to here
ghostscript-10.06.0/base/gxclread.c:746:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxclread.c:754:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxclread.c:766:21: branch_false: ...to here
ghostscript-10.06.0/base/gxclread.c:766:21: call_function: calling ‘clist_close_writer_and_init_reader’ from ‘clist_get_bits_rectangle’
#  631|           return(0);
#  632|       save_pos = crdev->page_info.io_procs->ftell(cfile);
#  633|->     crdev->page_info.io_procs->fseek(cfile, cb->pos, SEEK_SET, crdev->page_info.cfname);
#  634|       /* First four bytes tell us the number of entries. */
#  635|       crdev->page_info.io_procs->fread_chars(&number_entries, sizeof(number_entries), cfile);

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gxclread.c:787: warning[uninitvar]: Uninitialized variable: lines_rasterized
#  785|       }
#  786|       cdev->buf_procs.destroy_buf_device(bdev);
#  787|->     if (code < 0 || lines_rasterized == line_count)
#  788|           return code;
#  789|       /*

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gxclthrd.c:906: warning[uninitvar]: Uninitialized variable: code
#  904|           (endtime[1] - starttime[1]) / 1000000;
#  905|   #endif
#  906|->     if (code < 0)
#  907|           thread->status = THREAD_ERROR;          /* shouldn't happen */
#  908|       else

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxclthrd.c:906:8: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘code’
ghostscript-10.06.0/base/gxclthrd.c:868:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxclthrd.c:906:8: branch_false: ...to here
ghostscript-10.06.0/base/gxclthrd.c:906:8: danger: use of uninitialized value ‘code’ here
#  904|           (endtime[1] - starttime[1]) / 1000000;
#  905|   #endif
#  906|->     if (code < 0)
#  907|           thread->status = THREAD_ERROR;          /* shouldn't happen */
#  908|       else

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/gxcmap.c:2496: error[legacyUninitvar]: Uninitialized variable: cv_frac[i]
# 2494|              which does not take a frac value...  */
# 2495|           for (i = 0; i < nc; i++) {
# 2496|->             color_val[i] = frac2cv(cv_frac[i]);
# 2497|           }
# 2498|           if (i < ncomps)

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gxcpath.c:991:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rp’
ghostscript-10.06.0/base/gxcpath.c:659:1: enter_function: entry to ‘gx_cpath_ensure_path_list’
ghostscript-10.06.0/base/gxcpath.c:663:12: call_function: calling ‘gx_cpath_path_list_new’ from ‘gx_cpath_ensure_path_list’
#  989|                 left:		/* Trace upward along a left edge. */
#  990|                   /* We're at the lower left corner of rp. */
#  991|->                 rp->to_visit &= ~visit_left;
#  992|                   /* Look for an adjacent rectangle above rp. */
#  993|                   for (look = rp;

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gxcpath.c:1037:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rp’
ghostscript-10.06.0/base/gxcpath.c:659:1: enter_function: entry to ‘gx_cpath_ensure_path_list’
ghostscript-10.06.0/base/gxcpath.c:663:12: call_function: calling ‘gx_cpath_path_list_new’ from ‘gx_cpath_ensure_path_list’
# 1035|                 right:		/* Trace downward along a right edge. */
# 1036|                   /* We're at the upper right corner of rp. */
# 1037|->                 rp->to_visit &= ~visit_right;
# 1038|                   /* Look for an adjacent rectangle below rp. */
# 1039|                   for (look = rp;

Error: COMPILER_WARNING:
ghostscript-10.06.0/base/gxctable.c: scope_hint: In function ‘gx_color_interpolate_nearest’
ghostscript-10.06.0/base/gxctable.c:35:28: warning[-Wunused-but-set-variable=]: variable ‘table’ set but not used
#   35 |     const gs_const_string *table = pclt->table;
#      |                            ^~~~~
#   33|       const int *pdim = pclt->dims;
#   34|       int m = pclt->m;
#   35|->     const gs_const_string *table = pclt->table;
#   36|   
#   37|       if (pclt->n > 3) {

Error: CPPCHECK_WARNING (CWE-758):
ghostscript-10.06.0/base/gxfill.c:522: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  520|           }
#  521|           code = (*fill_loop)
#  522|->             (&lst, (max_fill_band == 0 ? NO_BAND_MASK : int2fixed(-max_fill_band)));
#  523|           if (lst.windings != NULL && lst.windings != lst.local_windings)
#  524|               gs_free_object(pdev->memory, lst.windings, "gx_general_fill_path");

Error: GCC_ANALYZER_WARNING:
ghostscript-10.06.0/base/gxht_thresh.c:1089:29: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
ghostscript-10.06.0/base/gxht_thresh.c:1016:29: branch_true: following ‘true’ branch (when ‘j < spp_out’)...
ghostscript-10.06.0/base/gxht_thresh.c:1017:32: branch_true: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1024:24: branch_false: following ‘false’ branch (when ‘threshold’ is non-NULL)...
ghostscript-10.06.0/base/gxht_thresh.c:1027:37: branch_false: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1060:24: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxht_thresh.c:1060:24: branch_false: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1067:34: branch_false: following ‘false’ branch (when ‘jj >= init_tile’)...
ghostscript-10.06.0/base/gxht_thresh.c:1083:24: branch_false: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1083:24: branch_true: following ‘true’ branch (when ‘replicate_tile != 0’)...
ghostscript-10.06.0/base/gxht_thresh.c:1086:34: branch_true: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1088:38: branch_true: following ‘true’ branch (when ‘jj < num_tiles’)...
ghostscript-10.06.0/base/gxht_thresh.c:1089:59: branch_true: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1089:29: danger: overlapping buffers passed as arguments to ‘memcpy’
# 1087|                           tile_remainder = dest_height - (num_tiles + 1) * thresh_height;
# 1088|                           for (jj = 0; jj < num_tiles; jj ++) {
# 1089|->                             memcpy(ptr_out, thresh_align, LAND_BITS * thresh_height);
# 1090|                               ptr_out += LAND_BITS * thresh_height;
# 1091|                           }

Error: GCC_ANALYZER_WARNING:
ghostscript-10.06.0/base/gxht_thresh.c:1093:25: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
ghostscript-10.06.0/base/gxht_thresh.c:1016:29: branch_true: following ‘true’ branch (when ‘j < spp_out’)...
ghostscript-10.06.0/base/gxht_thresh.c:1017:32: branch_true: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1024:24: branch_false: following ‘false’ branch (when ‘threshold’ is non-NULL)...
ghostscript-10.06.0/base/gxht_thresh.c:1027:37: branch_false: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1060:24: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxht_thresh.c:1060:24: branch_false: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1067:34: branch_false: following ‘false’ branch (when ‘jj >= init_tile’)...
ghostscript-10.06.0/base/gxht_thresh.c:1083:24: branch_false: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1083:24: branch_true: following ‘true’ branch (when ‘replicate_tile != 0’)...
ghostscript-10.06.0/base/gxht_thresh.c:1086:34: branch_true: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1088:38: branch_false: following ‘false’ branch (when ‘jj >= num_tiles’)...
ghostscript-10.06.0/base/gxht_thresh.c:1093:55: branch_false: ...to here
ghostscript-10.06.0/base/gxht_thresh.c:1093:25: danger: overlapping buffers passed as arguments to ‘memcpy’
# 1091|                           }
# 1092|                           /* Now fill in the remainder */
# 1093|->                         memcpy(ptr_out, thresh_align, LAND_BITS * tile_remainder);
# 1094|                       }
# 1095|                       /* Apply the threshold operation */

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/base/gxi12bit.c:520:13: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.06.0/base/gxi12bit.c:520:13: danger: infinite loop here
ghostscript-10.06.0/base/gxi12bit.c:520:13: branch_true: when ‘curr_pos < bufend’: always following ‘true’ branch...
ghostscript-10.06.0/base/gxi12bit.c:520:13: branch_true: ...to here
ghostscript-10.06.0/base/gxi12bit.c:521:22: branch_false: when ‘k >= spp’: always following ‘false’ branch...
ghostscript-10.06.0/base/gxi12bit.c:521:22: branch_false: ...to here
#  518|       float temp;
#  519|   
#  520|->     while ( curr_pos < bufend ) {
#  521|           for ( k = 0; k < spp; k ++ ) {
#  522|               switch ( penum->map[k].decoding ) {

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/base/gxi12bit.c:559:13: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.06.0/base/gxi12bit.c:559:13: danger: infinite loop here
ghostscript-10.06.0/base/gxi12bit.c:559:13: branch_true: when ‘curr_pos < bufend’: always following ‘true’ branch...
ghostscript-10.06.0/base/gxi12bit.c:559:13: branch_true: ...to here
ghostscript-10.06.0/base/gxi12bit.c:560:22: branch_false: when ‘k >= spp’: always following ‘false’ branch...
ghostscript-10.06.0/base/gxi12bit.c:560:22: branch_false: ...to here
#  557|       float temp;
#  558|   
#  559|->     while ( curr_pos < bufend ) {
#  560|           for ( k = 0; k < spp; k ++ ) {
#  561|               switch ( penum->map[k].decoding ) {

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/base/gxicolor.c:377:13: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.06.0/base/gxicolor.c:377:13: danger: infinite loop here
ghostscript-10.06.0/base/gxicolor.c:377:13: branch_true: when ‘curr_pos < bufend’: always following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:377:13: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:378:22: branch_false: when ‘k >= spp’: always following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:378:22: branch_false: ...to here
#  375|       float temp;
#  376|   
#  377|->     while ( curr_pos < bufend ) {
#  378|           for ( k = 0; k < spp; k ++ ) {
#  379|               switch ( penum->map[k].decoding ) {

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/base/gxicolor.c:416:13: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.06.0/base/gxicolor.c:416:13: danger: infinite loop here
ghostscript-10.06.0/base/gxicolor.c:416:13: branch_true: when ‘curr_pos < bufend’: always following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:416:13: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:417:22: branch_false: when ‘k >= spp’: always following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:417:22: branch_false: ...to here
#  414|       float temp;
#  415|   
#  416|->     while ( curr_pos < bufend ) {
#  417|           for ( k = 0; k < spp; k ++ ) {
#  418|               switch ( penum->map[k].decoding ) {

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:806:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[0]’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_false: following ‘false’ branch (when ‘posture != 0’)...
ghostscript-10.06.0/base/gxicolor.c:731:9: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:757:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:787:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.06.0/base/gxicolor.c:797:10: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:806:13: danger: use of uninitialized value ‘devc_contone[0]’ here
#  804|           /* Monochrome output case */
#  805|           case 1:
#  806|->             devc_contone_gray = devc_contone[0];
#  807|               switch (posture) {
#  808|                   /* Monochrome portrait */

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/base/gxicolor.c:812:29: warning[-Wanalyzer-null-argument]: use of NULL ‘psrc_cm’ where non-null expected
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:674:11: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:674:28: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:675:11: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.06.0/base/gxicolor.c:706:9: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:810:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:811:28: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:811:28: branch_true: following ‘true’ branch (when ‘dest_width == src_size’)...
ghostscript-10.06.0/base/gxicolor.c:812:29: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:812:29: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:812:29: danger: argument 2 (‘psrc_cm’) NULL where non-null expected
#  810|                       if (penum->dst_width > 0) {
#  811|                           if (src_size == dest_width) {
#  812|->                             memcpy(devc_contone_gray, psrc_cm, data_length);
#  813|                           } else if (src_size * 2 == dest_width) {
#  814|                               psrc_temp = psrc_cm;

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gxicolor.c:818:62: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘psrc_temp’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:674:11: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:674:28: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:675:11: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.06.0/base/gxicolor.c:706:9: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:810:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:811:28: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:811:28: branch_false: following ‘false’ branch (when ‘dest_width != src_size’)...
ghostscript-10.06.0/base/gxicolor.c:813:36: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:813:35: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:814:29: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:814:29: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:815:41: branch_true: following ‘true’ branch (when ‘data_length > k’)...
ghostscript-10.06.0/base/gxicolor.c:818:62: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:818:62: danger: dereference of NULL ‘psrc_temp’
#  816|                                    devc_contone_gray+=2, psrc_temp++) {
#  817|                                   *devc_contone_gray =
#  818|->                                     *(devc_contone_gray+1) = *psrc_temp;
#  819|                               }
#  820|                           } else {

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gxicolor.c:827:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘psrc_temp’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:674:11: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:674:28: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:675:11: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.06.0/base/gxicolor.c:706:9: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:810:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:811:28: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:811:28: branch_false: following ‘false’ branch (when ‘dest_width != src_size’)...
ghostscript-10.06.0/base/gxicolor.c:813:36: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:813:35: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:822:29: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:822:29: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:823:39: branch_true: following ‘true’ branch (when ‘k < src_size’)...
ghostscript-10.06.0/base/gxicolor.c:824:33: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:824:33: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:824:33: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:826:40: branch_true: following ‘true’ branch (when ‘xr < xn’)...
ghostscript-10.06.0/base/gxicolor.c:827:38: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:827:60: danger: dereference of NULL ‘psrc_temp’
#  825|                                   xn = fixed2int_var_rounded(dda_current(dda_ht));
#  826|                                   while (xr < xn) {
#  827|->                                     *devc_contone_gray++ = *psrc_temp;
#  828|                                       xr++;
#  829|                                   }           /* at loop exit xn will be >= xr */

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gxicolor.c:841:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘psrc_temp’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:674:11: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:674:28: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:675:11: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.06.0/base/gxicolor.c:706:9: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:810:24: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:835:46: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:836:25: release_memory: ‘psrc_cm’ is NULL
ghostscript-10.06.0/base/gxicolor.c:837:35: branch_true: following ‘true’ branch (when ‘k < src_size’)...
ghostscript-10.06.0/base/gxicolor.c:838:29: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:838:29: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:838:29: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:840:36: branch_true: following ‘true’ branch (when ‘xr > xn’)...
ghostscript-10.06.0/base/gxicolor.c:841:34: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:841:56: danger: dereference of NULL ‘psrc_temp’
#  839|                               xn = fixed2int_var_rounded(dda_current(dda_ht));
#  840|                               while (xr > xn) {
#  841|->                                 *devc_contone_gray-- = *psrc_temp;
#  842|                                   xr--;
#  843|                               }           /* at loop exit xn will be >= xr */

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:919:53: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[0]’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:787:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.06.0/base/gxicolor.c:797:10: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:917:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_true: following ‘true’ branch (when ‘dest_width == src_size’)...
ghostscript-10.06.0/base/gxicolor.c:919:29: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:919:53: danger: use of uninitialized value ‘psrc_plane[0]’ here
#  917|                       if (penum->dst_width > 0) {
#  918|                           if (src_size == dest_width) {
#  919|->                             memcpy(devc_contone[0], psrc_plane[0], data_length);
#  920|                               memcpy(devc_contone[1], psrc_plane[1], data_length);
#  921|                               memcpy(devc_contone[2], psrc_plane[2], data_length);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:920:53: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[1]’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.06.0/base/gxicolor.c:706:9: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:917:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_true: following ‘true’ branch (when ‘dest_width == src_size’)...
ghostscript-10.06.0/base/gxicolor.c:919:29: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:920:53: danger: use of uninitialized value ‘psrc_plane[1]’ here
#  918|                           if (src_size == dest_width) {
#  919|                               memcpy(devc_contone[0], psrc_plane[0], data_length);
#  920|->                             memcpy(devc_contone[1], psrc_plane[1], data_length);
#  921|                               memcpy(devc_contone[2], psrc_plane[2], data_length);
#  922|                               memcpy(devc_contone[3], psrc_plane[3], data_length);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:926:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[0]’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:787:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.06.0/base/gxicolor.c:797:10: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:917:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_false: following ‘false’ branch (when ‘dest_width != src_size’)...
ghostscript-10.06.0/base/gxicolor.c:923:36: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:923:35: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:923:35: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:924:41: branch_true: following ‘true’ branch (when ‘data_length > k’)...
ghostscript-10.06.0/base/gxicolor.c:926:38: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:926:38: danger: use of uninitialized value ‘psrc_plane[0]’ here
#  924|                               for (k = 0; k < data_length; k+=2) {
#  925|                                   *(devc_contone[0]) = *(devc_contone[0]+1) =
#  926|->                                     *psrc_plane[0]++;
#  927|                                   *(devc_contone[1]) = *(devc_contone[1]+1) =
#  928|                                       *psrc_plane[1]++;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:928:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[1]’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.06.0/base/gxicolor.c:706:9: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:917:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_false: following ‘false’ branch (when ‘dest_width != src_size’)...
ghostscript-10.06.0/base/gxicolor.c:923:36: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:923:35: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:923:35: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:924:41: branch_true: following ‘true’ branch (when ‘data_length > k’)...
ghostscript-10.06.0/base/gxicolor.c:926:38: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:928:38: danger: use of uninitialized value ‘psrc_plane[1]’ here
#  926|                                       *psrc_plane[0]++;
#  927|                                   *(devc_contone[1]) = *(devc_contone[1]+1) =
#  928|->                                     *psrc_plane[1]++;
#  929|                                   *(devc_contone[2]) = *(devc_contone[2]+1) =
#  930|                                       *psrc_plane[2]++;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:944:60: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[0]’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:787:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.06.0/base/gxicolor.c:797:10: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:917:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_false: following ‘false’ branch (when ‘dest_width != src_size’)...
ghostscript-10.06.0/base/gxicolor.c:923:36: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:923:35: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:923:35: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:940:44: branch_true: following ‘true’ branch (when ‘j < src_size’)...
ghostscript-10.06.0/base/gxicolor.c:941:33: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:941:33: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:941:33: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:943:40: branch_true: following ‘true’ branch (when ‘xr < xn’)...
ghostscript-10.06.0/base/gxicolor.c:944:60: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:944:60: danger: use of uninitialized value ‘psrc_plane[0]’ here
#  942|                                   xn = fixed2int_var_rounded(dda_current(dda_ht));
#  943|                                   while (xr < xn) {
#  944|->                                     *(devc_contone[0])++ = (psrc_plane[0])[j];
#  945|                                       *(devc_contone[1])++ = (psrc_plane[1])[j];
#  946|                                       *(devc_contone[2])++ = (psrc_plane[2])[j];

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:945:60: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[1]’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.06.0/base/gxicolor.c:706:9: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:917:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:918:28: branch_false: following ‘false’ branch (when ‘dest_width != src_size’)...
ghostscript-10.06.0/base/gxicolor.c:923:36: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:923:35: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:923:35: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:940:44: branch_true: following ‘true’ branch (when ‘j < src_size’)...
ghostscript-10.06.0/base/gxicolor.c:941:33: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:941:33: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:941:33: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:943:40: branch_true: following ‘true’ branch (when ‘xr < xn’)...
ghostscript-10.06.0/base/gxicolor.c:944:60: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:945:60: danger: use of uninitialized value ‘psrc_plane[1]’ here
#  943|                                   while (xr < xn) {
#  944|                                       *(devc_contone[0])++ = (psrc_plane[0])[j];
#  945|->                                     *(devc_contone[1])++ = (psrc_plane[1])[j];
#  946|                                       *(devc_contone[2])++ = (psrc_plane[2])[j];
#  947|                                       *(devc_contone[3])++ = (psrc_plane[3])[j];

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:956:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[0]’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:787:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.06.0/base/gxicolor.c:797:10: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:917:24: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:956:25: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:956:25: danger: use of uninitialized value ‘devc_contone[0]’ here
#  954|                           /* CMYK case, backwards */
#  955|                           /* Move to the other end and we will decrement */
#  956|->                         devc_contone[0] += (data_length - 1);
#  957|                           devc_contone[1] += (data_length - 1);
#  958|                           devc_contone[2] += (data_length - 1);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:957:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[1]’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_true: following ‘true’ branch (when ‘posture == 0’)...
ghostscript-10.06.0/base/gxicolor.c:706:9: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:917:24: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:956:25: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:957:25: danger: use of uninitialized value ‘devc_contone[1]’ here
#  955|                           /* Move to the other end and we will decrement */
#  956|                           devc_contone[0] += (data_length - 1);
#  957|->                         devc_contone[1] += (data_length - 1);
#  958|                           devc_contone[2] += (data_length - 1);
#  959|                           devc_contone[3] += (data_length - 1);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:989:69: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[j]’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_false: following ‘false’ branch (when ‘posture != 0’)...
ghostscript-10.06.0/base/gxicolor.c:731:9: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:757:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:787:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.06.0/base/gxicolor.c:797:10: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:980:24: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:981:36: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:984:40: branch_true: following ‘true’ branch (when ‘i < src_size’)...
ghostscript-10.06.0/base/gxicolor.c:985:29: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:985:29: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:985:29: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:988:45: branch_true: following ‘true’ branch (when ‘j <= 3’)...
ghostscript-10.06.0/base/gxicolor.c:989:69: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:989:69: danger: use of uninitialized value ‘psrc_plane[j]’ here
#  987|                               while (xr > xn) {
#  988|                                   for (j = 0; j < spp_out; j++)
#  989|->                                     *(devc_contone[j] + position) = (psrc_plane[j])[i];
#  990|                                   position -= LAND_BITS;
#  991|                                   xr--;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxicolor.c:1002:47: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[k]’
ghostscript-10.06.0/base/gxicolor.c:647:1: enter_function: entry to ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:678:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxicolor.c:680:16: call_function: calling ‘image_color_icc_prep’ from ‘image_render_color_thresh’
ghostscript-10.06.0/base/gxicolor.c:680:16: return_function: returning to ‘image_render_color_thresh’ from ‘image_color_icc_prep’
ghostscript-10.06.0/base/gxicolor.c:682:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:698:5: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:705:5: branch_false: following ‘false’ branch (when ‘posture != 0’)...
ghostscript-10.06.0/base/gxicolor.c:731:9: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:757:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gxicolor.c:783:8: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:787:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.06.0/base/gxicolor.c:797:10: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:980:24: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxicolor.c:996:25: branch_false: ...to here
ghostscript-10.06.0/base/gxicolor.c:1001:37: branch_true: following ‘true’ branch (when ‘k <= 3’)...
ghostscript-10.06.0/base/gxicolor.c:1002:47: branch_true: ...to here
ghostscript-10.06.0/base/gxicolor.c:1002:47: danger: use of uninitialized value ‘devc_contone[k]’ here
# 1000|                           /* Apply initial offset */
# 1001|                           for (k = 0; k < spp_out; k++)
# 1002|->                             devc_contone[k] = devc_contone[k] + position;
# 1003|                           if (src_size == dest_height) {
# 1004|                               for (k = 0; k < data_length; k++) {

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/base/gximdecode.c:191:12: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.06.0/base/gximdecode.c:191:12: danger: infinite loop here
ghostscript-10.06.0/base/gximdecode.c:191:12: branch_true: when ‘curr_pos < bufend’: always following ‘true’ branch...
ghostscript-10.06.0/base/gximdecode.c:191:12: branch_true: ...to here
ghostscript-10.06.0/base/gximdecode.c:192:21: branch_false: when ‘k >= spp’: always following ‘false’ branch...
ghostscript-10.06.0/base/gximdecode.c:192:21: branch_false: ...to here
#  189|       float temp;
#  190|   
#  191|->     while (curr_pos < (byte*) bufend) {
#  192|           for (k = 0; k < spp; k++) {
#  193|               switch (map[k].decoding) {

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/base/gximdecode.c:227:12: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.06.0/base/gximdecode.c:227:12: danger: infinite loop here
ghostscript-10.06.0/base/gximdecode.c:227:12: branch_true: when ‘curr_pos < bufend’: always following ‘true’ branch...
ghostscript-10.06.0/base/gximdecode.c:227:12: branch_true: ...to here
ghostscript-10.06.0/base/gximdecode.c:228:21: branch_false: when ‘k >= spp’: always following ‘false’ branch...
ghostscript-10.06.0/base/gximdecode.c:228:21: branch_false: ...to here
#  225|       float temp;
#  226|   
#  227|->     while (curr_pos < (unsigned short*) bufend) {
#  228|           for (k = 0; k < spp; k++) {
#  229|               switch (map[k].decoding) {

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/base/gximono.c:972:13: warning[-Wanalyzer-jump-through-null]: jump through null pointer
ghostscript-10.06.0/base/gximono.c:425:8: branch_false: following ‘false’ branch (when ‘h != 0’)...
ghostscript-10.06.0/base/gximono.c:433:5: branch_false: ...to here
ghostscript-10.06.0/base/gximono.c:435:8: branch_false: following ‘false’ branch (when ‘masked != 0’)...
ghostscript-10.06.0/base/gximono.c:439:5: branch_false: ...to here
ghostscript-10.06.0/base/gximono.c:451:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gximono.c:947:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gximono.c:948:17: branch_true: ...to here
ghostscript-10.06.0/base/gximono.c:972:13: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gximono.c:972:13: branch_true: ...to here
ghostscript-10.06.0/base/gximono.c:972:13: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gximono.c:972:13: branch_false: ...to here
ghostscript-10.06.0/base/gximono.c:972:13: danger: jump through null pointer here
#  970|                   goto err;
#  971|   #else
#  972|->             IMAGE_SET_GRAY(*stop);
#  973|   #endif
#  974|               code = gx_fill_rectangle_device_rop(xi, yt, wi, iht,

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gximono.c:1169:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[0]’
ghostscript-10.06.0/base/gximono.c:1128:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gximono.c:1154:8: branch_false: ...to here
ghostscript-10.06.0/base/gximono.c:1154:8: branch_false: following ‘false’ branch (when ‘flush_buff == 0’)...
ghostscript-10.06.0/base/gximono.c:1154:8: branch_false: ...to here
ghostscript-10.06.0/base/gximono.c:1158:17: branch_false: following ‘false’ branch (when ‘k >= spp_out’)...
ghostscript-10.06.0/base/gximono.c:1167:10: branch_false: ...to here
ghostscript-10.06.0/base/gximono.c:1169:5: danger: use of uninitialized value ‘devc_contone[0]’ here
# 1167|       xr = fixed2int_var_rounded(dda_current(dda_ht));	/* indexes in the destination (contone) */
# 1168|   
# 1169|->     devc_contone_gray = devc_contone[0];
# 1170|       if (penum->color_cache == NULL) {
# 1171|           /* No look-up in the cache to fill the source buffer. Still need to

Error: COMPILER_WARNING (CWE-457):
ghostscript-10.06.0/base/gximono.c: scope_hint: In function ‘image_render_mono_ht’
ghostscript-10.06.0/base/gximono.c:1169:23: warning[-Wmaybe-uninitialized]: ‘devc_contone’ may be used uninitialized
# 1169 |     devc_contone_gray = devc_contone[0];
#      |     ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
ghostscript-10.06.0/base/gximono.c:1040:11: note: ‘devc_contone’ declared here
# 1040 |     byte *devc_contone[GX_DEVICE_COLOR_MAX_COMPONENTS];
#      |           ^~~~~~~~~~~~
# 1167|       xr = fixed2int_var_rounded(dda_current(dda_ht));	/* indexes in the destination (contone) */
# 1168|   
# 1169|->     devc_contone_gray = devc_contone[0];
# 1170|       if (penum->color_cache == NULL) {
# 1171|           /* No look-up in the cache to fill the source buffer. Still need to

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxipixel.c:1251:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&psrc’
ghostscript-10.06.0/base/gxipixel.c:1177:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxipixel.c:1180:8: branch_false: ...to here
ghostscript-10.06.0/base/gxipixel.c:1195:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxipixel.c:1198:50: branch_false: ...to here
ghostscript-10.06.0/base/gxipixel.c:1202:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxipixel.c:1222:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxipixel.c:1224:13: branch_true: ...to here
ghostscript-10.06.0/base/gxipixel.c:1224:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxipixel.c:1224:12: branch_true: ...to here
ghostscript-10.06.0/base/gxipixel.c:1227:25: branch_true: following ‘true’ branch (when ‘k < num_entries’)...
ghostscript-10.06.0/base/gxipixel.c:1229:20: branch_true: ...to here
ghostscript-10.06.0/base/gxipixel.c:1229:20: branch_true: following ‘true’ branch (when ‘need_decode != 0’)...
ghostscript-10.06.0/base/gxipixel.c:1230:21: branch_true: ...to here
ghostscript-10.06.0/base/gxipixel.c:1235:20: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxipixel.c:1238:21: branch_false: ...to here
ghostscript-10.06.0/base/gxipixel.c:1251:17: danger: use of uninitialized value ‘&psrc’ here
# 1249|                       }
# 1250|                   }
# 1251|->                 memcpy(&(penum->color_cache->device_contone[k * num_des_comp]),
# 1252|                                  psrc, num_des_comp);
# 1253|               }

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxiscale.c:2460:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc.type’
ghostscript-10.06.0/base/gxiscale.c:2315:1: enter_function: entry to ‘image_render_interpolate_landscape’
ghostscript-10.06.0/base/gxiscale.c:2333:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxiscale.c:2336:9: branch_false: ...to here
ghostscript-10.06.0/base/gxiscale.c:2340:5: call_function: calling ‘initial_decode’ from ‘image_render_interpolate_landscape’
ghostscript-10.06.0/base/gxiscale.c:2340:5: return_function: returning to ‘image_render_interpolate_landscape’ from ‘initial_decode’
ghostscript-10.06.0/base/gxiscale.c:2366:16: branch_true: following ‘true’ branch (when ‘abs_interp_limit > 1’)...
ghostscript-10.06.0/base/gxiscale.c:2367:17: branch_true: ...to here
ghostscript-10.06.0/base/gxiscale.c:2370:17: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxiscale.c:2370:17: branch_true: ...to here
ghostscript-10.06.0/base/gxiscale.c:2380:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxiscale.c:2382:17: branch_false: ...to here
ghostscript-10.06.0/base/gxiscale.c:2382:16: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/gxiscale.c:2383:32: branch_true: ...to here
ghostscript-10.06.0/base/gxiscale.c:2387:20: branch_true: following ‘true’ branch (when ‘abs_interp_limit > 1’)...
ghostscript-10.06.0/base/gxiscale.c:2388:32: branch_true: ...to here
ghostscript-10.06.0/base/gxiscale.c:2388:32: call_function: calling ‘interpolate_scaled_expanded_height’ from ‘image_render_interpolate_landscape’
ghostscript-10.06.0/base/gxiscale.c:2388:32: return_function: returning to ‘image_render_interpolate_landscape’ from ‘interpolate_scaled_expanded_height’
ghostscript-10.06.0/base/gxiscale.c:2394:20: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/gxiscale.c:2398:26: branch_false: ...to here
ghostscript-10.06.0/base/gxiscale.c:2399:20: branch_true: following ‘true’ branch (when ‘color_handler’ is NULL)...
ghostscript-10.06.0/base/gxiscale.c:2400:37: branch_true: ...to here
ghostscript-10.06.0/base/gxiscale.c:2400:37: call_function: calling ‘get_color_handler’ from ‘image_render_interpolate_landscape’
ghostscript-10.06.0/base/gxiscale.c:2400:37: return_function: returning to ‘image_render_interpolate_landscape’ from ‘get_color_handler’
ghostscript-10.06.0/base/gxiscale.c:2401:30: branch_true: following ‘true’ branch (when ‘x < xe’)...
ghostscript-10.06.0/base/gxiscale.c:2402:24: branch_true: ...to here
ghostscript-10.06.0/base/gxiscale.c:2402:24: branch_false: following ‘false’ branch (when ‘color_handler’ is NULL)...
ghostscript-10.06.0/base/gxiscale.c:2423:25: branch_false: ...to here
ghostscript-10.06.0/base/gxiscale.c:2452:28: branch_false: following ‘false’ branch (when ‘abs_interp_limit > 1’)...
ghostscript-10.06.0/base/gxiscale.c:2457:49: branch_false: ...to here
ghostscript-10.06.0/base/gxiscale.c:2459:40: call_function: calling ‘interpolate_scaled_expanded_width’ from ‘image_render_interpolate_landscape’
ghostscript-10.06.0/base/gxiscale.c:2459:40: return_function: returning to ‘image_render_interpolate_landscape’ from ‘interpolate_scaled_expanded_width’
ghostscript-10.06.0/base/gxiscale.c:2460:37: danger: use of uninitialized value ‘devc.type’ here
# 2458|   
# 2459|                               scaled_w = interpolate_scaled_expanded_width(rep, pss);
# 2460|->                             rcode = gx_fill_rectangle_device_rop(scaled_y, scaled_x, scaled_h, scaled_w,
# 2461|                                                                    &devc, dev, lop);
# 2462|                               if (rcode < 0)

Error: COMPILER_WARNING (CWE-457):
ghostscript-10.06.0/base/gxshade6.c:1438:35: warning[-Wmaybe-uninitialized]: ‘d0001’ may be used uninitialized
# 1438 |     m = any_abs(c->cc.paint.values[0]) / pfs->color_domain.paint.values[0];
ghostscript-10.06.0/base/gxshade6.c: scope_hint: In function ‘fill_quadrangle.isra.0’
ghostscript-10.06.0/base/gxshade6.c:3297:19: note: ‘d0001’ declared here
# 3297 |     patch_color_t d0001, d1011, d;
#      |                   ^~~~~
# 1436|       double m;
# 1437|   
# 1438|->     m = any_abs(c->cc.paint.values[0]) / pfs->color_domain.paint.values[0];
# 1439|       for (i = 1; i < n; i++)
# 1440|           m = max(m, any_abs(c->cc.paint.values[i]) / pfs->color_domain.paint.values[i]);

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/base/ramfs.c:162:15: warning[-Wanalyzer-infinite-loop]: infinite loop
#  160|           /* don't bother shrinking the block array */
#  161|           file->fs->blocksfree += (file->blocks-newblocks);
#  162|->         while(file->blocks > newblocks) {
#  163|               gs_free_object(file->fs->memory, file->data[--file->blocks], "ramfs resize");
#  164|           }

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/sdcparam.c:152: warning[uninitvar]: Uninitialized variable: comp_info
#  150|   
#  151|           for (i = 0; i < num_in_tables; ++i) {
#  152|->             JQUANT_TBL *tbl = table_ptrs[comp_info[i].quant_tbl_no];
#  153|               JQUANT_TBL *default_tbl =
#  154|               (default_comp_info == 0 || default_table_ptrs == 0 ? 0 :

Error: COMPILER_WARNING (CWE-563):
ghostscript-10.06.0/base/sdctc.c: scope_hint: In function ‘stream_dct_end_passthrough’
ghostscript-10.06.0/base/sdctc.c:89:10: warning[-Wunused-variable]: unused variable ‘EOI’
#   89 |     char EOI[2] = {0xff, 0xD9};
#      |          ^~~
#   87|   stream_dct_end_passthrough(jpeg_decompress_data *jddp)
#   88|   {
#   89|->     char EOI[2] = {0xff, 0xD9};
#   90|   
#   91|       if (jddp != NULL && jddp->PassThrough != 0 && jddp->PassThroughfn != NULL) {

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/sdeparam.c:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&samples’
ghostscript-10.06.0/base/sdeparam.c:92:1: enter_function: entry to ‘s_DCTE_get_params’
ghostscript-10.06.0/base/sdeparam.c:101:8: branch_true: following ‘true’ branch (when ‘all == 0’)...
ghostscript-10.06.0/base/sdeparam.c:102:44: branch_true: ...to here
ghostscript-10.06.0/base/sdeparam.c:104:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/sdeparam.c:107:11: branch_false: ...to here
ghostscript-10.06.0/base/sdeparam.c:110:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/sdeparam.c:113:9: branch_false: ...to here
ghostscript-10.06.0/base/sdeparam.c:125:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/sdeparam.c:126:17: branch_false: ...to here
ghostscript-10.06.0/base/sdeparam.c:125:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/sdeparam.c:129:17: branch_false: ...to here
ghostscript-10.06.0/base/sdeparam.c:129:17: call_function: calling ‘dcte_get_samples’ from ‘s_DCTE_get_params’
ghostscript-10.06.0/base/sdeparam.c:129:17: return_function: returning to ‘s_DCTE_get_params’ from ‘dcte_get_samples’
ghostscript-10.06.0/base/sdeparam.c:125:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/sdeparam.c:131:17: branch_false: ...to here
ghostscript-10.06.0/base/sdeparam.c:131:17: call_function: calling ‘dcte_get_samples’ from ‘s_DCTE_get_params’
#   83|           sa.size = num_colors;
#   84|           sa.persistent = true;
#   85|->         memcpy(data, samples, num_colors * sizeof(samples[0]));
#   86|           return param_write_int_array(plist, key, &sa);
#   87|       }

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/sfilter2.c:206:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buf[1]’
ghostscript-10.06.0/base/sfilter2.c:182:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/sfilter2.c:184:22: branch_true: following ‘true’ branch (when ‘count != 0’)...
ghostscript-10.06.0/base/sfilter2.c:184:40: branch_true: ...to here
ghostscript-10.06.0/base/sfilter2.c:196:26: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/sfilter2.c:197:27: branch_true: ...to here
ghostscript-10.06.0/base/sfilter2.c:196:26: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/sfilter2.c:205:17: branch_false: ...to here
ghostscript-10.06.0/base/sfilter2.c:205:17: branch_true: following ‘true’ branch...
ghostscript-10.06.0/base/sfilter2.c:206:32: danger: use of uninitialized value ‘buf[1]’ here
#  204|           }
#  205|           space = count && buf[0] == '%' &&
#  206|->           ( (prev == '\n' && ( buf[1] == '%' || buf[1] =='!')) ||
#  207|               (prev == '%'  && qn - q == LINE_LIMIT - 1)
#  208|             );

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/base/slzwd.c:371:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b’
ghostscript-10.06.0/base/slzwd.c:132:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/slzwd.c:136:8: branch_false: ...to here
ghostscript-10.06.0/base/slzwd.c:136:8: branch_true: following ‘true’ branch (when ‘code >= 0’)...
ghostscript-10.06.0/base/slzwd.c:137:13: branch_true: ...to here
ghostscript-10.06.0/base/slzwd.c:150:16: branch_false: following ‘false’ branch (when ‘n < 0’)...
ghostscript-10.06.0/base/slzwd.c:154:13: branch_false: ...to here
ghostscript-10.06.0/base/slzwd.c:154:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/slzwd.c:158:9: branch_false: ...to here
ghostscript-10.06.0/base/slzwd.c:161:12: branch_false: following ‘false’ branch (when ‘c != eod’)...
ghostscript-10.06.0/base/slzwd.c:161:12: branch_false: ...to here
ghostscript-10.06.0/base/slzwd.c:165:20: branch_false: following ‘false’ branch (when ‘c == eod’)...
ghostscript-10.06.0/base/slzwd.c:168:9: branch_false: ...to here
ghostscript-10.06.0/base/slzwd.c:324:16: branch_true: following ‘true’ branch (when ‘prev_code >= 0’)...
ghostscript-10.06.0/base/slzwd.c:330:21: branch_true: ...to here
ghostscript-10.06.0/base/slzwd.c:330:20: branch_false: following ‘false’ branch...
ghostscript-10.06.0/base/slzwd.c:370:20: branch_false: ...to here
ghostscript-10.06.0/base/slzwd.c:370:20: branch_true: following ‘true’ branch (when ‘next_code <= 4095’)...
ghostscript-10.06.0/base/slzwd.c:371:21: branch_true: ...to here
ghostscript-10.06.0/base/slzwd.c:371:21: danger: use of uninitialized value ‘b’ here
#  369|                   }
#  370|                   if (next_code < lzw_decode_max) {
#  371|->                     dc_next->datum = b;	/* added char of string */
#  372|                       dc_next->len = min(prev_len, 254) + 1;
#  373|                       dc_next->prefix = prev_code;

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/base/spsdf.c:102: error[uninitvar]: Uninitialized variable: buf
#  100|   
#  101|               status = (*templat->process) (st, &r, &w, true);
#  102|->             stream_write(s, buf, (uint) (w.ptr + 1 - buf));
#  103|           }
#  104|           while (status == 1);

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:51:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nodes’
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:797:6: enter_function: entry to ‘BrotliCreateZopfliBackwardReferences’
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:802:23: branch_false: following ‘false’ branch (when ‘num_bytes == 18446744073709551615’)...
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:804:3: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:804:3: call_function: inlined call to ‘BrotliInitZopfliNodes’ from ‘BrotliCreateZopfliBackwardReferences’
#   49|     stub.dcode_insert_length = 0;
#   50|     stub.u.cost = kInfinity;
#   51|->   for (i = 0; i < length; ++i) array[i] = stub;
#   52|   }
#   53|   

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:224:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘literal_costs’
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:707:8: enter_function: entry to ‘BrotliZopfliComputeShortestPath’
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:730:3: call_function: calling ‘InitZopfliCostModel’ from ‘BrotliZopfliComputeShortestPath’
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:730:3: return_function: returning to ‘BrotliZopfliComputeShortestPath’ from ‘InitZopfliCostModel’
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:732:3: call_function: calling ‘ZopfliCostModelSetFromLiteralCosts’ from ‘BrotliZopfliComputeShortestPath’
#  222|                                       ringbuffer, self->literal_histograms,
#  223|                                       &literal_costs[1]);
#  224|->   literal_costs[0] = 0.0;
#  225|     for (i = 0; i < num_bytes; ++i) {
#  226|       literal_carry += literal_costs[i + 1];

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:611: error[ctunullpointer]: Null pointer dereference: nodes
#  609|     const size_t max_backward_limit = BROTLI_MAX_BACKWARD_LIMIT(params->lgwin);
#  610|     size_t pos = 0;
#  611|->   uint32_t offset = nodes[0].u.next;
#  612|     size_t i;
#  613|     size_t gap = params->dictionary.compound.total_size;

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:611: warning[nullPointer]: Possible null pointer dereference: nodes
#  609|     const size_t max_backward_limit = BROTLI_MAX_BACKWARD_LIMIT(params->lgwin);
#  610|     size_t pos = 0;
#  611|->   uint32_t offset = nodes[0].u.next;
#  612|     size_t i;
#  613|     size_t gap = params->dictionary.compound.total_size;

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:728: warning[nullPointer]: Possible null pointer dereference: nodes
#  726|       return 0;
#  727|     }
#  728|->   nodes[0].length = 0;
#  729|     nodes[0].u.cost = 0;
#  730|     InitZopfliCostModel(m, model, &params->dist, num_bytes);

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:728:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nodes’
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:797:6: enter_function: entry to ‘BrotliCreateZopfliBackwardReferences’
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:802:23: branch_false: following ‘false’ branch (when ‘num_bytes == 18446744073709551615’)...
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:804:3: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:804:3: call_function: inlined call to ‘BrotliInitZopfliNodes’ from ‘BrotliCreateZopfliBackwardReferences’
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:805:20: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:805:20: call_function: calling ‘BrotliZopfliComputeShortestPath’ from ‘BrotliCreateZopfliBackwardReferences’
#  726|       return 0;
#  727|     }
#  728|->   nodes[0].length = 0;
#  729|     nodes[0].u.cost = 0;
#  730|     InitZopfliCostModel(m, model, &params->dist, num_bytes);

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/backward_references_hq.c:729: warning[nullPointer]: Possible null pointer dereference: nodes
#  727|     }
#  728|     nodes[0].length = 0;
#  729|->   nodes[0].u.cost = 0;
#  730|     InitZopfliCostModel(m, model, &params->dist, num_bytes);
#  731|     if (BROTLI_IS_OOM(m)) return 0;

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:64:7: warning[-Wanalyzer-null-argument]: use of NULL ‘literals’ where non-null expected
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:125:6: enter_function: entry to ‘BrotliSplitBlock’
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:136:29: call_function: inlined call to ‘CountLiterals’ from ‘BrotliSplitBlock’
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:137:25: branch_false: following ‘false’ branch (when ‘total_length == 0’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:140:5: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:140:5: call_function: calling ‘CopyLiteralsToByteArray’ from ‘BrotliSplitBlock’
#   62|       if (from_pos + insert_len > mask) {
#   63|         size_t head_size = mask + 1 - from_pos;
#   64|->       memcpy(literals + pos, data + from_pos, head_size);
#   65|         from_pos = 0;
#   66|         pos += head_size;

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:70:7: warning[-Wanalyzer-null-argument]: use of NULL ‘literals’ where non-null expected
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:125:6: enter_function: entry to ‘BrotliSplitBlock’
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:136:29: call_function: inlined call to ‘CountLiterals’ from ‘BrotliSplitBlock’
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:137:25: branch_false: following ‘false’ branch (when ‘total_length == 0’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:140:5: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter.c:140:5: call_function: calling ‘CopyLiteralsToByteArray’ from ‘BrotliSplitBlock’
#   68|       }
#   69|       if (insert_len > 0) {
#   70|->       memcpy(literals + pos, data + from_pos, insert_len);
#   71|         pos += insert_len;
#   72|       }

Error: CPPCHECK_WARNING (CWE-682):
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:232: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  230|     size_t i;
#  231|     uint32_t* BROTLI_RESTRICT const sizes = u32 + 0 * HISTOGRAMS_PER_BATCH;
#  232|->   uint32_t* BROTLI_RESTRICT const new_clusters = u32 + 1 * HISTOGRAMS_PER_BATCH;
#  233|     uint32_t* BROTLI_RESTRICT const symbols = u32 + 2 * HISTOGRAMS_PER_BATCH;
#  234|     uint32_t* BROTLI_RESTRICT const remap = u32 + 3 * HISTOGRAMS_PER_BATCH;

Error: CPPCHECK_WARNING (CWE-682):
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:233: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  231|     uint32_t* BROTLI_RESTRICT const sizes = u32 + 0 * HISTOGRAMS_PER_BATCH;
#  232|     uint32_t* BROTLI_RESTRICT const new_clusters = u32 + 1 * HISTOGRAMS_PER_BATCH;
#  233|->   uint32_t* BROTLI_RESTRICT const symbols = u32 + 2 * HISTOGRAMS_PER_BATCH;
#  234|     uint32_t* BROTLI_RESTRICT const remap = u32 + 3 * HISTOGRAMS_PER_BATCH;
#  235|     uint32_t* BROTLI_RESTRICT const block_lengths =

Error: CPPCHECK_WARNING (CWE-682):
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:234: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  232|     uint32_t* BROTLI_RESTRICT const new_clusters = u32 + 1 * HISTOGRAMS_PER_BATCH;
#  233|     uint32_t* BROTLI_RESTRICT const symbols = u32 + 2 * HISTOGRAMS_PER_BATCH;
#  234|->   uint32_t* BROTLI_RESTRICT const remap = u32 + 3 * HISTOGRAMS_PER_BATCH;
#  235|     uint32_t* BROTLI_RESTRICT const block_lengths =
#  236|         u32 + 4 * HISTOGRAMS_PER_BATCH;

Error: CPPCHECK_WARNING (CWE-682):
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:236: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  234|     uint32_t* BROTLI_RESTRICT const remap = u32 + 3 * HISTOGRAMS_PER_BATCH;
#  235|     uint32_t* BROTLI_RESTRICT const block_lengths =
#  236|->       u32 + 4 * HISTOGRAMS_PER_BATCH;
#  237|     /* TODO(eustas): move to arena? */
#  238|     HistogramType* tmp = BROTLI_ALLOC(m, HistogramType, 2);

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:247: warning[nullPointer]: Possible null pointer dereference: u32
#  245|     }
#  246|   
#  247|->   memset(u32, 0, (num_blocks + 4 * HISTOGRAMS_PER_BATCH) * sizeof(uint32_t));
#  248|   
#  249|     /* Calculate block lengths (convert repeating values -> series length). */

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:247:3: warning[-Wanalyzer-null-argument]: use of NULL ‘u32’ where non-null expected
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:201:13: enter_function: entry to ‘ClusterBlocksDistance’
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:206:33: branch_true: following ‘true’ branch (when ‘num_blocks != 0’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:206:33: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:208:7: branch_false: following ‘false’ branch (when ‘num_blocks == 18446744073709551360’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:210:7: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:214:7: branch_false: following ‘false’ branch (when ‘expected_num_clusters == 0’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:219:31: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:219:31: branch_true: following ‘true’ branch (when ‘num_blocks != 0’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:219:31: call_function: inlined call to ‘brotli_min_size_t’ from ‘ClusterBlocksDistance’
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:247:3: danger: argument 1 (‘u32’) NULL where non-null expected
#  245|     }
#  246|   
#  247|->   memset(u32, 0, (num_blocks + 4 * HISTOGRAMS_PER_BATCH) * sizeof(uint32_t));
#  248|   
#  249|     /* Calculate block lengths (convert repeating values -> series length). */

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:278:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘u32’
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:201:13: enter_function: entry to ‘ClusterBlocksDistance’
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:206:33: branch_true: following ‘true’ branch (when ‘num_blocks != 0’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:206:33: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:208:7: branch_false: following ‘false’ branch (when ‘num_blocks == 18446744073709551360’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:210:7: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:214:7: branch_false: following ‘false’ branch (when ‘expected_num_clusters == 0’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:219:31: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:219:31: branch_true: following ‘true’ branch (when ‘num_blocks != 0’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:219:31: call_function: inlined call to ‘brotli_min_size_t’ from ‘ClusterBlocksDistance’
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:252:17: branch_false: following ‘false’ branch (when ‘i >= length’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:252:17: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:263:15: branch_true: following ‘true’ branch (when ‘i < num_blocks’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:265:9: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:268:17: branch_true: following ‘true’ branch...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:270:43: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:272:19: branch_false: following ‘false’ branch (when ‘k >= block_length’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:275:33: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:278:7: danger: dereference of NULL ‘u32 + j * 4’
#  276|         new_clusters[j] = (uint32_t)j;
#  277|         symbols[j] = (uint32_t)j;
#  278|->       sizes[j] = 1;
#  279|       }
#  280|       num_new_clusters = FN(BrotliHistogramCombine)(

Error: CPPCHECK_WARNING (CWE-682):
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:434: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  432|     }
#  433|     histograms = BROTLI_ALLOC(m, HistogramType, num_histograms + 1);
#  434|->   tmp = histograms + num_histograms;
#  435|     if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(histograms)) return;
#  436|     /* Find good entropy codes. */

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/cluster_inc.h:214:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tmp’
ghostscript-10.06.0/brotli/c/enc/cluster_inc.h:214:59: branch_true: following ‘true’ branch (when ‘length != 0’)...
ghostscript-10.06.0/brotli/c/enc/cluster_inc.h:214:59: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/cluster_inc.h:214:59: branch_false: following ‘false’ branch (when ‘next_index == 0’)...
ghostscript-10.06.0/brotli/c/enc/cluster_inc.h:214:59: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/cluster_inc.h:214:59: branch_true: following ‘true’ branch...
ghostscript-10.06.0/brotli/c/enc/cluster_inc.h:214:59: danger: dereference of NULL ‘tmp + (long unsigned int)next_index * 2192’
#  212|      Returns N, the number of unique values in symbols[]. */
#  213|   BROTLI_INTERNAL size_t FN(BrotliHistogramReindex)(MemoryManager* m,
#  214|->     HistogramType* out, uint32_t* symbols, size_t length) CODE({
#  215|     static const uint32_t kInvalidIndex = BROTLI_UINT32_MAX;
#  216|     uint32_t* new_index = BROTLI_ALLOC(m, uint32_t, length);

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:90:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:42:6: branch_false: following ‘false’ branch (when ‘slot_bits <= 16’)...
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:43:6: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:43:6: branch_false: following ‘false’ branch (when ‘slot_bits <= bucket_bits’)...
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:44:7: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:44:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:46:10: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:46:10: branch_false: following ‘false’ branch (when ‘alloc_size == 0’)...
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:50:38: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:70:15: branch_true: following ‘true’ branch (when ‘i < num_slots’)...
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:72:15: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:78:19: branch_true: following ‘true’ branch...
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:79:28: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:82:12: branch_false: following ‘false’ branch (when ‘count <= 65534’)...
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:86:12: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:78:19: branch_false: following ‘false’ branch...
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:89:10: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:89:10: branch_true: following ‘true’ branch (when ‘overflow == 0’)...
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:90:18: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:90:9: danger: dereference of NULL ‘flat + (long unsigned int)i * 4’
#   88|         }
#   89|         if (!overflow) {
#   90|->         slot_size[i] = count;
#   91|           total_items += count;
#   92|           break;

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:113: warning[nullPointer]: Possible null pointer dereference: result
#  111|     source_ref = (uint8_t**)(&items[total_items]);
#  112|   
#  113|->   result->magic = kLeanPreparedDictionaryMagic;
#  114|     result->num_items = total_items;
#  115|     result->source_size = (uint32_t)source_size;

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:114: warning[nullPointer]: Possible null pointer dereference: result
#  112|   
#  113|     result->magic = kLeanPreparedDictionaryMagic;
#  114|->   result->num_items = total_items;
#  115|     result->source_size = (uint32_t)source_size;
#  116|     result->hash_bits = hash_bits;

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:115: warning[nullPointer]: Possible null pointer dereference: result
#  113|     result->magic = kLeanPreparedDictionaryMagic;
#  114|     result->num_items = total_items;
#  115|->   result->source_size = (uint32_t)source_size;
#  116|     result->hash_bits = hash_bits;
#  117|     result->bucket_bits = bucket_bits;

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:116: warning[nullPointer]: Possible null pointer dereference: result
#  114|     result->num_items = total_items;
#  115|     result->source_size = (uint32_t)source_size;
#  116|->   result->hash_bits = hash_bits;
#  117|     result->bucket_bits = bucket_bits;
#  118|     result->slot_bits = slot_bits;

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:117: warning[nullPointer]: Possible null pointer dereference: result
#  115|     result->source_size = (uint32_t)source_size;
#  116|     result->hash_bits = hash_bits;
#  117|->   result->bucket_bits = bucket_bits;
#  118|     result->slot_bits = slot_bits;
#  119|     BROTLI_UNALIGNED_STORE_PTR(source_ref, source);

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/compound_dictionary.c:118: warning[nullPointer]: Possible null pointer dereference: result
#  116|     result->hash_bits = hash_bits;
#  117|     result->bucket_bits = bucket_bits;
#  118|->   result->slot_bits = slot_bits;
#  119|     BROTLI_UNALIGNED_STORE_PTR(source_ref, source);
#  120|   

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/encode.c:174: warning[nullPointer]: Possible null pointer dereference: table
#  172|   
#  173|     *table_size = htsize;
#  174|->   memset(table, 0, htsize * sizeof(*table));
#  175|     return table;
#  176|   }

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/brotli/c/enc/encode.c:1047:9: warning[-Wanalyzer-null-argument]: use of NULL ‘new_commands’ where non-null expected
ghostscript-10.06.0/brotli/c/enc/encode.c:1583:13: enter_function: entry to ‘BrotliEncoderCompressStream’
ghostscript-10.06.0/brotli/c/enc/encode.c:1587:8: call_function: calling ‘EnsureInitialized’ from ‘BrotliEncoderCompressStream’
ghostscript-10.06.0/brotli/c/enc/encode.c:1587:8: return_function: returning to ‘BrotliEncoderCompressStream’ from ‘EnsureInitialized’
ghostscript-10.06.0/brotli/c/enc/encode.c:1595:6: branch_true: following ‘true’ branch (when ‘op == 3’)...
ghostscript-10.06.0/brotli/c/enc/encode.c:1596:5: call_function: inlined call to ‘UpdateSizeHint’ from ‘BrotliEncoderCompressStream’
ghostscript-10.06.0/brotli/c/enc/encode.c:1597:12: call_function: calling ‘ProcessMetadata’ from ‘BrotliEncoderCompressStream’
# 1045|         if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_commands)) return BROTLI_FALSE;
# 1046|         if (s->commands_) {
# 1047|->         memcpy(new_commands, s->commands_, sizeof(Command) * s->num_commands_);
# 1048|           BROTLI_FREE(m, s->commands_);
# 1049|         }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/histogram_inc.h:20:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.06.0/brotli/c/enc/metablock.c:629:6: enter_function: entry to ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:643:6: branch_false: following ‘false’ branch (when ‘num_contexts != 1’)...
ghostscript-10.06.0/brotli/c/enc/metablock.c:643:6: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
#   18|   static BROTLI_INLINE void FN(HistogramClear)(FN(Histogram)* self) {
#   19|     memset(self->data_, 0, sizeof(self->data_));
#   20|->   self->total_count_ = 0;
#   21|     self->bit_cost_ = HUGE_VAL;
#   22|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/histogram_inc.h:20:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘histograms’
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:397:13: enter_function: entry to ‘SplitByteVectorCommand’
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:416:6: branch_false: following ‘false’ branch (when ‘length != 0’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:421:6: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:421:6: branch_false: following ‘false’ branch (when ‘length > 127’)...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:433:16: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:433:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:434:20: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/block_splitter_inc.h:437:3: call_function: calling ‘InitialEntropyCodesCommand’ from ‘SplitByteVectorCommand’
#   18|   static BROTLI_INLINE void FN(HistogramClear)(FN(Histogram)* self) {
#   19|     memset(self->data_, 0, sizeof(self->data_));
#   20|->   self->total_count_ = 0;
#   21|     self->bit_cost_ = HUGE_VAL;
#   22|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/metablock.c:434:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘combined_histo’
ghostscript-10.06.0/brotli/c/enc/metablock.c:385:13: enter_function: entry to ‘ContextBlockSplitterFinishBlock’
ghostscript-10.06.0/brotli/c/enc/metablock.c:395:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/brotli/c/enc/metablock.c:414:14: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:414:13: branch_true: following ‘true’ branch...
ghostscript-10.06.0/brotli/c/enc/metablock.c:421:9: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:421:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/brotli/c/enc/metablock.c:423:12: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:426:17: branch_true: following ‘true’ branch (when ‘i < num_contexts’)...
ghostscript-10.06.0/brotli/c/enc/metablock.c:427:30: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:429:20: call_function: inlined call to ‘BitsEntropy’ from ‘ContextBlockSplitterFinishBlock’
ghostscript-10.06.0/brotli/c/enc/metablock.c:431:19: branch_true: following ‘true’ branch (when ‘j != 2’)...
ghostscript-10.06.0/brotli/c/enc/metablock.c:432:21: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:434:9: danger: dereference of NULL ‘combined_histo + jx * 1040’
#  432|           size_t jx = j * num_contexts + i;
#  433|           size_t last_histogram_ix = self->last_histogram_ix_[j] + i;
#  434|->         combined_histo[jx] = histograms[curr_histo_ix];
#  435|           HistogramAddHistogramLiteral(&combined_histo[jx],
#  436|               &histograms[last_histogram_ix]);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/brotli/c/enc/metablock.c:453:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘entropy[i]’
ghostscript-10.06.0/brotli/c/enc/metablock.c:629:6: enter_function: entry to ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:643:6: branch_false: following ‘false’ branch (when ‘num_contexts != 1’)...
ghostscript-10.06.0/brotli/c/enc/metablock.c:643:6: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
#  451|         for (i = 0; i < num_contexts; ++i) {
#  452|           last_entropy[num_contexts + i] = last_entropy[i];
#  453|->         last_entropy[i] = entropy[i];
#  454|         }
#  455|         ++self->num_blocks_;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/brotli/c/enc/metablock.c:474:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘combined_entropy[<unknown>]’
ghostscript-10.06.0/brotli/c/enc/metablock.c:629:6: enter_function: entry to ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:643:6: branch_false: following ‘false’ branch (when ‘num_contexts != 1’)...
ghostscript-10.06.0/brotli/c/enc/metablock.c:643:6: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
#  472|               combined_histo[num_contexts + i];
#  473|           last_entropy[num_contexts + i] = last_entropy[i];
#  474|->         last_entropy[i] = combined_entropy[num_contexts + i];
#  475|           HistogramClearLiteral(&histograms[self->curr_histogram_ix_ + i]);
#  476|         }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/metablock.c:485:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘combined_histo’
ghostscript-10.06.0/brotli/c/enc/metablock.c:629:6: enter_function: entry to ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:643:6: branch_false: following ‘false’ branch (when ‘num_contexts != 1’)...
ghostscript-10.06.0/brotli/c/enc/metablock.c:643:6: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
#  483|         split->lengths[self->num_blocks_ - 1] += (uint32_t)self->block_size_;
#  484|         for (i = 0; i < num_contexts; ++i) {
#  485|->         histograms[self->last_histogram_ix_[0] + i] = combined_histo[i];
#  486|           last_entropy[i] = combined_entropy[i];
#  487|           if (split->num_types == 1) {

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/brotli/c/enc/metablock.c:486:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘combined_entropy[i]’
ghostscript-10.06.0/brotli/c/enc/metablock.c:629:6: enter_function: entry to ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:643:6: branch_false: following ‘false’ branch (when ‘num_contexts != 1’)...
ghostscript-10.06.0/brotli/c/enc/metablock.c:643:6: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
ghostscript-10.06.0/brotli/c/enc/metablock.c:648:5: call_function: inlined call to ‘BrotliBuildMetaBlockGreedyInternal’ from ‘BrotliBuildMetaBlockGreedy’
#  484|         for (i = 0; i < num_contexts; ++i) {
#  485|           histograms[self->last_histogram_ix_[0] + i] = combined_histo[i];
#  486|->         last_entropy[i] = combined_entropy[i];
#  487|           if (split->num_types == 1) {
#  488|             last_entropy[num_contexts + i] = last_entropy[i];

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/brotli/c/enc/metablock.c:535:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.06.0/brotli/c/enc/metablock.c:528:7: branch_false: following ‘false’ branch...
ghostscript-10.06.0/brotli/c/enc/metablock.c:527:3: branch_false: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:531:15: branch_true: following ‘true’ branch...
ghostscript-10.06.0/brotli/c/enc/metablock.c:532:23: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:534:17: branch_true: following ‘true’ branch (when ‘j != 64’)...
ghostscript-10.06.0/brotli/c/enc/metablock.c:536:38: branch_true: ...to here
ghostscript-10.06.0/brotli/c/enc/metablock.c:535:7: release_memory: ‘*mb.literal_context_map’ is NULL
ghostscript-10.06.0/brotli/c/enc/metablock.c:535:7: danger: dereference of NULL ‘*mb.literal_context_map + ((i << 6) + j) * 4’
#  533|       size_t j;
#  534|       for (j = 0; j < (1u << BROTLI_LITERAL_CONTEXT_BITS); ++j) {
#  535|->       mb->literal_context_map[(i << BROTLI_LITERAL_CONTEXT_BITS) + j] =
#  536|             offset + static_context_map[j];
#  537|       }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:796:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdest’
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:776:6: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:777:5: branch_true: ...to here
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:795:13: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:796:7: danger: dereference of NULL ‘pdest’
#  794|   
#  795|       while ( ( len < (dest_len -1) ) && *cp && ( '_' != *cp) ) {
#  796|->       *pdest = toupper( *cp );
#  797|         pdest++;
#  798|         cp++;

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:800:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdest’
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:776:6: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:777:5: branch_true: ...to here
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:800:5: danger: dereference of NULL ‘pdest’
#  798|         cp++;
#  799|       }
#  800|->     *pdest = '\0';
#  801|     }
#  802|   

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/contrib/gdevln03.c:367:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c’
ghostscript-10.06.0/contrib/gdevln03.c:291:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/gdevln03.c:293:5: branch_false: ...to here
ghostscript-10.06.0/contrib/gdevln03.c:297:29: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/gdevln03.c:298:9: branch_true: ...to here
ghostscript-10.06.0/contrib/gdevln03.c:304:42: branch_false: following ‘false’ branch (when ‘l < 0’)...
ghostscript-10.06.0/contrib/gdevln03.c:367:12: branch_false: ...to here
ghostscript-10.06.0/contrib/gdevln03.c:367:12: danger: use of uninitialized value ‘c’ here
#  365|               }
#  366|           }
#  367|->         if (c != 077) {
#  368|              if (count > 3) {
#  369|                   /* use run length encoding */

Error: COMPILER_WARNING (CWE-457):
ghostscript-10.06.0/contrib/gdevlx32.c: scope_hint: In function ‘finalizeheader’
ghostscript-10.06.0/contrib/gdevlx32.c:1298:23: warning[-Wmaybe-uninitialized]: ‘offs2’ may be used uninitialized
# 1298 |             nstartabs = newstart + offs2;
#      |             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
ghostscript-10.06.0/contrib/gdevlx32.c:1260:13: note: ‘offs2’ was declared here
# 1260 |         int offs2, nstartabs, back, fwd;
#      |             ^~~~~
# 1296|           /* Calculate absolute starting position of new stripe */
# 1297|           if (newhead >= 0) {
# 1298|->             nstartabs = newstart + offs2;
# 1299|           }
# 1300|   

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/contrib/gdevmd2k.c:387:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘contflag’
ghostscript-10.06.0/contrib/gdevmd2k.c:602:1: enter_function: entry to ‘md2k_print_page’
ghostscript-10.06.0/contrib/gdevmd2k.c:604:12: call_function: calling ‘alps_print_page’ from ‘md2k_print_page’
#  385|           }
#  386|   
#  387|->         if (contflag) {
#  388|               climit = min(129, p_end - p_in);
#  389|               p_in += 3;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/contrib/lips4/gdevl4v.c:332:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c[0]’
ghostscript-10.06.0/contrib/lips4/gdevl4v.c:1298:1: enter_function: entry to ‘lips4v_curveto’
ghostscript-10.06.0/contrib/lips4/gdevl4v.c:1306:5: call_function: calling ‘sput_lips_int’ from ‘lips4v_curveto’
#  330|   
#  331|       lips_param(param, c);
#  332|->     for (i = 0; i < strlen(c); i++)
#  333|           sputc(s, c[i]);
#  334|   }

Error: CPPCHECK_WARNING (CWE-786):
ghostscript-10.06.0/contrib/lips4/gdevl4v.c:470: error[negativeIndex]: Array 'pdev->id_cache[257]' accessed at index -1, which is out of bounds.
#  468|               }
#  469|               for (i = j; i < pdev->count - 1; i++) {
#  470|->                 pdev->id_cache[i] = pdev->id_cache[i + 1];
#  471|               }
#  472|               pdev->id_cache[pdev->count - 1] = tmpid;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/contrib/lips4/gdevl4v.c:1935: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 1933|           int i, j;
# 1934|           uint width_bytes = (w + 7) >> 3;
# 1935|->         uint num_bytes = round_up(width_bytes, 4) * h;
# 1936|           byte *buf;
# 1937|   

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/contrib/lips4/gdevl4v.c:1938: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 1936|           byte *buf;
# 1937|   
# 1938|->         if (h != 0 && num_bytes / h != round_up(width_bytes, 4))
# 1939|               return gs_note_error(gs_error_undefinedresult);
# 1940|   

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/contrib/lips4/gdevl4v.c:2116: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 2114|           int i;
# 2115|           uint width_bytes = (w + 7) >> 3;
# 2116|->         uint num_bytes = round_up(width_bytes, 4) * h;
# 2117|           byte *buf;
# 2118|   

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/contrib/lips4/gdevl4v.c:2119: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 2117|           byte *buf;
# 2118|   
# 2119|->         if (h != 0 && num_bytes / h != round_up(width_bytes, 4))
# 2120|               return gs_note_error(gs_error_undefinedresult);
# 2121|   

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:1494:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘0’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3510:1: enter_function: entry to ‘_put_params’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3539:16: release_memory: first ‘free’ here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3540:13: call_function: inlined call to ‘opvp_realloc’ from ‘_put_params’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3542:13: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3587:13: call_function: inlined call to ‘opvp_realloc’ from ‘_put_params’
# 1492|   opvp_realloc(void **old, size_t size)
# 1493|   {
# 1494|->     void *buf = realloc(*old, size);
# 1495|       if (buf)
# 1496|           *old = buf;

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:1494:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘opvp_p’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5162:1: enter_function: entry to ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5198:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5205:14: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5210:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5211:14: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5212:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5214:23: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5220:17: call_function: inlined call to ‘opvp_realloc’ from ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5227:13: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5294:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5296:9: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5302:17: call_function: inlined call to ‘opvp_realloc’ from ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5306:27: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5210:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5211:14: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5212:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5230:19: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5230:19: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5232:17: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5232:17: call_function: inlined call to ‘opvp_realloc’ from ‘opvp_vector_dopath’
# 1492|   opvp_realloc(void **old, size_t size)
# 1493|   {
# 1494|->     void *buf = realloc(*old, size);
# 1495|       if (buf)
# 1496|           *old = buf;

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:1494:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘points’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5162:1: enter_function: entry to ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5198:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5205:14: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5210:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5211:14: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5212:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5214:23: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5220:17: call_function: inlined call to ‘opvp_realloc’ from ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5227:13: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5294:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5296:9: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5332:17: call_function: inlined call to ‘opvp_realloc’ from ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5336:22: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5210:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5211:14: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5212:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5230:19: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5230:19: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5294:12: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5294:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5296:9: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5302:17: call_function: inlined call to ‘opvp_realloc’ from ‘opvp_vector_dopath’
# 1492|   opvp_realloc(void **old, size_t size)
# 1493|   {
# 1494|->     void *buf = realloc(*old, size);
# 1495|       if (buf)
# 1496|           *old = buf;

Error: COMPILER_WARNING:
ghostscript-10.06.0/contrib/opvp/gdevopvp.c: scope_hint: In function ‘opvp_gen_page_info’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:1891:48: warning[-Wformat-truncation=]: ‘%s’ directive argument is null
# 1891 |     snprintf(wbuff, OPVP_BUFF_SIZE - 1, "%s_%s_%s%s", region, name,
#      |                                                ^~
# 1889|       }
# 1890|       memset((void*)wbuff, 0, OPVP_BUFF_SIZE);
# 1891|->     snprintf(wbuff, OPVP_BUFF_SIZE - 1, "%s_%s_%s%s", region, name,
# 1892|                                    opvp_get_sizestring(width, height),
# 1893|                                    unit);

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:1892: error[nullPointer]: Null pointer dereference
# 1890|       memset((void*)wbuff, 0, OPVP_BUFF_SIZE);
# 1891|       snprintf(wbuff, OPVP_BUFF_SIZE - 1, "%s_%s_%s%s", region, name,
# 1892|->                                  opvp_get_sizestring(width, height),
# 1893|                                    unit);
# 1894|       buff = opvp_alloc_string(&buff, wbuff);

Error: GCC_ANALYZER_WARNING (CWE-401):
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3344:1: warning[-Wanalyzer-malloc-leak]: leak of ‘mybuf’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3254:1: enter_function: entry to ‘opvp_copy_color’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3284:8: branch_true: following ‘true’ branch (when ‘data_x != 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3286:17: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3292:24: acquire_memory: allocated here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3293:12: branch_false: following ‘false’ branch (when ‘mybuf’ is non-NULL)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3297:20: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3299:20: branch_true: following ‘true’ branch (when ‘i < h’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3300:13: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3299:20: branch_true: following ‘true’ branch (when ‘i < h’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3300:13: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3320:12: call_function: calling ‘opvp_draw_image’ from ‘opvp_copy_color’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3320:12: return_function: returning to ‘opvp_copy_color’ from ‘opvp_draw_image’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3327:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3327:8: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3338:8: branch_false: following ‘false’ branch (when ‘buff == data’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3338:8: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3344:1: danger: ‘mybuf’ leaks here; was allocated at [(4)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/3)
# 3342|   
# 3343|       return ecode;
# 3344|-> }
# 3345|   
# 3346|   /*

Error: CPPCHECK_WARNING (CWE-401):
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3539: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3537|               return_error(gs_error_invalidaccess);
# 3538|           }
# 3539|->         buff = realloc(buff, vdps.size + 1);
# 3540|           if (opvp_realloc((void**)&buff, vdps.size + 1) == NULL) {
# 3541|               ecode = gs_error_VMerror;

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:3566:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
# 3564|       case 0:
# 3565|           buff = realloc(buff, pmps.size + 1);
# 3566|->         memcpy(buff, pmps.data, pmps.size);
# 3567|           buff[pmps.size] = 0;
# 3568|           if (opvp_alloc_string(&(opdev->globals.printerModel), buff) == NULL) {

Error: CPPCHECK_WARNING (CWE-401):
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5336: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5334|                   goto exit;
# 5335|               }
# 5336|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5337|               points[i].x = fixed2float(vs[0]) / scale.x;
# 5338|               points[i].y = fixed2float(vs[1]) / scale.y;

Error: GCC_ANALYZER_WARNING (CWE-416):
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5395:20: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘points’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5162:1: enter_function: entry to ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5198:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5205:14: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5210:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5211:14: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5212:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5214:23: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5220:17: call_function: inlined call to ‘opvp_realloc’ from ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5227:13: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5294:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5296:9: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5332:17: call_function: inlined call to ‘opvp_realloc’ from ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5336:22: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5210:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5211:14: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5212:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5230:19: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5230:19: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5294:12: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5294:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5296:9: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5395:20: danger: use after ‘free’ of ‘points’; freed at [(9)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/8)
# 5393|           case gs_pe_closepath:
# 5394|               /* close path */
# 5395|->             code = (*vdev_proc(vdev, closepath))(
# 5396|                          vdev,
# 5397|                          points[0].x,

Error: GCC_ANALYZER_WARNING (CWE-401):
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5411:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5162:1: enter_function: entry to ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5198:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5205:14: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5210:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5211:14: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5212:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5214:23: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5220:17: call_function: inlined call to ‘opvp_realloc’ from ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5227:13: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5294:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5296:9: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5332:17: call_function: inlined call to ‘opvp_realloc’ from ‘opvp_vector_dopath’
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5336:22: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5210:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5211:14: branch_true: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5212:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5230:19: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5230:19: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5294:12: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5425:8: branch_false: following ‘false’ branch (when ‘points’ is NULL)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5426:8: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5426:8: branch_false: following ‘false’ branch (when ‘opvp_p’ is NULL)...
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5196:16: branch_false: ...to here
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:5411:13: danger: ‘buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
# 5409|               /* error */
# 5410|               ecode = gs_note_error(gs_error_unknownerror);
# 5411|->             goto exit;
# 5412|           }
# 5413|   

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:409:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘approx[0]’
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:562:6: enter_function: entry to ‘eprn_split_FS’
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:567:6: branch_false: following ‘false’ branch (when ‘colour_model != 0’)...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:573:12: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:577:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:578:7: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:578:7: call_function: calling ‘split_colour_at_most_2’ from ‘eprn_split_FS’
#  407|       /* Determine the black component for CMY+K */
#  408|       if (colour_model == eprn_DeviceCMY_plus_K &&
#  409|->         approx[0] == approx[1] && approx[1] == approx[2] && approx[0] > 0) {
#  410|         approx[BLACK_INDEX] = approx[0];
#  411|         approx[0] = approx[1] = approx[2] = 0;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:511:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘approx[0]’
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:480:22: branch_true: following ‘true’ branch (when ‘colorant != 3’)...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:481:25: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:490:36: branch_true: following ‘true’ branch (when ‘pixel < pixels’)...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:491:8: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:491:8: branch_true: following ‘true’ branch (when ‘pixel_mod_8 == 8’)...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:491:8: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:493:23: branch_false: following ‘false’ branch (when ‘plane >= planes’)...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:497:5: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:497:36: branch_false: following ‘false’ branch (when ‘colorant == -1’)...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:510:8: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:510:8: branch_true: following ‘true’ branch (when ‘colour_model == 3’)...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:511:9: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnfs.c:511:9: danger: use of uninitialized value ‘approx[0]’ here
#  509|       /* Determine the black component for CMY+K */
#  510|       if (colour_model == eprn_DeviceCMY_plus_K &&
#  511|->         approx[0] == approx[1] && approx[1] == approx[2] && approx[0] > 0) {
#  512|         int value = approx[0]*(black_levels - 1);
#  513|         if (value % (non_black_levels - 1) == 0) {

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:447:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:393:12: enter_function: entry to ‘eprn_read_media_data’
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:408:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:408:6: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:416:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:421:5: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:424:8: branch_true: following ‘true’ branch (when ‘s’ is NULL)...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:424:47: call_function: inlined call to ‘gp_fgetc’ from ‘eprn_read_media_data’
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:424:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:446:24: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:447:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:447:26: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/eprnparm.c:447:26: danger: dereference of NULL ‘s’
#  445|       */
#  446|       if (s == NULL) s = strchr(buffer, '\0');
#  447|->     while (buffer < s && isspace(*(s-1))) s--;
#  448|       *s = '\0';
#  449|   

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:308:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:272:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:283:6: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:283:6: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:286:9: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:287:6: branch_false: following ‘false’ branch (when ‘end’ is non-NULL)...
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:287:6: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:294:10: branch_true: following ‘true’ branch (when ‘t’ is NULL)...
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:294:45: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:299:7: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:305:10: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:306:7: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:308:14: danger: dereference of NULL ‘t’
#  306|         flags |= flag;
#  307|         s = t;
#  308|->     } while (*t != '\0');
#  309|     }
#  310|   

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:376:7: warning[-Wanalyzer-null-argument]: use of NULL ‘buffer’ where non-null expected
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:368:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:369:29: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:369:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:370:18: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:371:10: branch_false: following ‘false’ branch...
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:375:16: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/mediasize.c:376:7: danger: argument 1 (‘buffer’) NULL where non-null expected
#  374|         }
#  375|         *code &= ~flag_list[j].code;
#  376|->       strcpy(buffer, flag_list[j].name);
#  377|         buffer += l;
#  378|         *length -= l;

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/contrib/pcl3/eprn/pagecount.c:67:8: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.06.0/contrib/pcl3/eprn/pagecount.c:58:12: enter_function: entry to ‘lock_file’
ghostscript-10.06.0/contrib/pcl3/eprn/pagecount.c:67:8: call_function: inlined call to ‘gp_get_file’ from ‘lock_file’
ghostscript-10.06.0/contrib/pcl3/eprn/pagecount.c:67:8: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/eprn/pagecount.c:67:8: danger: argument 1 (‘<unknown>’) NULL where non-null expected
#   65|   
#   66|     /* Obtain file descriptor */
#   67|->   fd = fileno(gp_get_file(f));
#   68|     if (fd == -1) {
#   69|       fprintf(stderr, ERRPREFIX "Cannot obtain file descriptor (%s).\n",

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:360:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:346:6: branch_false: following ‘false’ branch (when ‘s’ is non-NULL)...
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:352:44: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:360:12: branch_true: following ‘true’ branch (when ‘t > s’)...
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:360:21: branch_true: ...to here
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:360:21: danger: dereference of NULL ‘t’
#  358|       char *t = strchr(s, '\0');
#  359|   
#  360|->     while (s < t && isspace(*(t-1))) t--;
#  361|       *t = '\0';
#  362|     }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:361:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:346:6: branch_false: following ‘false’ branch (when ‘s’ is non-NULL)...
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:352:44: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:360:12: branch_false: following ‘false’ branch (when ‘t <= s’)...
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:361:5: branch_false: ...to here
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:361:5: danger: dereference of NULL ‘t’
#  359|   
#  360|       while (s < t && isspace(*(t-1))) t--;
#  361|->     *t = '\0';
#  362|     }
#  363|   

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/contrib/pcl3/src/pclsize.c:123: warning[uninitvar]: Uninitialized variable: &key.ps
#  121|   
#  122|     key.mc = ms_without_flags(code) |( code & PCL_CARD_FLAG);
#  123|->   result = (const CodeEntry *)bsearch(&key, table->code_map, array_size(code_map),
#  124|       sizeof(CodeEntry), cmp_by_size);
#  125|   

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/contrib/pcl3/src/pclsize.c:164: warning[uninitvar]: Uninitialized variable: &key.mc
#  162|   
#  163|     key.ps = code;
#  164|->   result = (const CodeEntry *)bsearch(&key, table->inverse_map,
#  165|       array_size(code_map), sizeof(CodeEntry), cmp_by_code);
#  166|     if (result == NULL) {

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/cups/gdevcups.c:2994:25: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.06.0/cups/gdevcups.c:2889:1: enter_function: entry to ‘cups_print_pages’
ghostscript-10.06.0/cups/gdevcups.c:2952:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/cups/gdevcups.c:2955:3: branch_false: ...to here
ghostscript-10.06.0/cups/gdevcups.c:2964:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/cups/gdevcups.c:2967:22: branch_false: ...to here
ghostscript-10.06.0/cups/gdevcups.c:2973:6: branch_true: following ‘true’ branch...
ghostscript-10.06.0/cups/gdevcups.c:2975:21: branch_true: ...to here
ghostscript-10.06.0/cups/gdevcups.c:2994:25: call_function: inlined call to ‘gp_get_file’ from ‘cups_print_pages’
ghostscript-10.06.0/cups/gdevcups.c:2994:25: branch_true: ...to here
ghostscript-10.06.0/cups/gdevcups.c:2994:25: danger: argument 1 (‘<unknown>’) NULL where non-null expected
# 2992|          is a temporary workaround for the time being until up-to-date CUPS
# 2993|          libraries get included. */
# 2994|->     if ((cups->stream = cupsRasterOpen(fileno(gp_get_file(cups->file)),
# 2995|   #if defined(CUPS_RASTER_HAVE_PWGRASTER)
# 2996|                                          (strcasecmp(cups->header.MediaClass,

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/devices/gdev4693.c:124:35: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.06.0/devices/gdev4693.c:124:35: danger: infinite loop here
ghostscript-10.06.0/devices/gdev4693.c:124:35: branch_true: if it ever follows ‘true’ branch, it will always do so...
ghostscript-10.06.0/devices/gdev4693.c:125:29: branch_true: ...to here
#  122|           *p++ = (char)0x81;
#  123|   
#  124|->         for (checksum = 0, i = 0; &header[i] != p; i++)
#  125|                   checksum += header[i];
#  126|   

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/devices/gdevdjtc.c:267:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘row’
ghostscript-10.06.0/devices/gdevdjtc.c:77:1: enter_function: entry to ‘djet500c_print_page’
ghostscript-10.06.0/devices/gdevdjtc.c:121:12: branch_false: following ‘false’ branch (when ‘lineSize > 0’)...
ghostscript-10.06.0/devices/gdevdjtc.c:125:31: branch_false: ...to here
ghostscript-10.06.0/devices/gdevdjtc.c:126:12: branch_false: following ‘false’ branch (when ‘bitData’ is non-NULL)...
ghostscript-10.06.0/devices/gdevdjtc.c:126:12: branch_false: ...to here
ghostscript-10.06.0/devices/gdevdjtc.c:129:22: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/gdevdjtc.c:133:20: branch_true: ...to here
ghostscript-10.06.0/devices/gdevdjtc.c:134:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/gdevdjtc.c:138:23: branch_false: ...to here
ghostscript-10.06.0/devices/gdevdjtc.c:153:20: branch_false: following ‘false’ branch (when ‘planeSize >= lineLen’)...
ghostscript-10.06.0/devices/gdevdjtc.c:168:17: branch_false: ...to here
ghostscript-10.06.0/devices/gdevdjtc.c:168:29: branch_false: following ‘false’ branch (when ‘k >= lineLen’)...
ghostscript-10.06.0/devices/gdevdjtc.c:186:20: branch_false: ...to here
ghostscript-10.06.0/devices/gdevdjtc.c:202:25: call_function: calling ‘mode2compress’ from ‘djet500c_print_page’
#  265|       while (1)
#  266|       {
#  267|->         test = *exam++;
#  268|           /* Advance exam until test==*exam  or exam==end_row */
#  269|           while ((test != *exam) && (exam < end_row))

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/devices/gdevdsp.c:980: warning[nullPointer]: Possible null pointer dereference: dh.data
#  978|               code = 0;
#  979|               for (i=0; i<dh.size; i++) {
#  980|->                 val = dh.data[i];
#  981|                   if ((val >= '0') && (val <= '9'))
#  982|                       val = val - '0';

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/devices/gdevdsp.c:1693:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buf_space.bits’
ghostscript-10.06.0/devices/gdevdsp.c:1677:1: enter_function: entry to ‘display_alloc_bitmap’
ghostscript-10.06.0/devices/gdevdsp.c:1682:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/gdevdsp.c:1686:5: branch_false: ...to here
ghostscript-10.06.0/devices/gdevdsp.c:1686:5: call_function: calling ‘display_free_bitmap’ from ‘display_alloc_bitmap’
ghostscript-10.06.0/devices/gdevdsp.c:1686:5: return_function: returning to ‘display_alloc_bitmap’ from ‘display_free_bitmap’
ghostscript-10.06.0/devices/gdevdsp.c:1691:5: call_function: calling ‘display_size_buf_device’ from ‘display_alloc_bitmap’
ghostscript-10.06.0/devices/gdevdsp.c:1691:5: return_function: returning to ‘display_alloc_bitmap’ from ‘display_size_buf_device’
ghostscript-10.06.0/devices/gdevdsp.c:1693:25: danger: use of uninitialized value ‘buf_space.bits’ here
# 1691|       display_size_buf_device(&buf_space, (gx_device *)ddev,
# 1692|                               NULL, ddev->height, false);
# 1693|->     ddev->zBitmapSize = buf_space.bits + buf_space.line_ptrs;
# 1694|   
# 1695|       if (ddev->callback->version_major > DISPLAY_VERSION_MAJOR_V2 ||

Error: COMPILER_WARNING (CWE-563):
ghostscript-10.06.0/devices/gdevjpeg.c: scope_hint: In function ‘jpeg_put_params’
ghostscript-10.06.0/devices/gdevjpeg.c:237:10: warning[-Wunused-variable]: unused variable ‘embed_profile’
#  237 |     bool embed_profile = jdev->EmbedProfile, bparam;
#      |          ^~~~~~~~~~~~~
#  235|       float qf = jdev->QFactor;
#  236|       float fparam;
#  237|->     bool embed_profile = jdev->EmbedProfile, bparam;
#  238|   
#  239|       ecode = gx_downscaler_read_params(plist, &jdev->downscale, 0);

Error: CPPCHECK_WARNING (CWE-758):
ghostscript-10.06.0/devices/gdevl31s.c:130: error[ctuPointerArith]: Pointer arithmetic overflow; 'buffer' buffer size is 4096
#  128|   lj3100sw_output_data_byte(gp_file *prn_stream, char *buffer, char **pptr, int val)
#  129|   {
#  130|->         if (*pptr >= buffer + BUFFERSIZE)
#  131|                   lj3100sw_flush_buffer(prn_stream, buffer, pptr);
#  132|           *(*pptr)++ = val;

Error: COMPILER_WARNING:
ghostscript-10.06.0/devices/gdevlxm.c: scope_hint: In function ‘lxm5700m_print_page’
ghostscript-10.06.0/devices/gdevlxm.c:275:21: warning[-Wunused-but-set-variable=]: variable ‘retval’ set but not used
#  275 |                 int retval=0;
#      |                     ^~~~~~
#  273|                   int words[directorySize];
#  274|                   bool f, sum;
#  275|->                 int retval=0;
#  276|                   int j,c,y;
#  277|                   int j1,c1;

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/devices/gdevpbm.c:1258: warning[uninitvar]: Uninitialized variable: raw
# 1256|               if (x > end)
# 1257|                   outp -= 3;
# 1258|->             if (gp_fwrite(raw, 1, outp - raw, pstream) != outp - raw)
# 1259|                   return_error(gs_error_ioerror);
# 1260|           }

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/devices/gdevpdfimg.c:620: error[uninitvar]: Uninitialized variable: buf
#  618|               stream_cursor_write_init(&w, buf, sizeof(buf));
#  619|               status = (*templat->process) (st, &r, &w, true);
#  620|->             stream_write(s, buf, (uint) (w.ptr + 1 - buf));
#  621|           }
#  622|           while (status == 1);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/devices/gdevpng.c:433:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ecode’
ghostscript-10.06.0/devices/gdevpng.c:423:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/gdevpng.c:426:17: branch_false: ...to here
ghostscript-10.06.0/devices/gdevpng.c:426:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/gdevpng.c:429:12: branch_false: ...to here
ghostscript-10.06.0/devices/gdevpng.c:430:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/gdevpng.c:433:12: branch_false: ...to here
ghostscript-10.06.0/devices/gdevpng.c:433:12: danger: use of uninitialized value ‘ecode’ here
#  431|           ecode = code;
#  432|   
#  433|->     return ecode;
#  434|   }
#  435|   

Error: COMPILER_WARNING (CWE-457):
ghostscript-10.06.0/devices/gdevpng.c: scope_hint: In function ‘png_get_params_mfs’
ghostscript-10.06.0/devices/gdevpng.c:433:12: warning[-Wmaybe-uninitialized]: ‘ecode’ may be used uninitialized
#  433 |     return ecode;
#      |            ^~~~~
ghostscript-10.06.0/devices/gdevpng.c:421:15: note: ‘ecode’ was declared here
#  421 |     int code, ecode;
#      |               ^~~~~
#  431|           ecode = code;
#  432|   
#  433|->     return ecode;
#  434|   }
#  435|   

Error: COMPILER_WARNING:
ghostscript-10.06.0/devices/gdevpng.c: scope_hint: In function ‘do_png_print_page’
ghostscript-10.06.0/devices/gdevpng.c:546:17: warning[-Wunused-but-set-variable=]: variable ‘valid’ set but not used
#  546 |     png_uint_32 valid = 0;
#      |                 ^~~~~
#  544|       png_color *palettep;
#  545|       png_uint_16 num_palette;
#  546|->     png_uint_32 valid = 0;
#  547|       int upfactor, downfactor;
#  548|   

Error: COMPILER_WARNING (CWE-563):
ghostscript-10.06.0/devices/gdevpsd.c:162:21: warning[-Wunused-variable]: unused variable ‘dsep’
#  162 |     gs_separations *dsep, *ssep;
#      |                     ^~~~
#  160|       gs_devn_params *dst_params = &dev->devn_params;
#  161|       gs_devn_params *src_params = si->params;
#  162|->     gs_separations *dsep, *ssep;
#  163|       equivalent_cmyk_color_params *dequiv = &dev->equiv_cmyk_colors;
#  164|       equivalent_cmyk_color_params *sequiv = si->equiv;

Error: COMPILER_WARNING (CWE-563):
ghostscript-10.06.0/devices/gdevpsd.c: scope_hint: In function ‘update_spots’
ghostscript-10.06.0/devices/gdevpsd.c:162:28: warning[-Wunused-variable]: unused variable ‘ssep’
#  162 |     gs_separations *dsep, *ssep;
#      |                            ^~~~
#  160|       gs_devn_params *dst_params = &dev->devn_params;
#  161|       gs_devn_params *src_params = si->params;
#  162|->     gs_separations *dsep, *ssep;
#  163|       equivalent_cmyk_color_params *dequiv = &dev->equiv_cmyk_colors;
#  164|       equivalent_cmyk_color_params *sequiv = si->equiv;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/devices/gdevupd.c:3523: error[integerOverflow]: Signed integer underflow for expression 'hv-lv'.
# 3521|               upd->valbuf[i] = v;
# 3522|            }
# 3523|->          scale = (float) comp->threshold / (float) (hv - lv);
# 3524|            lv   += (int32_t)(comp->threshold / (2*scale));
# 3525|            for(i = icomp; i < upd->nvalbuf; i += upd->ncomp)

Error: CPPCHECK_WARNING (CWE-401):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:156: error[memleak]: Memory leak: alloced
#  154|     result = (void *)(pad + (char *)alloced);
#  155|     ((int *)result)[-1] = pad;
#  156|->   return result;
#  157|   }
#  158|   

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1542:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*ctx.rb_line’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1868:1: enter_function: entry to ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1873:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:33: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: return_function: returning to ‘even_better_free’ from ‘even_better_plane_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1906:21: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:15: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:14: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
# 1540|   even_better_plane_free (EBPlaneCtx *ctx)
# 1541|   {
# 1542|->   free (ctx->rb_line);
# 1543|     free (ctx->iir_line);
# 1544|     free (ctx->r_line);

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1542:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1731:1: enter_function: entry to ‘even_better_new’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1739:6: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1742:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1778:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1781:30: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1790:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1793:3: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1847:10: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1847:10: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1849:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1850:9: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1850:32: call_function: calling ‘even_better_plane_new’ from ‘even_better_new’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1850:32: return_function: returning to ‘even_better_new’ from ‘even_better_plane_new’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1849:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1851:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1851:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1852:11: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1857:3: call_function: calling ‘even_better_free’ from ‘even_better_new’
# 1540|   even_better_plane_free (EBPlaneCtx *ctx)
# 1541|   {
# 1542|->   free (ctx->rb_line);
# 1543|     free (ctx->iir_line);
# 1544|     free (ctx->r_line);

Error: GCC_ANALYZER_WARNING (CWE-416):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1542:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘ctx’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1868:1: enter_function: entry to ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1873:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:33: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: return_function: returning to ‘even_better_free’ from ‘even_better_plane_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1906:21: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:15: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:14: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
# 1540|   even_better_plane_free (EBPlaneCtx *ctx)
# 1541|   {
# 1542|->   free (ctx->rb_line);
# 1543|     free (ctx->iir_line);
# 1544|     free (ctx->r_line);

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1543:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*ctx.iir_line’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1868:1: enter_function: entry to ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1873:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:33: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: return_function: returning to ‘even_better_free’ from ‘even_better_plane_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1906:21: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:15: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:14: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
# 1541|   {
# 1542|     free (ctx->rb_line);
# 1543|->   free (ctx->iir_line);
# 1544|     free (ctx->r_line);
# 1545|     free (ctx->a_line);

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1544:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*ctx.r_line’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1868:1: enter_function: entry to ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1873:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:33: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: return_function: returning to ‘even_better_free’ from ‘even_better_plane_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1906:21: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:15: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:14: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
# 1542|     free (ctx->rb_line);
# 1543|     free (ctx->iir_line);
# 1544|->   free (ctx->r_line);
# 1545|     free (ctx->a_line);
# 1546|     free (ctx->b_line);

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1545:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*ctx.a_line’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1868:1: enter_function: entry to ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1873:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:33: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: return_function: returning to ‘even_better_free’ from ‘even_better_plane_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1906:21: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:15: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:14: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
# 1543|     free (ctx->iir_line);
# 1544|     free (ctx->r_line);
# 1545|->   free (ctx->a_line);
# 1546|     free (ctx->b_line);
# 1547|     free (ctx->lut);

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1546:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*ctx.b_line’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1868:1: enter_function: entry to ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1873:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:33: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: return_function: returning to ‘even_better_free’ from ‘even_better_plane_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1906:21: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:15: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:14: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
# 1544|     free (ctx->r_line);
# 1545|     free (ctx->a_line);
# 1546|->   free (ctx->b_line);
# 1547|     free (ctx->lut);
# 1548|     free (ctx->rb_lut);

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1547:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*ctx.lut’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1868:1: enter_function: entry to ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1873:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:33: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: return_function: returning to ‘even_better_free’ from ‘even_better_plane_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1906:21: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:15: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:14: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
# 1545|     free (ctx->a_line);
# 1546|     free (ctx->b_line);
# 1547|->   free (ctx->lut);
# 1548|     free (ctx->rb_lut);
# 1549|     free (ctx->rs_lut);

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1548:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*ctx.rb_lut’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1868:1: enter_function: entry to ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1873:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:33: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: return_function: returning to ‘even_better_free’ from ‘even_better_plane_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1906:21: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:15: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:14: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
# 1546|     free (ctx->b_line);
# 1547|     free (ctx->lut);
# 1548|->   free (ctx->rb_lut);
# 1549|     free (ctx->rs_lut);
# 1550|     free (ctx->white_count_line);

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1549:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*ctx.rs_lut’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1868:1: enter_function: entry to ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1873:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:33: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: return_function: returning to ‘even_better_free’ from ‘even_better_plane_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1906:21: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:15: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:14: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
# 1547|     free (ctx->lut);
# 1548|     free (ctx->rb_lut);
# 1549|->   free (ctx->rs_lut);
# 1550|     free (ctx->white_count_line);
# 1551|     free (ctx);

Error: GCC_ANALYZER_WARNING (CWE-415):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1550:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*ctx.white_count_line’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1868:1: enter_function: entry to ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1873:6: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:33: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: return_function: returning to ‘even_better_free’ from ‘even_better_plane_free’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1903:19: branch_false: following ‘false’ branch (when ‘i >= n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:11: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1905:10: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1906:21: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:15: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1907:14: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1908:13: call_function: calling ‘even_better_plane_free’ from ‘even_better_free’
# 1548|     free (ctx->rb_lut);
# 1549|     free (ctx->rs_lut);
# 1550|->   free (ctx->white_count_line);
# 1551|     free (ctx);
# 1552|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1904:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1731:1: enter_function: entry to ‘even_better_new’
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1739:6: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1742:7: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1778:6: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1779:7: branch_true: ...to here
ghostscript-10.06.0/devices/rinkj/evenbetter-rll.c:1857:3: call_function: calling ‘even_better_free’ from ‘even_better_new’
# 1902|       {
# 1903|         for (i = 0; i < n_planes; i++)
# 1904|->         even_better_plane_free (ctx->plane_ctx[i]);
# 1905|         if (ctx->plane_ctx != NULL) {
# 1906|           for (i = 0; i < n_planes; i++)

Error: GCC_ANALYZER_WARNING (CWE-401):
ghostscript-10.06.0/devices/rinkj/rinkj-byte-stream.c:109:10: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
ghostscript-10.06.0/devices/rinkj/rinkj-byte-stream.c:102:35: acquire_memory: allocated here
ghostscript-10.06.0/devices/rinkj/rinkj-byte-stream.c:103:6: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
ghostscript-10.06.0/devices/rinkj/rinkj-byte-stream.c:106:3: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/rinkj-byte-stream.c:109:10: danger: ‘result’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  107|     result->f = f;
#  108|   
#  109|->   return &result->super;
#  110|   }

Error: GCC_ANALYZER_WARNING (CWE-401):
ghostscript-10.06.0/devices/rinkj/rinkj-epson870.c:1101:10: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
ghostscript-10.06.0/devices/rinkj/rinkj-epson870.c:1079:25: acquire_memory: allocated here
ghostscript-10.06.0/devices/rinkj/rinkj-epson870.c:1080:6: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
ghostscript-10.06.0/devices/rinkj/rinkj-epson870.c:1083:3: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/rinkj-epson870.c:1101:10: danger: ‘result’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
# 1099|     result->printer_weave = -1;
# 1100|   
# 1101|->   return &result->super;
# 1102|   }

Error: GCC_ANALYZER_WARNING (CWE-401):
ghostscript-10.06.0/devices/rinkj/rinkj-screen-eb.c:295:10: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
ghostscript-10.06.0/devices/rinkj/rinkj-screen-eb.c:280:29: acquire_memory: allocated here
ghostscript-10.06.0/devices/rinkj/rinkj-screen-eb.c:281:6: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
ghostscript-10.06.0/devices/rinkj/rinkj-screen-eb.c:284:3: branch_false: ...to here
ghostscript-10.06.0/devices/rinkj/rinkj-screen-eb.c:295:10: danger: ‘result’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  293|     result->bps = 1;
#  294|   
#  295|->   return &result->super;
#  296|   }
#  297|   

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpdf.c:569: warning[uninitvar]: Uninitialized variable: key_buf
#  567|           for (j = 0; j < key_size; j++)
#  568|               key_buf[j] = key[j] ^ (byte)i;
#  569|->         s_arcfour_set_key(&sarc4, key_buf, key_size);
#  570|           s_arcfour_process_buffer(&sarc4, data, data_size);
#  571|       }

Error: CPPCHECK_WARNING (CWE-758):
ghostscript-10.06.0/devices/vector/gdevpdf.c:1943: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1941|   
# 1942|       while(size_bits) {
# 1943|->         input_mask = 1 << (size_bits - 1);
# 1944|           output_mask = 0x80 >> linear_params->HintBits;
# 1945|           if (input_mask & val)

Error: GCC_ANALYZER_WARNING (CWE-126):
ghostscript-10.06.0/devices/vector/gdevpdfe.c:232:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
ghostscript-10.06.0/devices/vector/gdevpdfe.c:977:1: enter_function: entry to ‘pdf_document_metadata’
ghostscript-10.06.0/devices/vector/gdevpdfe.c:979:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdfe.c:981:29: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdfe.c:981:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdfe.c:984:9: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdfe.c:996:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdfe.c:998:60: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdfe.c:999:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdfe.c:1003:60: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdfe.c:1004:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdfe.c:1008:16: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdfe.c:1008:16: call_function: calling ‘pdf_write_document_metadata’ from ‘pdf_document_metadata’
#  230|               "%04d-%02d-%02d",
#  231|               tms.tm_year + 1900, tms.tm_mon + 1, tms.tm_mday);
#  232|->     strncpy(buf, buf1, buf_length);
#  233|       return strlen(buf);
#  234|   }

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpdfg.c:345:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pcc.paint.values[i]’
ghostscript-10.06.0/devices/vector/gdevpdfg.c:2077:1: enter_function: entry to ‘pdf_set_drawing_color’
ghostscript-10.06.0/devices/vector/gdevpdfg.c:2108:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdfg.c:2111:12: call_function: inlined call to ‘pdf_reset_color’ from ‘pdf_set_drawing_color’
#  343|       pprintg1(pdev->strm, "%g", psdf_round(pcc->paint.values[0], 255, 8));
#  344|       for (i = 1; i < n; i++) {
#  345|->         pprintg1(pdev->strm, " %g", psdf_round(pcc->paint.values[i], 255, 8));
#  346|       }
#  347|       return 0;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpdfg.c:417:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pcc.paint.values[i]’
ghostscript-10.06.0/devices/vector/gdevpdfg.c:2077:1: enter_function: entry to ‘pdf_set_drawing_color’
ghostscript-10.06.0/devices/vector/gdevpdfg.c:2108:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdfg.c:2111:12: call_function: inlined call to ‘pdf_reset_color’ from ‘pdf_set_drawing_color’
#  415|       pdf_set_process_color_model(pdev, 1);
#  416|       for (i=0;i<3;i++) {
#  417|->         psrc[i] = (unsigned short) (pcc->paint.values[i]*65535.0);;
#  418|           conc[i] = ushort2frac(psrc[i]);
#  419|       }

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpdfk.c:184: warning[uninitvar]: Uninitialized variable: in
#  182|           for (j = 0; j < ncomp; ++j)
#  183|               in[j] = (i & (1 << j) ? ranges[j].rmax : ranges[j].rmin);
#  184|->         if (cie_to_xyz(in, xyz, pcs, pgs, pciec) >= 0) {
#  185|               double lab[3];
#  186|   

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpdfk.c:855: warning[uninitvar]: Uninitialized variable: in
#  853|               in[j] = cache_arg(n % num_points, num_points - 1,
#  854|                                 (pnt->ranges ? pnt->ranges + j : NULL));
#  855|->         cie_to_xyz(in, xyz, pcs, pgs, pciec);
#  856|           /*
#  857|            * NOTE: Due to an obscure provision of the ICC Profile

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/devices/vector/gdevpdfk.c:1043: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 1041|               set_uint32(p + 4, offset);
# 1042|               set_uint32(p + 8, tables[i].length);
# 1043|->             offset += round_up(tables[i].length, 4);
# 1044|           }
# 1045|           set_uint32(header, offset);

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpdfu.c:1027: error[uninitvar]: Uninitialized variable: key
# 1025|       byte key[16];
# 1026|   
# 1027|->     return s_arcfour_set_key(psarc4, key, pdf_object_key(pdev, object_id, key));
# 1028|   }
# 1029|   

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpdfu.c:3107:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘value.contents.object’
ghostscript-10.06.0/devices/vector/gdevpdfu.c:3100:1: enter_function: entry to ‘pdf_write_function’
ghostscript-10.06.0/devices/vector/gdevpdfu.c:3103:16: call_function: calling ‘pdf_function’ from ‘pdf_write_function’
ghostscript-10.06.0/devices/vector/gdevpdfu.c:3103:16: return_function: returning to ‘pdf_write_function’ from ‘pdf_function’
ghostscript-10.06.0/devices/vector/gdevpdfu.c:3105:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdfu.c:3107:12: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdfu.c:3107:12: danger: use of uninitialized value ‘value.contents.object’ here
# 3105|       if (code < 0)
# 3106|           return code;
# 3107|->     *pid = value.contents.object->id;
# 3108|       return 0;
# 3109|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/devices/vector/gdevpdte.c:1068:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gdata’
ghostscript-10.06.0/devices/vector/gdevpdte.c:1797:1: enter_function: entry to ‘process_plain_text’
ghostscript-10.06.0/devices/vector/gdevpdte.c:1808:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdte.c:1813:16: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdte.c:1813:15: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpdte.c:1818:13: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpdte.c:1825:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdte.c:1825:12: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdte.c:1830:16: branch_false: following ‘false’ branch (when ‘chr <= 255’)...
ghostscript-10.06.0/devices/vector/gdevpdte.c:1832:16: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdte.c:1830:16: branch_false: following ‘false’ branch (when ‘chr <= 255’)...
ghostscript-10.06.0/devices/vector/gdevpdte.c:1832:16: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdte.c:1916:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpdte.c:1919:16: call_function: calling ‘pdf_process_string_aux’ from ‘process_plain_text’
# 1066|           gs_glyph gdata_i, *gdata_p = (gs_glyph *)gdata;
# 1067|           if (penum->text.operation & TEXT_FROM_SINGLE_GLYPH) {
# 1068|->             gdata_i = *gdata;
# 1069|               gdata_p = &gdata_i;
# 1070|           }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/devices/vector/gdevpdtf.c:240:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘psf’
ghostscript-10.06.0/devices/vector/gdevpdtf.c:813:1: enter_function: entry to ‘pdf_font_embed_status’
ghostscript-10.06.0/devices/vector/gdevpdtf.c:819:17: call_function: calling ‘pdf_find_standard_font_name’ from ‘pdf_font_embed_status’
ghostscript-10.06.0/devices/vector/gdevpdtf.c:819:17: return_function: returning to ‘pdf_font_embed_status’ from ‘pdf_find_standard_font_name’
ghostscript-10.06.0/devices/vector/gdevpdtf.c:861:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtf.c:863:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtf.c:864:12: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtf.c:864:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtf.c:866:40: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtf.c:866:40: call_function: calling ‘embed_as_standard’ from ‘pdf_font_embed_status’
#  238|           int code;
#  239|   
#  240|->         if (!psf->pdfont)
#  241|               continue;
#  242|           cfont = pdf_font_resource_font(psf->pdfont, false);

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/devices/vector/gdevpdtf.c:400:13: warning[-Wanalyzer-null-argument]: use of NULL ‘widths’ where non-null expected
ghostscript-10.06.0/devices/vector/gdevpdtf.c:775:1: enter_function: entry to ‘embed_as_standard’
ghostscript-10.06.0/devices/vector/gdevpdtf.c:784:10: call_function: calling ‘scan_for_standard_fonts’ from ‘embed_as_standard’
#  398|           }
#  399|           if (!is_CID_font)
#  400|->             memset(widths, 0, chars_count * sizeof(*widths));
#  401|           memset(used, 0, size);
#  402|       }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/devices/vector/gdevpdtf.c:1003:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.06.0/devices/vector/gdevpdtf.c:917:1: enter_function: entry to ‘pdf_compute_BaseFont’
ghostscript-10.06.0/devices/vector/gdevpdtf.c:933:13: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtf.c:937:18: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtf.c:941:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtf.c:943:18: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtf.c:984:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtf.c:984:9: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtf.c:987:39: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtf.c:984:9: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtf.c:990:32: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtf.c:990:32: call_function: calling ‘pdf_font_resource_font’ from ‘pdf_compute_BaseFont’
ghostscript-10.06.0/devices/vector/gdevpdtf.c:990:32: return_function: returning to ‘pdf_compute_BaseFont’ from ‘pdf_font_resource_font’
ghostscript-10.06.0/devices/vector/gdevpdtf.c:997:12: branch_false: following ‘false’ branch (when ‘code >= 0’)...
ghostscript-10.06.0/devices/vector/gdevpdtf.c:999:9: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtf.c:1002:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtf.c:1003:13: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtf.c:1003:13: danger: dereference of NULL ‘pdf_font_resource_font(pdfont, 0)’
# 1001|           /* Don't write a UID for subset fonts. */
# 1002|           if (uid_is_XUID(&pbfont->UID)) {
# 1003|->             uid_free(&pbfont->UID, pbfont->memory, "gs_font_finalize");
# 1004|           }
# 1005|           uid_set_invalid(&pbfont->UID);

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/devices/vector/gdevpdtf.h:129:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gnstr’
ghostscript-10.06.0/devices/vector/gdevpdti.c:1044:1: enter_function: entry to ‘complete_adding_char’
ghostscript-10.06.0/devices/vector/gdevpdti.c:1057:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdti.c:1059:12: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdti.c:1059:12: call_function: calling ‘pdf_attach_charproc’ from ‘complete_adding_char’
ghostscript-10.06.0/devices/vector/gdevpdti.c:1059:12: return_function: returning to ‘complete_adding_char’ from ‘pdf_attach_charproc’
ghostscript-10.06.0/devices/vector/gdevpdti.c:1060:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdti.c:1062:9: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdti.c:1062:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdti.c:1080:12: call_function: calling ‘pdf_copy_string_to_encoding’ from ‘complete_adding_char’
#  127|       byte *p = NULL;
#  128|   
#  129|->     p = gs_alloc_bytes(pdev->pdf_memory->non_gc_memory, gnstr->size, "pdf_copy_string_to_encoding");
#  130|       if (p == NULL)
#  131|           return_error(gs_error_VMerror);

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2382: warning[uninitvar]: Uninitialized variable: s2->size
# 2380|   strings_equal(const gs_const_string *s1, const gs_const_string *s2)
# 2381|   {
# 2382|->     return s1->size == s2->size &&
# 2383|               !memcmp(s1->data, s2->data, s1->size);
# 2384|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2431:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdfont’
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2932:1: enter_function: entry to ‘pdf_choose_output_char_code’
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2937:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2952:16: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2952:15: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2954:18: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2956:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2958:24: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2958:24: call_function: calling ‘pdf_attached_font_resource’ from ‘pdf_choose_output_char_code’
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2958:24: return_function: returning to ‘pdf_choose_output_char_code’ from ‘pdf_attached_font_resource’
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2960:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2962:18: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2962:18: release_memory: ‘pdfont’ is NULL
ghostscript-10.06.0/devices/vector/gdevpdtt.c:2962:18: call_function: calling ‘pdf_find_glyph’ from ‘pdf_choose_output_char_code’
# 2429|   pdf_find_glyph(pdf_font_resource_t *pdfont, gs_glyph glyph)
# 2430|   {
# 2431|->     if (pdfont->FontType != ft_user_defined &&
# 2432|           pdfont->FontType != ft_PDF_user_defined &&
# 2433|           pdfont->FontType != ft_PCL_user_defined &&

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/devices/vector/gdevpsds.c:1096:12: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.06.0/devices/vector/gdevpsds.c:1096:12: danger: infinite loop here
ghostscript-10.06.0/devices/vector/gdevpsds.c:1096:12: branch_true: when ‘l != 0’: always following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpsds.c:1097:13: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpsds.c:1097:12: branch_true: if it ever follows ‘true’ branch, it will always do so...
ghostscript-10.06.0/devices/vector/gdevpsds.c:1098:53: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpsds.c:1101:20: branch_false: when ‘k == 0’: always following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpsds.c:1101:20: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpsds.c:1104:16: branch_false: if it ever follows ‘false’ branch, it will always do so...
ghostscript-10.06.0/devices/vector/gdevpsds.c:1104:16: branch_false: ...to here
# 1094|       int l = length;
# 1095|   
# 1096|->     while (l) {
# 1097|           if (ss->bits_left <= 8) {
# 1098|               uint k = (sizeof(ss->packed_data) * 8 - ss->bits_left) / 8;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/devices/vector/gdevpsft.c:130: error[integerOverflow]: Signed integer overflow for expression '-4'.
#  128|       put_u32(tab + 8, offset + 0x40000000);
#  129|       put_u32(tab + 12, (ulong)length);
#  130|->     return offset + round_up(length, 4);
#  131|   }
#  132|   

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpsft.c:749:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tab + 16’
ghostscript-10.06.0/devices/vector/gdevpsft.c:767:1: enter_function: entry to ‘psf_write_truetype_data’
ghostscript-10.06.0/devices/vector/gdevpsft.c:814:8: branch_false: following ‘false’ branch (when ‘alt_font_name’ is NULL)...
ghostscript-10.06.0/devices/vector/gdevpsft.c:817:26: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpsft.c:830:5: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpsft.c:831:24: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpsft.c:838:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpsft.c:840:9: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpsft.c:840:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpsft.c:841:17: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpsft.c:832:29: branch_false: following ‘false’ branch (when ‘i >= numTables_stored’)...
ghostscript-10.06.0/devices/vector/gdevpsft.c:832:29: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpsft.c:925:10: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpsft.c:949:8: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpsft.c:949:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpsft.c:953:13: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpsft.c:953:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/devices/vector/gdevpsft.c:963:34: branch_true: ...to here
ghostscript-10.06.0/devices/vector/gdevpsft.c:964:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpsft.c:964:16: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpsft.c:971:13: call_function: calling ‘remove_table’ from ‘psf_write_truetype_data’
#  747|   
#  748|           if (!memcmp(tab, tag, 4)) {
#  749|->             memmove(tab, tab + 16, 16 * (*numTables - i - 1));
#  750|               --*numTables;
#  751|           } else

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/devices/vector/gdevpsft.c:1126: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 1124|   
# 1125|               put_u32(entry + 8, offset);
# 1126|->             offset += round_up(length, 4);
# 1127|           } else {
# 1128|               entry[8] -= 0x40;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpsfx.c:133:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘top + 12’
ghostscript-10.06.0/devices/vector/gdevpsfx.c:435:1: enter_function: entry to ‘psf_convert_type1_to_type2’
ghostscript-10.06.0/devices/vector/gdevpsfx.c:498:17: call_function: calling ‘type1_next’ from ‘psf_convert_type1_to_type2’
ghostscript-10.06.0/devices/vector/gdevpsfx.c:498:17: return_function: returning to ‘psf_convert_type1_to_type2’ from ‘type1_next’
ghostscript-10.06.0/devices/vector/gdevpsfx.c:535:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpsfx.c:537:13: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpsfx.c:537:13: call_function: calling ‘type1_stem3’ from ‘psf_convert_type1_to_type2’
#  131|       if (top > bot && v0 == top[-1].v0 && v1 == top[-1].v1) {
#  132|           /* Duplicate hint, don't add it. */
#  133|->         memmove(top, top + 1, (char *)orig_top - (char *)top);
#  134|           if (active_hints) {
#  135|               uint index = top[-1].index;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/devices/vector/gdevpx.c:720: error[integerOverflow]: Signed integer overflow for expression '-4'.
#  718|       stream *s = pclxl_stream(xdev);
#  719|       uint width_bytes = (width_bits + 7) >> 3;
#  720|->     uint num_bytes = ROUND_UP(width_bytes, 4) * height;
#  721|       bool compress = num_bytes >= 8;
#  722|       int i;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/devices/vector/gdevpx.c:773:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘r.limit’
ghostscript-10.06.0/devices/vector/gdevpx.c:2373:1: enter_function: entry to ‘pclxl_image_write_rows’
ghostscript-10.06.0/devices/vector/gdevpx.c:2397:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpx.c:2399:5: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpx.c:2408:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/devices/vector/gdevpx.c:2500:5: branch_false: ...to here
ghostscript-10.06.0/devices/vector/gdevpx.c:2503:5: call_function: calling ‘pclxl_write_image_data’ from ‘pclxl_image_write_rows’
#  771|                   goto ncfree;
#  772|           }
#  773|->         r.ptr = r.limit;
#  774|           code = (*s_RLE_template.process)
#  775|               ((stream_state *) & rlstate, &r, &w, true);

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/extract/src/boxer.c:149:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘boxer’
ghostscript-10.06.0/extract/src/boxer.c:561:5: enter_function: entry to ‘extract_page_analyse’
ghostscript-10.06.0/extract/src/boxer.c:571:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/extract/src/boxer.c:574:9: branch_false: ...to here
ghostscript-10.06.0/extract/src/boxer.c:581:17: call_function: calling ‘boxer_create’ from ‘extract_page_analyse’
ghostscript-10.06.0/extract/src/boxer.c:581:17: return_function: returning to ‘extract_page_analyse’ from ‘boxer_create’
ghostscript-10.06.0/extract/src/boxer.c:583:21: call_function: inlined call to ‘content_span_iterator_init’ from ‘extract_page_analyse’
ghostscript-10.06.0/extract/src/boxer.c:583:74: branch_true: following ‘true’ branch (when ‘span’ is non-NULL)...
ghostscript-10.06.0/extract/src/boxer.c:585:31: branch_true: ...to here
ghostscript-10.06.0/extract/src/boxer.c:586:21: call_function: calling ‘boxer_feed’ from ‘extract_page_analyse’
#  147|   	/* When we feed a box into a the boxer, we can never make
#  148|   	* the list more than 4 times as long. */
#  149|-> 	rectlist_t *newlist = rectlist_create(boxer->alloc, boxer->list->len * 4);
#  150|   	if (newlist == NULL)
#  151|   		return -1;

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/extract/src/boxer.c:241:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘boxer’
ghostscript-10.06.0/extract/src/boxer.c:561:5: enter_function: entry to ‘extract_page_analyse’
ghostscript-10.06.0/extract/src/boxer.c:571:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/extract/src/boxer.c:574:9: branch_false: ...to here
ghostscript-10.06.0/extract/src/boxer.c:581:17: call_function: calling ‘boxer_create’ from ‘extract_page_analyse’
ghostscript-10.06.0/extract/src/boxer.c:581:17: return_function: returning to ‘extract_page_analyse’ from ‘boxer_create’
ghostscript-10.06.0/extract/src/boxer.c:583:74: branch_false: following ‘false’ branch (when ‘span’ is NULL)...
ghostscript-10.06.0/extract/src/boxer.c:590:13: branch_false: ...to here
ghostscript-10.06.0/extract/src/boxer.c:590:13: call_function: calling ‘analyse_sub’ from ‘extract_page_analyse’
#  239|   static rect_t boxer_margins(boxer_t *boxer)
#  240|   {
#  241|-> 	rectlist_t *list = boxer->list;
#  242|   	int i;
#  243|   	rect_t margins = boxer->mediabox;

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/extract/src/boxer.c:289:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘boxer’
ghostscript-10.06.0/extract/src/boxer.c:561:5: enter_function: entry to ‘extract_page_analyse’
ghostscript-10.06.0/extract/src/boxer.c:571:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/extract/src/boxer.c:574:9: branch_false: ...to here
ghostscript-10.06.0/extract/src/boxer.c:581:17: call_function: calling ‘boxer_create’ from ‘extract_page_analyse’
ghostscript-10.06.0/extract/src/boxer.c:581:17: return_function: returning to ‘extract_page_analyse’ from ‘boxer_create’
ghostscript-10.06.0/extract/src/boxer.c:583:74: branch_false: following ‘false’ branch (when ‘span’ is NULL)...
ghostscript-10.06.0/extract/src/boxer.c:590:13: branch_false: ...to here
ghostscript-10.06.0/extract/src/boxer.c:590:13: call_function: calling ‘analyse_sub’ from ‘extract_page_analyse’
#  287|   boxer_subdivide(boxer_t *boxer, boxer_t **boxer1, boxer_t **boxer2)
#  288|   {
#  289|-> 	rectlist_t *list = boxer->list;
#  290|   	int num_h = 0, num_v = 0;
#  291|   	double max_h = 0, max_v = 0;

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/extract/src/join.c:778: warning[uninitvar]: Uninitialized variables: inverse.a, inverse.b, inverse.c, inverse.d
#  776|   				}
#  777|   
#  778|-> 				left  = extract_matrix4_transform_point(inverse, left);
#  779|   				right = extract_matrix4_transform_point(inverse, right);
#  780|   				l = span->flags.wmode ? left.y  : left.x;

Error: COMPILER_WARNING (CWE-457):
ghostscript-10.06.0/extract/src/join.c:889:46: warning[-Wmaybe-uninitialized]: ‘wmode0’ may be used uninitialized
#  889 |                                 if (ctm0_set && (wmode != wmode0 || !matrices_are_compatible(&ctm, &ctm0, wmode0)))
#      |                                     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ghostscript-10.06.0/extract/src/join.c: scope_hint: In function ‘join_content’
ghostscript-10.06.0/extract/src/join.c:862:34: note: ‘wmode0’ was declared here
#  862 |         int               wmode, wmode0;
#      |                                  ^~~~~~
#  887|   				/* If the ctm value differs from the first ctm0 we met for the current collection,
#  888|   				 * flush the collection. */
#  889|-> 				if (ctm0_set && (wmode != wmode0 || !matrices_are_compatible(&ctm, &ctm0, wmode0)))
#  890|   					flush = 1;
#  891|   				break;

Error: COMPILER_WARNING (CWE-758):
ghostscript-10.06.0/extract/src/json.c:83:5: warning[-Wmissing-prototypes]: no previous prototype for ‘extract_document_to_json_content’
#   83 | int extract_document_to_json_content(
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   81|   }
#   82|   
#   83|-> int extract_document_to_json_content(
#   84|   		extract_alloc_t   *alloc,
#   85|   		document_t        *document,

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/extract/src/xml.c:30:9: warning[-Wanalyzer-null-argument]: use of NULL ‘s’ where non-null expected
ghostscript-10.06.0/extract/src/xml.c:428:5: enter_function: entry to ‘extract_xml_pparse_next’
ghostscript-10.06.0/extract/src/xml.c:442:13: call_function: calling ‘str_catl’ from ‘extract_xml_pparse_next’
#   28|   						 p_len + 1,
#   29|   						 p_len + s_len + 1)) return -1;
#   30|-> 	memcpy(*p + p_len, s, s_len);
#   31|   	(*p)[p_len + s_len] = 0;
#   32|   

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/extract/src/zip.c:114: error[integerOverflow]: Signed integer overflow for expression '(0100644<<16)+0'.
#  112|   	0100644:0.  (0100644 is S_IFREG (regular file) plus rw-r-r. See stat(2) for
#  113|   	details.) */
#  114|-> 	zip->file_attr_external = (0100644 << 16) + 0;
#  115|   	if (extract_strdup(alloc, "Artifex", &zip->archive_comment)) goto end;
#  116|   

Error: COMPILER_WARNING (CWE-9001):
ghostscript-10.06.0/pdf/pdf_annot.c:4555:53: warning[-Wcomment]: ‘/*’ within comment
# 4555 |     /*    {"Screen", pdfi_annot_preserve_default},  /* TODO: fts_07_0709.pdf */
# 4553|       {"PolyLine", pdfi_annot_preserve_default},
# 4554|       {"Popup", pdfi_annot_preserve_default},
# 4555|->     /*    {"Screen", pdfi_annot_preserve_default},  /* TODO: fts_07_0709.pdf */
# 4556|       {"Sound", pdfi_annot_preserve_default},
# 4557|       {"Square", pdfi_annot_preserve_default},

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/pdf/pdf_cmap.c:931:13: warning[-Wanalyzer-null-argument]: use of NULL ‘ndlookups’ where non-null expected
ghostscript-10.06.0/pdf/pdf_cmap.c:883:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/pdf/pdf_cmap.c:888:9: branch_true: ...to here
ghostscript-10.06.0/pdf/pdf_cmap.c:894:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/pdf/pdf_cmap.c:899:13: branch_false: ...to here
ghostscript-10.06.0/pdf/pdf_cmap.c:899:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/pdf/pdf_cmap.c:911:16: branch_false: ...to here
ghostscript-10.06.0/pdf/pdf_cmap.c:913:9: release_memory: ‘ndlookups’ is NULL
ghostscript-10.06.0/pdf/pdf_cmap.c:930:21: branch_true: following ‘true’ branch...
ghostscript-10.06.0/pdf/pdf_cmap.c:931:13: danger: argument 1 (‘ndlookups + (long unsigned int)i * 80’) NULL where non-null expected
#  929|           l = pdficmap->notdef_cmap_range.ranges;
#  930|           for (i = 0; i < pdficmap->notdef_cmap_range.numrangemaps && l != NULL; i++) {
#  931|->             memcpy(&ndlookups[i], &l->range, sizeof(gx_cmap_lookup_range_t));
#  932|               l = l->next;
#  933|           }

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/pdf/pdf_dict.c:236: error[ctunullpointer]: Null pointer dereference: Key
#  234|   static int pdfi_dict_find_sorted(pdf_context *ctx, pdf_dict *d, const char *Key)
#  235|   {
#  236|->     int start = 0, end = d->size - 1, middle = 0, keylen = strlen(Key);
#  237|       pdf_name *test_key;
#  238|   

Error: CPPCHECK_WARNING (CWE-476):
ghostscript-10.06.0/pdf/pdf_dict.c:303: error[ctunullpointer]: Null pointer dereference: Key
#  301|       int index = 0;
#  302|   
#  303|->     Test = (char *)gs_alloc_bytes(ctx->memory, (size_t)Key->length + 1, "pdfi_dict_find_key");
#  304|       if (Test == NULL)
#  305|           return_error(gs_error_VMerror);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/pdf/pdf_doc.c:1663:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘code’
ghostscript-10.06.0/pdf/pdf_doc.c:1626:12: enter_function: entry to ‘pdfi_doc_EmbeddedFiles_Names’
ghostscript-10.06.0/pdf/pdf_doc.c:1635:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/pdf/pdf_doc.c:1635:8: branch_false: ...to here
ghostscript-10.06.0/pdf/pdf_doc.c:1643:21: branch_false: following ‘false’ branch...
ghostscript-10.06.0/pdf/pdf_doc.c:1660:2: branch_false: ...to here
ghostscript-10.06.0/pdf/pdf_doc.c:1661:5: call_function: inlined call to ‘pdfi_countdown_impl’ from ‘pdfi_doc_EmbeddedFiles_Names’
ghostscript-10.06.0/pdf/pdf_doc.c:1662:5: branch_true: ...to here
ghostscript-10.06.0/pdf/pdf_doc.c:1662:5: call_function: inlined call to ‘pdfi_countdown_impl’ from ‘pdfi_doc_EmbeddedFiles_Names’
ghostscript-10.06.0/pdf/pdf_doc.c:1663:12: branch_true: ...to here
ghostscript-10.06.0/pdf/pdf_doc.c:1663:12: danger: use of uninitialized value ‘code’ here
# 1661|       pdfi_countdown(name);
# 1662|       pdfi_countdown(filespec);
# 1663|->     return code;
# 1664|   }
# 1665|   

Error: CPPCHECK_WARNING (CWE-909):
ghostscript-10.06.0/pdf/pdf_fapi.c:786: error[uninitStructMember]: Uninitialized struct member: subrstring.length
#  784|                   if (pdfi_type_of(subrstring) == PDF_STRING) {
#  785|                       if (subrstring->length > 0) {
#  786|->                         code = subrstring->length - leniv;
#  787|                           if (buf && buf_length >= code) {
#  788|                               if (ff->need_decrypt && pfont->data.lenIV >= 0) {

Error: CPPCHECK_WARNING (CWE-562):
ghostscript-10.06.0/pdf/pdf_fmap.c:282: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  280|   
#  281|                   if (ctx->main_stream == NULL) {
#  282|->                     ctx->main_stream = &fakemainstream;
#  283|                   }
#  284|   

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/pdf/pdf_font1.c:360:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
ghostscript-10.06.0/pdf/pdf_font1.c:372:1: enter_function: entry to ‘pdfi_t1_decode_pfb’
ghostscript-10.06.0/pdf/pdf_font1.c:382:12: call_function: calling ‘push_pfb_filter’ from ‘pdfi_t1_decode_pfb’
ghostscript-10.06.0/pdf/pdf_font1.c:382:12: return_function: returning to ‘pdfi_t1_decode_pfb’ from ‘push_pfb_filter’
ghostscript-10.06.0/pdf/pdf_font1.c:383:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/pdf/pdf_font1.c:383:8: branch_false: ...to here
ghostscript-10.06.0/pdf/pdf_font1.c:395:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/pdf/pdf_font1.c:400:20: branch_false: ...to here
ghostscript-10.06.0/pdf/pdf_font1.c:402:21: branch_false: following ‘false’ branch...
ghostscript-10.06.0/pdf/pdf_font1.c:402:21: branch_false: ...to here
ghostscript-10.06.0/pdf/pdf_font1.c:403:20: branch_true: following ‘true’ branch...
ghostscript-10.06.0/pdf/pdf_font1.c:408:13: branch_true: ...to here
ghostscript-10.06.0/pdf/pdf_font1.c:408:13: call_function: calling ‘pop_pfb_filter’ from ‘pdfi_t1_decode_pfb’
#  358|   pop_pfb_filter(gs_memory_t *mem, stream *s)
#  359|   {
#  360|->     stream *src = s->strm;
#  361|       byte *b = s->cbuf;
#  362|   

Error: COMPILER_WARNING:
ghostscript-10.06.0/pdf/pdf_fontTT.c: scope_hint: In function ‘pdfi_type42_get_glyph_index’
ghostscript-10.06.0/pdf/pdf_fontTT.c:144:9: warning[-Wunused-but-set-variable=]: variable ‘i’ set but not used
#  144 |     int i, code = 0;
#      |         ^
#  142|       uint gind = 0;
#  143|       uint cc = 0;
#  144|->     int i, code = 0;
#  145|   
#  146|       if ((ttfont->descflags & 4) != 0 || glyph >= GS_MIN_GLYPH_INDEX) {

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/pdf/pdf_gstate.c:2367: warning[uninitvar]: Uninitialized variable: code
# 2365|           }
# 2366|       }
# 2367|->     return code;
# 2368|   }
# 2369|   

Error: COMPILER_WARNING (CWE-9001):
ghostscript-10.06.0/pdf/pdf_pattern.c: scope_hint: In function ‘pdfi_setpattern_type1’
ghostscript-10.06.0/pdf/pdf_pattern.c:506:43: warning[-Wcomment]: ‘/*’ within comment
#  506 |     /* templat.uses_transparency = false; /* disable */
#  504|       templat.uses_transparency = transparency;
#  505|       templat.BM_Not_Normal = BM_Not_Normal;
#  506|->     /* templat.uses_transparency = false; /* disable */
#  507|   
#  508|       code = pdfi_gsave(ctx);

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/psi/dscparse.c:2159:9: warning[-Wanalyzer-null-argument]: use of NULL ‘*dsc.dsc_version’ where non-null expected
ghostscript-10.06.0/psi/dscparse.c:294:1: enter_function: entry to ‘dsc_scan_data’
ghostscript-10.06.0/psi/dscparse.c:314:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/dscparse.c:317:12: branch_false: ...to here
ghostscript-10.06.0/psi/dscparse.c:317:12: branch_true: following ‘true’ branch (when ‘length != 0’)...
ghostscript-10.06.0/psi/dscparse.c:319:17: branch_true: ...to here
ghostscript-10.06.0/psi/dscparse.c:319:16: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/dscparse.c:321:40: branch_true: ...to here
ghostscript-10.06.0/psi/dscparse.c:333:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/dscparse.c:334:20: branch_true: ...to here
ghostscript-10.06.0/psi/dscparse.c:334:20: call_function: calling ‘dsc_scan_type’ from ‘dsc_scan_data’
# 2157|   
# 2158|       dsc->dsc_version = dsc_add_line(dsc, dsc->line, dsc->line_length);
# 2159|->     if (COMPARE(dsc->line, "%!PS-Adobe")) {
# 2160|           dsc->dsc = TRUE;
# 2161|           dsc->begincomments = DSC_START(dsc);

Error: CPPCHECK_WARNING (CWE-758):
ghostscript-10.06.0/psi/iapi.h:395: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  393|        * param is set without this flag (or on device init). Not valid
#  394|        * for get_typed_param. */
#  395|->     gs_spt_more_to_come = 1<<31
#  396|   } gs_set_param_type;
#  397|   /* gs_spt_parsed allows for a string such as "<< /Foo 0 /Bar true >>" or

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/psi/idict.c:816: error[uninitvar]: Uninitialized variable: *(&dnew.keys)
#  814|       else
#  815|           gs_free_ref_array(mem, &pdict->keys, "dict_resize(old keys)");
#  816|->     ref_assign(&pdict->keys, &dnew.keys);
#  817|       ref_assign(&pdict->values, &dnew.values);
#  818|       r_store_attrs(&pdict->values, a_all | a_executable, orig_attrs);

Error: CPPCHECK_WARNING (CWE-909):
ghostscript-10.06.0/psi/igc.c:531: error[uninitStructMember]: Uninitialized struct member: total.is_thread_safe
#  529|               next = mem->saved;
#  530|               mem->saved = prev;
#  531|->             mem->previous_status = total;
#  532|               if_debug3m('6', (const gs_memory_t *)mem,
#  533|                          "[6]"PRI_INTPTR" previous allocated=%lu, used=%lu\n",

Error: CPPCHECK_WARNING (CWE-909):
ghostscript-10.06.0/psi/igc.c:531: error[uninitStructMember]: Uninitialized struct member: total.limit
#  529|               next = mem->saved;
#  530|               mem->saved = prev;
#  531|->             mem->previous_status = total;
#  532|               if_debug3m('6', (const gs_memory_t *)mem,
#  533|                          "[6]"PRI_INTPTR" previous allocated=%lu, used=%lu\n",

Error: CPPCHECK_WARNING (CWE-909):
ghostscript-10.06.0/psi/igc.c:531: error[uninitStructMember]: Uninitialized struct member: total.max_used
#  529|               next = mem->saved;
#  530|               mem->saved = prev;
#  531|->             mem->previous_status = total;
#  532|               if_debug3m('6', (const gs_memory_t *)mem,
#  533|                          "[6]"PRI_INTPTR" previous allocated=%lu, used=%lu\n",

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/psi/igc.c:1196: error[integerOverflow]: Signed integer overflow for expression '-((((((8-1)|(8-1)|(8-1))+1)-1)|((1<<3)-1)|((1<<1)-1))+1)'.
# 1194|            !(*procs->set_reloc) (pre, reloc, size))
# 1195|           ) {			/* Free object */
# 1196|->         reloc += sizeof(obj_header_t) + obj_align_round(size);
# 1197|           if ((finalize = pre->o_type->finalize) != 0) {
# 1198|               if_debug2m('u', gcst->heap, "[u]GC finalizing %s "PRI_INTPTR"\n",

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/psi/igcstr.c:67: error[integerOverflow]: Signed integer overflow for expression '-(1<<(2+3))'.
#   65|   {
#   66|       uint offset = ptr - cp->sbase;
#   67|->     bword *bp = (bword *) (cp->smark + ((offset & -bword_bits) >> 3));
#   68|       uint bn = offset & (bword_bits - 1);
#   69|       bword m = (bword)(((uint64_t)bword_1s << bn) & bword_1s);

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/psi/igcstr.c:97: error[integerOverflow]: Signed integer overflow for expression '-(1<<(2+3))'.
#   95|               m = bword_1s, left -= bword_bits - bn, bp++;
#   96|               if (left >= bword_bits * 5) {
#   97|->                 memset(bp, 0, (left & -bword_bits) >> 3);
#   98|                   bp += left >> bword_log2_bits;
#   99|                   left &= bword_bits - 1;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/psi/iname.c:111: error[integerOverflow]: Signed integer overflow for expression '-(1<<(8+(4>=2)))'.
#  109|       for (i = -1; i < NT_1CHAR_SIZE; i++) {
#  110|           uint ncnt = NT_1CHAR_FIRST + i;
#  111|->         uint nidx = name_count_to_index(ncnt);
#  112|           name *pname = names_index_ptr_inline(nt, nidx);
#  113|           name_string_t *pnstr = names_index_string_inline(nt, nidx);

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/psi/iname.c:180: error[integerOverflow]: Signed integer overflow for expression '-(1<<(8+(4>=2)))'.
#  178|               uint hash = *ptr + NT_1CHAR_FIRST;
#  179|   
#  180|->             nidx = name_count_to_index(hash);
#  181|               pname = names_index_ptr_inline(nt, nidx);
#  182|               goto mkn;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/psi/iname.c:345: error[integerOverflow]: Signed integer overflow for expression '-(1<<(8+(4>=2)))'.
#  343|               /* We can make the test much more efficient if we want.... */
#  344|               for (i = 0; i < nt_sub_size; ++i)
#  345|->                 if (name_index_to_count((si << nt_log2_sub_size) + i) >=
#  346|                       nt->perm_count)
#  347|                       ssub->strings[i].mark = 0;

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/psi/iname.c:586: error[integerOverflow]: Signed integer overflow for expression '-(1<<(8+(4>=2)))'.
#  584|           nbase = 1, keep = true;	/* don't free name 0 */
#  585|       for (;; --ncnt) {
#  586|->         uint nidx = name_count_to_index(ncnt);
#  587|           name_string_t *pnstr = &ssub->strings[nidx & nt_sub_index_mask];
#  588|   

Error: CPPCHECK_WARNING (CWE-562):
ghostscript-10.06.0/psi/iparam.c:668: error[invalidLifetime]: Using object that points to local variable 'elt' that is out of scope.
#  666|       if (code < 0) {
#  667|           gs_free_object(plist->memory, psv, "ref_param_read_string_array");
#  668|->         return (*loc.presult = code);
#  669|       }
#  670|       pvalue->data = psv;

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/psi/isave.c:727:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.06.0/psi/isave.c:868:1: enter_function: entry to ‘alloc_restore_all’
ghostscript-10.06.0/psi/isave.c:882:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/isave.c:883:71: branch_true: ...to here
ghostscript-10.06.0/psi/isave.c:883:52: call_function: calling ‘alloc_save_current’ from ‘alloc_restore_all’
ghostscript-10.06.0/psi/isave.c:883:52: return_function: returning to ‘alloc_restore_all’ from ‘alloc_save_current’
ghostscript-10.06.0/psi/isave.c:883:29: call_function: inlined call to ‘alloc_save_client_data’ from ‘alloc_restore_all’
#  725|   alloc_save_client_data(const alloc_save_t * save)
#  726|   {
#  727|->     return save->client_data;
#  728|   }
#  729|   

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/psi/iscan.c:381:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘base’
ghostscript-10.06.0/psi/iscan.c:437:1: enter_function: entry to ‘gs_scan_token’
ghostscript-10.06.0/psi/iscan.c:489:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/iscan.c:490:9: branch_true: ...to here
ghostscript-10.06.0/psi/iscan.c:490:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/iscan.c:490:9: branch_false: ...to here
ghostscript-10.06.0/psi/iscan.c:490:9: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/iscan.c:492:9: branch_true: ...to here
ghostscript-10.06.0/psi/iscan.c:495:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/iscan.c:496:9: branch_true: ...to here
ghostscript-10.06.0/psi/iscan.c:497:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/iscan.c:852:35: call_function: calling ‘scan_comment’ from ‘gs_scan_token’
#  379|           if (cstr == 0)
#  380|               return_error(gs_error_VMerror);
#  381|->         memcpy(cstr, base, len);
#  382|           make_string(pref, a_all | icurrent_space, len, cstr);
#  383|       }

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/psi/iscan.c:817:21: warning[-Wanalyzer-null-argument]: use of NULL ‘sptr’ where non-null expected
ghostscript-10.06.0/psi/iscan.c:495:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/iscan.c:533:28: branch_false: ...to here
ghostscript-10.06.0/psi/iscan.c:549:11: branch_true: following ‘true’ branch (when ‘sptr >= endptr’)...
ghostscript-10.06.0/psi/iscan.c:549:11: branch_true: ...to here
ghostscript-10.06.0/psi/iscan.c:549:11: branch_false: following ‘false’ branch (when ‘sptr’ is NULL)...
ghostscript-10.06.0/psi/iscan.c:551:5: branch_false: ...to here
ghostscript-10.06.0/psi/iscan.c:786:24: branch_false: following ‘false’ branch (when ‘endptr <= sptr’)...
ghostscript-10.06.0/psi/iscan.c:810:17: branch_false: ...to here
ghostscript-10.06.0/psi/iscan.c:817:21: danger: argument 2 (‘sptr’) NULL where non-null expected
#  815|                           len = sizeof(sstate.s_da.buf);
#  816|   
#  817|->                     memcpy(sstate.s_da.buf, base, len);
#  818|                       daptr = sstate.s_da.buf + len;
#  819|                   }

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/psi/iutil.c:571:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘data + (sizetype)start_pos’
ghostscript-10.06.0/psi/iutil.c:606:1: enter_function: entry to ‘obj_cvs’
ghostscript-10.06.0/psi/iutil.c:609:16: call_function: calling ‘obj_cvp’ from ‘obj_cvs’
#  569|       size -= start_pos;
#  570|       *prlen = min(size, len);
#  571|->     memmove(str, data + start_pos, *prlen);
#  572|       return (size > len);
#  573|   }

Error: CPPCHECK_WARNING (CWE-190):
ghostscript-10.06.0/psi/zarith.c:460: error[integerOverflow]: Signed integer overflow for expression '-2147483647-1'.
#  458|           case t_integer:
#  459|               if (sizeof(ps_int) != 32 && gs_currentcpsimode(imemory)) {
#  460|->                 if (((unsigned int)op->value.intval) == MIN_PS_INT32)
#  461|                       make_real(op, -(float)(ps_uint32)MIN_PS_INT32);
#  462|                   else

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/psi/zbfont.c:644:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fstrs[i].size’
ghostscript-10.06.0/psi/zbfont.c:612:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zbfont.c:621:21: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:621:21: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:637:25: branch_true: following ‘true’ branch (when ‘index != 7’)...
ghostscript-10.06.0/psi/zbfont.c:640:18: branch_true: ...to here
ghostscript-10.06.0/psi/zbfont.c:640:29: branch_true: following ‘true’ branch (when ‘i != -1’)...
ghostscript-10.06.0/psi/zbfont.c:643:17: branch_true: ...to here
ghostscript-10.06.0/psi/zbfont.c:644:34: danger: use of uninitialized value ‘fstrs[i].size’ here
#  642|   
#  643|                   gs_c_glyph_name(gs_c_known_encode((gs_char)i, index), &rstr);
#  644|->                 if (rstr.size == fstrs[i].size &&
#  645|                       !memcmp(rstr.data, fstrs[i].data, rstr.size)
#  646|                       )

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/psi/zbfont.c:981:5: warning[-Wanalyzer-null-argument]: use of NULL ‘fname.value.bytes’ where non-null expected
ghostscript-10.06.0/psi/zbfont.c:724:1: enter_function: entry to ‘build_gs_font’
ghostscript-10.06.0/psi/zbfont.c:741:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:742:10: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:741:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:743:9: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:741:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:746:9: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:746:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zbfont.c:747:14: branch_true: ...to here
ghostscript-10.06.0/psi/zbfont.c:747:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:749:9: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:754:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:820:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:820:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:821:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:820:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:822:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:820:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:823:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:820:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:824:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:820:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:827:12: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:828:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zbfont.c:842:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zbfont.c:843:17: branch_true: ...to here
ghostscript-10.06.0/psi/zbfont.c:843:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:853:40: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:853:24: call_function: calling ‘sub_font_params’ from ‘build_gs_font’
ghostscript-10.06.0/psi/zbfont.c:853:24: return_function: returning to ‘build_gs_font’ from ‘sub_font_params’
ghostscript-10.06.0/psi/zbfont.c:854:20: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:857:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:857:17: call_function: calling ‘copy_font_name’ from ‘build_gs_font’
#  979|       if (size > gs_font_name_max)
#  980|           size = gs_font_name_max;
#  981|->     memcpy(&pfstr->chars[0], pfname->value.const_bytes, size);
#  982|       /* Following is only for debugging printout. */
#  983|       pfstr->chars[size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688):
ghostscript-10.06.0/psi/zbfont.c:981:5: warning[-Wanalyzer-null-argument]: use of NULL ‘kname.value.bytes’ where non-null expected
ghostscript-10.06.0/psi/zbfont.c:724:1: enter_function: entry to ‘build_gs_font’
ghostscript-10.06.0/psi/zbfont.c:740:5: call_function: calling ‘get_font_name’ from ‘build_gs_font’
ghostscript-10.06.0/psi/zbfont.c:740:5: return_function: returning to ‘build_gs_font’ from ‘get_font_name’
ghostscript-10.06.0/psi/zbfont.c:741:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:742:10: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:741:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:743:9: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:741:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:746:9: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:746:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zbfont.c:747:14: branch_true: ...to here
ghostscript-10.06.0/psi/zbfont.c:747:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:749:9: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:754:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:820:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:820:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:821:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:820:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:822:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:820:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:823:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:820:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:824:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:820:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:827:12: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:828:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zbfont.c:842:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zbfont.c:843:17: branch_true: ...to here
ghostscript-10.06.0/psi/zbfont.c:843:16: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:853:40: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:853:24: call_function: calling ‘sub_font_params’ from ‘build_gs_font’
ghostscript-10.06.0/psi/zbfont.c:853:24: return_function: returning to ‘build_gs_font’ from ‘sub_font_params’
ghostscript-10.06.0/psi/zbfont.c:854:20: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zbfont.c:857:17: branch_false: ...to here
ghostscript-10.06.0/psi/zbfont.c:857:17: call_function: calling ‘copy_font_name’ from ‘build_gs_font’
#  979|       if (size > gs_font_name_max)
#  980|           size = gs_font_name_max;
#  981|->     memcpy(&pfstr->chars[0], pfname->value.const_bytes, size);
#  982|       /* Following is only for debugging printout. */
#  983|       pfstr->chars[size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/psi/zcie.c:358:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*has_lmn_procs’
ghostscript-10.06.0/psi/zcie.c:626:1: enter_function: entry to ‘cieabcspace’
ghostscript-10.06.0/psi/zcie.c:647:5: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zcie.c:647:5: branch_false: ...to here
ghostscript-10.06.0/psi/zcie.c:649:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zcie.c:651:16: branch_true: ...to here
ghostscript-10.06.0/psi/zcie.c:652:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zcie.c:654:15: branch_false: ...to here
ghostscript-10.06.0/psi/zcie.c:656:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zcie.c:658:39: branch_false: ...to here
ghostscript-10.06.0/psi/zcie.c:658:16: call_function: calling ‘cie_abc_param’ from ‘cieabcspace’
#  356|           (pcie->caches.DecodeABC.caches)[2].floats.params.is_identity = true;
#  357|       }
#  358|->     if (*has_lmn_procs) {
#  359|           cieicc_prepare_caches(i_ctx_p, (&pcie->common.RangeLMN)->ranges,
#  360|                       pcprocs->DecodeLMN.value.const_refs,

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/psi/zcolor.c:6959: warning[uninitvar]: Uninitialized variable: obj
# 6957|   
# 6958|       /* Remove our next continuation and our data */
# 6959|->     obj->numcomponents(i_ctx_p, parr, &i);
# 6960|       /* This would be better done sooner, but we need the color space object first */
# 6961|       check_op(i);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/psi/zcolor.c:7027:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘obj’
ghostscript-10.06.0/psi/zcolor.c:7005:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zcolor.c:7006:9: branch_true: ...to here
ghostscript-10.06.0/psi/zcolor.c:7010:20: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zcolor.c:7027:19: branch_false: ...to here
ghostscript-10.06.0/psi/zcolor.c:7027:19: danger: use of uninitialized value ‘obj’ here
# 7025|           }
# 7026|   
# 7027|->         code = obj->setproc(i_ctx_p, parr, &stage, &cont, CIESubst);
# 7028|           make_int(pstage, stage);
# 7029|           if (code != 0) {

Error: GCC_ANALYZER_WARNING (CWE-835):
ghostscript-10.06.0/psi/zcolor.c:7093:9: warning[-Wanalyzer-infinite-loop]: infinite loop
# 7091|   
# 7092|       do {
# 7093|->         switch(stage) {
# 7094|               case 0:
# 7095|                   make_int(pstage, ++stage);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/psi/zfapi.c:119:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*r.offset’
ghostscript-10.06.0/psi/zfapi.c:394:1: enter_function: entry to ‘true_type_size’
ghostscript-10.06.0/psi/zfapi.c:398:5: call_function: calling ‘sfnts_reader_init’ from ‘true_type_size’
ghostscript-10.06.0/psi/zfapi.c:398:5: return_function: returning to ‘true_type_size’ from ‘sfnts_reader_init’
ghostscript-10.06.0/psi/zfapi.c:399:15: call_function: calling ‘sfnts_copy_except_glyf’ from ‘true_type_size’
#  117|   sfnts_reader_rbyte_inline(sfnts_reader *r)
#  118|   {
#  119|->     if (r->offset >= r->length)
#  120|           sfnts_next_elem(r);
#  121|       return ((r->error < 0) ? 0 : r->p[r->offset++]);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/psi/zfapi.c:188:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*r.length’
ghostscript-10.06.0/psi/zfapi.c:1918:1: enter_function: entry to ‘sfnt_get_glyph_offset’
ghostscript-10.06.0/psi/zfapi.c:1925:8: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zfapi.c:1926:27: branch_true: ...to here
ghostscript-10.06.0/psi/zfapi.c:1926:9: call_function: calling ‘sfnts_reader_init’ from ‘sfnt_get_glyph_offset’
ghostscript-10.06.0/psi/zfapi.c:1926:9: return_function: returning to ‘sfnt_get_glyph_offset’ from ‘sfnts_reader_init’
ghostscript-10.06.0/psi/zfapi.c:1927:9: call_function: calling ‘sfnts_reader_seek’ from ‘sfnt_get_glyph_offset’
#  186|       r->index = -1;
#  187|       sfnts_next_elem(r);
#  188|->     while (skipped + r->length < pos && r->error >= 0) {
#  189|           skipped += r->length;
#  190|           sfnts_next_elem(r);

Error: GCC_ANALYZER_WARNING (CWE-457):
ghostscript-10.06.0/psi/zfcid0.c:57:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pgd.bits.size’
ghostscript-10.06.0/psi/zfcid0.c:176:1: enter_function: entry to ‘z9_glyph_data’
ghostscript-10.06.0/psi/zfcid0.c:187:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zfcid0.c:207:8: branch_false: ...to here
ghostscript-10.06.0/psi/zfcid0.c:207:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zfcid0.c:218:21: call_function: calling ‘cid0_read_bytes’ from ‘z9_glyph_data’
ghostscript-10.06.0/psi/zfcid0.c:218:21: return_function: returning to ‘z9_glyph_data’ from ‘cid0_read_bytes’
ghostscript-10.06.0/psi/zfcid0.c:222:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zfcid0.c:224:9: branch_false: ...to here
ghostscript-10.06.0/psi/zfcid0.c:225:21: call_function: calling ‘get_index’ from ‘z9_glyph_data’
#   55|       int i;
#   56|   
#   57|->     if (pgd->bits.size < count)
#   58|           return_error(gs_error_rangecheck);
#   59|       *pval = 0;

Error: CPPCHECK_WARNING (CWE-758):
ghostscript-10.06.0/psi/zfont2.c:1430: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1428|       unsigned int c, u;
# 1429|       const int ext16 = ~0 << 15;  /* sign extension constant */
# 1430|->     const int ext32 = ~0 << 31;  /* sign extension constant */
# 1431|   
# 1432|       if ((code = card8(&c, data, p, pe)) < 0)

Error: GCC_ANALYZER_WARNING (CWE-476):
ghostscript-10.06.0/psi/zicc.c:229:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘picc_profile’
ghostscript-10.06.0/psi/zicc.c:77:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zicc.c:79:5: branch_false: ...to here
ghostscript-10.06.0/psi/zicc.c:79:5: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zicc.c:79:5: branch_false: ...to here
ghostscript-10.06.0/psi/zicc.c:83:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zicc.c:94:9: branch_false: ...to here
ghostscript-10.06.0/psi/zicc.c:109:12: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zicc.c:116:62: branch_false: ...to here
ghostscript-10.06.0/psi/zicc.c:118:9: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zicc.c:125:71: branch_false: ...to here
ghostscript-10.06.0/psi/zicc.c:126:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zicc.c:131:5: branch_false: ...to here
ghostscript-10.06.0/psi/zicc.c:153:8: branch_false: following ‘false’ branch...
ghostscript-10.06.0/psi/zicc.c:161:5: branch_false: ...to here
ghostscript-10.06.0/psi/zicc.c:222:8: branch_true: following ‘true’ branch (when ‘picc_profile’ is non-NULL)...
ghostscript-10.06.0/psi/zicc.c:226:9: branch_true: ...to here
ghostscript-10.06.0/psi/zicc.c:226:9: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zicc.c:226:9: branch_true: ...to here
ghostscript-10.06.0/psi/zicc.c:227:12: branch_true: following ‘true’ branch...
ghostscript-10.06.0/psi/zicc.c:229:43: branch_true: ...to here
ghostscript-10.06.0/psi/zicc.c:229:43: danger: dereference of NULL ‘picc_profile’
#  227|           if (code >= 0) {
#  228|               /* Save this colorspace in the iccprofile_cache */
#  229|->             code = gsicc_add_cs(igs, pcs, picc_profile->hashcode);
#  230|               if (code >= 0) {
#  231|                   /* should be an integer, but if for some reason it isn't, don't update */

Error: CPPCHECK_WARNING (CWE-457):
ghostscript-10.06.0/psi/zupath.c:633: error[uninitvar]: Uninitialized variable: pts.x
#  631|           const double  *fts[6];
#  632|   
#  633|->         fts[0] = &pts[0].x;
#  634|           fts[1] = &pts[0].y;
#  635|           fts[2] = &pts[1].x;

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:7:1: warning[-Wlto-type-mismatch]: type of ‘gs_display_device’ does not match original declaration
#    7 | device_(gs_display_device)
#      | ^
ghostscript-10.06.0/devices/gdevdsp.c:133:25: note: type ‘const struct gx_device_display’ should match type ‘struct gx_device’
#  133 | const gx_device_display gs_display_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevdsp.c:133:25: note: ‘gs_display_device’ was previously declared here
#    5|   #endif
#    6|   #ifdef device_
#    7|-> device_(gs_display_device)
#    8|   #endif
#    9|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:10:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11_device’ does not match original declaration
#   10 | device2_(gs_x11_device)
#      | ^
ghostscript-10.06.0/devices/gdevx.c:164:1: note: type ‘const struct gx_device_X’ should match type ‘const struct gx_device’
#  164 | x_device(gs_x11_device,
#      | ^
ghostscript-10.06.0/devices/gdevx.c:164:1: note: ‘gs_x11_device’ was previously declared here
#    8|   #endif
#    9|   #ifdef device2_
#   10|-> device2_(gs_x11_device)
#   11|   device2_(gs_x11alpha_device)
#   12|   device2_(gs_x11cmyk_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:11:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11alpha_device’ does not match original declaration
#   11 | device2_(gs_x11alpha_device)
#      | ^
ghostscript-10.06.0/devices/gdevx.c:173:1: note: type ‘const struct gx_device_X’ should match type ‘const struct gx_device’
#  173 | x_device(gs_x11alpha_device,
#      | ^
ghostscript-10.06.0/devices/gdevx.c:173:1: note: ‘gs_x11alpha_device’ was previously declared here
#    9|   #ifdef device2_
#   10|   device2_(gs_x11_device)
#   11|-> device2_(gs_x11alpha_device)
#   12|   device2_(gs_x11cmyk_device)
#   13|   device2_(gs_x11cmyk2_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:12:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11cmyk_device’ does not match original declaration
#   12 | device2_(gs_x11cmyk_device)
#      | ^
ghostscript-10.06.0/devices/gdevxalt.c:601:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  601 | const gx_device_X_wrapper gs_x11cmyk_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevxalt.c:601:27: note: ‘gs_x11cmyk_device’ was previously declared here
#   10|   device2_(gs_x11_device)
#   11|   device2_(gs_x11alpha_device)
#   12|-> device2_(gs_x11cmyk_device)
#   13|   device2_(gs_x11cmyk2_device)
#   14|   device2_(gs_x11cmyk4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:13:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11cmyk2_device’ does not match original declaration
#   13 | device2_(gs_x11cmyk2_device)
#      | ^
ghostscript-10.06.0/devices/gdevxalt.c:610:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  610 | const gx_device_X_wrapper gs_x11cmyk2_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevxalt.c:610:27: note: ‘gs_x11cmyk2_device’ was previously declared here
#   11|   device2_(gs_x11alpha_device)
#   12|   device2_(gs_x11cmyk_device)
#   13|-> device2_(gs_x11cmyk2_device)
#   14|   device2_(gs_x11cmyk4_device)
#   15|   device2_(gs_x11cmyk8_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:14:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11cmyk4_device’ does not match original declaration
#   14 | device2_(gs_x11cmyk4_device)
#      | ^
ghostscript-10.06.0/devices/gdevxalt.c:619:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  619 | const gx_device_X_wrapper gs_x11cmyk4_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevxalt.c:619:27: note: ‘gs_x11cmyk4_device’ was previously declared here
#   12|   device2_(gs_x11cmyk_device)
#   13|   device2_(gs_x11cmyk2_device)
#   14|-> device2_(gs_x11cmyk4_device)
#   15|   device2_(gs_x11cmyk8_device)
#   16|   device2_(gs_x11gray2_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:15:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11cmyk8_device’ does not match original declaration
#   15 | device2_(gs_x11cmyk8_device)
#      | ^
ghostscript-10.06.0/devices/gdevxalt.c:628:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  628 | const gx_device_X_wrapper gs_x11cmyk8_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevxalt.c:628:27: note: ‘gs_x11cmyk8_device’ was previously declared here
#   13|   device2_(gs_x11cmyk2_device)
#   14|   device2_(gs_x11cmyk4_device)
#   15|-> device2_(gs_x11cmyk8_device)
#   16|   device2_(gs_x11gray2_device)
#   17|   device2_(gs_x11gray4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:16:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11gray2_device’ does not match original declaration
#   16 | device2_(gs_x11gray2_device)
#      | ^
ghostscript-10.06.0/devices/gdevxalt.c:776:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  776 | const gx_device_X_wrapper gs_x11gray2_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevxalt.c:776:27: note: ‘gs_x11gray2_device’ was previously declared here
#   14|   device2_(gs_x11cmyk4_device)
#   15|   device2_(gs_x11cmyk8_device)
#   16|-> device2_(gs_x11gray2_device)
#   17|   device2_(gs_x11gray4_device)
#   18|   device2_(gs_x11mono_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:17:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11gray4_device’ does not match original declaration
#   17 | device2_(gs_x11gray4_device)
#      | ^
ghostscript-10.06.0/devices/gdevxalt.c:786:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  786 | const gx_device_X_wrapper gs_x11gray4_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevxalt.c:786:27: note: ‘gs_x11gray4_device’ was previously declared here
#   15|   device2_(gs_x11cmyk8_device)
#   16|   device2_(gs_x11gray2_device)
#   17|-> device2_(gs_x11gray4_device)
#   18|   device2_(gs_x11mono_device)
#   19|   device2_(gs_x11rg16x_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:18:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11mono_device’ does not match original declaration
#   18 | device2_(gs_x11mono_device)
#      | ^
ghostscript-10.06.0/devices/gdevxalt.c:730:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  730 | const gx_device_X_wrapper gs_x11mono_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevxalt.c:730:27: note: ‘gs_x11mono_device’ was previously declared here
#   16|   device2_(gs_x11gray2_device)
#   17|   device2_(gs_x11gray4_device)
#   18|-> device2_(gs_x11mono_device)
#   19|   device2_(gs_x11rg16x_device)
#   20|   device2_(gs_x11rg32x_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:19:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11rg16x_device’ does not match original declaration
#   19 | device2_(gs_x11rg16x_device)
#      | ^
ghostscript-10.06.0/devices/gdevxalt.c:845:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  845 | const gx_device_X_wrapper gs_x11rg16x_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevxalt.c:845:27: note: ‘gs_x11rg16x_device’ was previously declared here
#   17|   device2_(gs_x11gray4_device)
#   18|   device2_(gs_x11mono_device)
#   19|-> device2_(gs_x11rg16x_device)
#   20|   device2_(gs_x11rg32x_device)
#   21|   device2_(gs_PCLm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:20:1: warning[-Wlto-type-mismatch]: type of ‘gs_x11rg32x_device’ does not match original declaration
#   20 | device2_(gs_x11rg32x_device)
#      | ^
ghostscript-10.06.0/devices/gdevxalt.c:863:27: note: type ‘const struct gx_device_X_wrapper’ should match type ‘const struct gx_device’
#  863 | const gx_device_X_wrapper gs_x11rg32x_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevxalt.c:863:27: note: ‘gs_x11rg32x_device’ was previously declared here
#   18|   device2_(gs_x11mono_device)
#   19|   device2_(gs_x11rg16x_device)
#   20|-> device2_(gs_x11rg32x_device)
#   21|   device2_(gs_PCLm_device)
#   22|   device2_(gs_PCLm8_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:21:1: warning[-Wlto-type-mismatch]: type of ‘gs_PCLm_device’ does not match original declaration
#   21 | device2_(gs_PCLm_device)
#      | ^
ghostscript-10.06.0/devices/gdevpdfimg.c:1168:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
# 1168 | const gx_device_pdf_image gs_PCLm_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevpdfimg.c:1168:27: note: ‘gs_PCLm_device’ was previously declared here
#   19|   device2_(gs_x11rg16x_device)
#   20|   device2_(gs_x11rg32x_device)
#   21|-> device2_(gs_PCLm_device)
#   22|   device2_(gs_PCLm8_device)
#   23|   device2_(gs_bbox_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:22:1: warning[-Wlto-type-mismatch]: type of ‘gs_PCLm8_device’ does not match original declaration
#   22 | device2_(gs_PCLm8_device)
#      | ^
ghostscript-10.06.0/devices/gdevpdfimg.c:1186:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
# 1186 | const gx_device_pdf_image gs_PCLm8_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevpdfimg.c:1186:27: note: ‘gs_PCLm8_device’ was previously declared here
#   20|   device2_(gs_x11rg32x_device)
#   21|   device2_(gs_PCLm_device)
#   22|-> device2_(gs_PCLm8_device)
#   23|   device2_(gs_bbox_device)
#   24|   device2_(gs_bit_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:23:1: warning[-Wlto-type-mismatch]: type of ‘gs_bbox_device’ does not match original declaration
#   23 | device2_(gs_bbox_device)
#      | ^
ghostscript-10.06.0/base/gdevbbox.c:114:16: note: type ‘const struct gx_device_bbox’ should match type ‘const struct gx_device’
#  114 | gx_device_bbox gs_bbox_device =
#      |                ^
ghostscript-10.06.0/base/gdevbbox.c:114:16: note: ‘gs_bbox_device’ was previously declared here
#   21|   device2_(gs_PCLm_device)
#   22|   device2_(gs_PCLm8_device)
#   23|-> device2_(gs_bbox_device)
#   24|   device2_(gs_bit_device)
#   25|   device2_(gs_bitcmyk_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:24:1: warning[-Wlto-type-mismatch]: type of ‘gs_bit_device’ does not match original declaration
#   24 | device2_(gs_bit_device)
#      | ^
ghostscript-10.06.0/devices/gdevbit.c:101:21: note: type ‘const struct gx_device_bit’ should match type ‘const struct gx_device’
#  101 | const gx_device_bit gs_bit_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevbit.c:101:21: note: ‘gs_bit_device’ was previously declared here
#   22|   device2_(gs_PCLm8_device)
#   23|   device2_(gs_bbox_device)
#   24|-> device2_(gs_bit_device)
#   25|   device2_(gs_bitcmyk_device)
#   26|   device2_(gs_bitrgb_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:25:1: warning[-Wlto-type-mismatch]: type of ‘gs_bitcmyk_device’ does not match original declaration
#   25 | device2_(gs_bitcmyk_device)
#      | ^
ghostscript-10.06.0/devices/gdevbit.c:139:21: note: type ‘const struct gx_device_bit’ should match type ‘const struct gx_device’
#  139 | const gx_device_bit gs_bitcmyk_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevbit.c:139:21: note: ‘gs_bitcmyk_device’ was previously declared here
#   23|   device2_(gs_bbox_device)
#   24|   device2_(gs_bit_device)
#   25|-> device2_(gs_bitcmyk_device)
#   26|   device2_(gs_bitrgb_device)
#   27|   device2_(gs_bitrgbtags_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:26:1: warning[-Wlto-type-mismatch]: type of ‘gs_bitrgb_device’ does not match original declaration
#   26 | device2_(gs_bitrgb_device)
#      | ^
ghostscript-10.06.0/devices/gdevbit.c:120:21: note: type ‘const struct gx_device_bit’ should match type ‘const struct gx_device’
#  120 | const gx_device_bit gs_bitrgb_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevbit.c:120:21: note: ‘gs_bitrgb_device’ was previously declared here
#   24|   device2_(gs_bit_device)
#   25|   device2_(gs_bitcmyk_device)
#   26|-> device2_(gs_bitrgb_device)
#   27|   device2_(gs_bitrgbtags_device)
#   28|   device2_(gs_bmp16_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:27:1: warning[-Wlto-type-mismatch]: type of ‘gs_bitrgbtags_device’ does not match original declaration
#   27 | device2_(gs_bitrgbtags_device)
#      | ^
ghostscript-10.06.0/devices/gdevbit.c:166:21: note: type ‘const struct gx_device_bit’ should match type ‘const struct gx_device’
#  166 | const gx_device_bit gs_bitrgbtags_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevbit.c:166:21: note: ‘gs_bitrgbtags_device’ was previously declared here
#   25|   device2_(gs_bitcmyk_device)
#   26|   device2_(gs_bitrgb_device)
#   27|-> device2_(gs_bitrgbtags_device)
#   28|   device2_(gs_bmp16_device)
#   29|   device2_(gs_bmp16m_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:28:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmp16_device’ does not match original declaration
#   28 | device2_(gs_bmp16_device)
#      | ^
ghostscript-10.06.0/devices/gdevbmp.c:103:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  103 | const gx_device_printer gs_bmp16_device = {
#      |                         ^
ghostscript-10.06.0/devices/gdevbmp.c:103:25: note: ‘gs_bmp16_device’ was previously declared here
#   26|   device2_(gs_bitrgb_device)
#   27|   device2_(gs_bitrgbtags_device)
#   28|-> device2_(gs_bmp16_device)
#   29|   device2_(gs_bmp16m_device)
#   30|   device2_(gs_bmp256_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:29:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmp16m_device’ does not match original declaration
#   29 | device2_(gs_bmp16m_device)
#      | ^
ghostscript-10.06.0/devices/gdevbmp.c:148:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  148 | const gx_device_printer gs_bmp16m_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevbmp.c:148:25: note: ‘gs_bmp16m_device’ was previously declared here
#   27|   device2_(gs_bitrgbtags_device)
#   28|   device2_(gs_bmp16_device)
#   29|-> device2_(gs_bmp16m_device)
#   30|   device2_(gs_bmp256_device)
#   31|   device2_(gs_bmp32b_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:30:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmp256_device’ does not match original declaration
#   30 | device2_(gs_bmp256_device)
#      | ^
ghostscript-10.06.0/devices/gdevbmp.c:126:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  126 | const gx_device_printer gs_bmp256_device = {
#      |                         ^
ghostscript-10.06.0/devices/gdevbmp.c:126:25: note: ‘gs_bmp256_device’ was previously declared here
#   28|   device2_(gs_bmp16_device)
#   29|   device2_(gs_bmp16m_device)
#   30|-> device2_(gs_bmp256_device)
#   31|   device2_(gs_bmp32b_device)
#   32|   device2_(gs_bmpgray_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:31:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmp32b_device’ does not match original declaration
#   31 | device2_(gs_bmp32b_device)
#      | ^
ghostscript-10.06.0/devices/gdevbmp.c:162:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  162 | const gx_device_printer gs_bmp32b_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevbmp.c:162:25: note: ‘gs_bmp32b_device’ was previously declared here
#   29|   device2_(gs_bmp16m_device)
#   30|   device2_(gs_bmp256_device)
#   31|-> device2_(gs_bmp32b_device)
#   32|   device2_(gs_bmpgray_device)
#   33|   device2_(gs_bmpmono_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:32:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmpgray_device’ does not match original declaration
#   32 | device2_(gs_bmpgray_device)
#      | ^
ghostscript-10.06.0/devices/gdevbmp.c:49:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   49 | const gx_device_printer gs_bmpgray_device = {
#      |                         ^
ghostscript-10.06.0/devices/gdevbmp.c:49:25: note: ‘gs_bmpgray_device’ was previously declared here
#   30|   device2_(gs_bmp256_device)
#   31|   device2_(gs_bmp32b_device)
#   32|-> device2_(gs_bmpgray_device)
#   33|   device2_(gs_bmpmono_device)
#   34|   device2_(gs_bmpsep1_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:33:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmpmono_device’ does not match original declaration
#   33 | device2_(gs_bmpmono_device)
#      | ^
ghostscript-10.06.0/devices/gdevbmp.c:28:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   28 | const gx_device_printer gs_bmpmono_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevbmp.c:28:25: note: ‘gs_bmpmono_device’ was previously declared here
#   31|   device2_(gs_bmp32b_device)
#   32|   device2_(gs_bmpgray_device)
#   33|-> device2_(gs_bmpmono_device)
#   34|   device2_(gs_bmpsep1_device)
#   35|   device2_(gs_bmpsep8_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:34:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmpsep1_device’ does not match original declaration
#   34 | device2_(gs_bmpsep1_device)
#      | ^
ghostscript-10.06.0/devices/gdevbmp.c:66:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   66 | const gx_device_printer gs_bmpsep1_device = {
#      |                         ^
ghostscript-10.06.0/devices/gdevbmp.c:66:25: note: ‘gs_bmpsep1_device’ was previously declared here
#   32|   device2_(gs_bmpgray_device)
#   33|   device2_(gs_bmpmono_device)
#   34|-> device2_(gs_bmpsep1_device)
#   35|   device2_(gs_bmpsep8_device)
#   36|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:35:1: warning[-Wlto-type-mismatch]: type of ‘gs_bmpsep8_device’ does not match original declaration
#   35 | device2_(gs_bmpsep8_device)
#      | ^
ghostscript-10.06.0/devices/gdevbmp.c:81:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   81 | const gx_device_printer gs_bmpsep8_device = {
#      |                         ^
ghostscript-10.06.0/devices/gdevbmp.c:81:25: note: ‘gs_bmpsep8_device’ was previously declared here
#   33|   device2_(gs_bmpmono_device)
#   34|   device2_(gs_bmpsep1_device)
#   35|-> device2_(gs_bmpsep8_device)
#   36|   #endif
#   37|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:38:1: warning[-Wlto-type-mismatch]: type of ‘gs_ccr_device’ does not match original declaration
#   38 | device_(gs_ccr_device)
#      | ^
ghostscript-10.06.0/devices/gdevccr.c:113:24: note: type ‘struct gx_device_ccr’ should match type ‘struct gx_device’
#  113 | gx_device_ccr far_data gs_ccr_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevccr.c:113:24: note: ‘gs_ccr_device’ was previously declared here
#   36|   #endif
#   37|   #ifdef device_
#   38|-> device_(gs_ccr_device)
#   39|   device_(gs_cfax_device)
#   40|   device_(gs_cif_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:39:1: warning[-Wlto-type-mismatch]: type of ‘gs_cfax_device’ does not match original declaration
#   39 | device_(gs_cfax_device)
#      | ^
ghostscript-10.06.0/devices/gdevcfax.c:41:21: note: type ‘const struct gx_device_fax’ should match type ‘struct gx_device’
#   41 | const gx_device_fax gs_cfax_device = {
#      |                     ^
ghostscript-10.06.0/devices/gdevcfax.c:41:21: note: ‘gs_cfax_device’ was previously declared here
#   37|   #ifdef device_
#   38|   device_(gs_ccr_device)
#   39|-> device_(gs_cfax_device)
#   40|   device_(gs_cif_device)
#   41|   device_(gs_devicen_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:40:1: warning[-Wlto-type-mismatch]: type of ‘gs_cif_device’ does not match original declaration
#   40 | device_(gs_cif_device)
#      | ^
ghostscript-10.06.0/devices/gdevcif.c:37:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   37 | const gx_device_printer far_data gs_cif_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevcif.c:37:34: note: ‘gs_cif_device’ was previously declared here
#   38|   device_(gs_ccr_device)
#   39|   device_(gs_cfax_device)
#   40|-> device_(gs_cif_device)
#   41|   device_(gs_devicen_device)
#   42|   device_(gs_dfaxhigh_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:41:1: warning[-Wlto-type-mismatch]: type of ‘gs_devicen_device’ does not match original declaration
#   41 | device_(gs_devicen_device)
#      | ^
ghostscript-10.06.0/base/gdevdevn.c:1147:26: note: type ‘const struct gx_devn_prn_device’ should match type ‘struct gx_device’
# 1147 | const gx_devn_prn_device gs_devicen_device =
#      |                          ^
ghostscript-10.06.0/base/gdevdevn.c:1147:26: note: ‘gs_devicen_device’ was previously declared here
#   39|   device_(gs_cfax_device)
#   40|   device_(gs_cif_device)
#   41|-> device_(gs_devicen_device)
#   42|   device_(gs_dfaxhigh_device)
#   43|   device_(gs_dfaxlow_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:42:1: warning[-Wlto-type-mismatch]: type of ‘gs_dfaxhigh_device’ does not match original declaration
#   42 | device_(gs_dfaxhigh_device)
#      | ^
ghostscript-10.06.0/devices/gdevdfax.c:62:25: note: type ‘struct gx_device_dfax’ should match type ‘struct gx_device’
#   62 | gx_device_dfax far_data gs_dfaxhigh_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevdfax.c:62:25: note: ‘gs_dfaxhigh_device’ was previously declared here
#   40|   device_(gs_cif_device)
#   41|   device_(gs_devicen_device)
#   42|-> device_(gs_dfaxhigh_device)
#   43|   device_(gs_dfaxlow_device)
#   44|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:43:1: warning[-Wlto-type-mismatch]: type of ‘gs_dfaxlow_device’ does not match original declaration
#   43 | device_(gs_dfaxlow_device)
#      | ^
ghostscript-10.06.0/devices/gdevdfax.c:54:25: note: type ‘struct gx_device_dfax’ should match type ‘struct gx_device’
#   54 | gx_device_dfax far_data gs_dfaxlow_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevdfax.c:54:25: note: ‘gs_dfaxlow_device’ was previously declared here
#   41|   device_(gs_devicen_device)
#   42|   device_(gs_dfaxhigh_device)
#   43|-> device_(gs_dfaxlow_device)
#   44|   #endif
#   45|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:46:1: warning[-Wlto-type-mismatch]: type of ‘gs_docxwrite_device’ does not match original declaration
#   46 | device2_(gs_docxwrite_device)
#      | ^
ghostscript-10.06.0/devices/vector/gdevdocxw.c:165:29: note: type ‘const struct gx_device_docxwrite_t’ should match type ‘const struct gx_device’
#  165 | const gx_device_docxwrite_t gs_docxwrite_device =
#      |                             ^
ghostscript-10.06.0/devices/vector/gdevdocxw.c:165:29: note: ‘gs_docxwrite_device’ was previously declared here
#   44|   #endif
#   45|   #ifdef device2_
#   46|-> device2_(gs_docxwrite_device)
#   47|   device2_(gs_eps2write_device)
#   48|   device2_(gs_pdfwrite_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:47:1: warning[-Wlto-type-mismatch]: type of ‘gs_eps2write_device’ does not match original declaration
#   47 | device2_(gs_eps2write_device)
#      | ^
ghostscript-10.06.0/devices/vector/gdevpdfb.h:29:21: note: type ‘const struct gx_device_pdf’ should match type ‘const struct gx_device’
#   29 | const gx_device_pdf PDF_DEVICE_IDENT =
#      |                     ^
ghostscript-10.06.0/devices/vector/gdevpdfb.h:29:21: note: ‘gs_eps2write_device’ was previously declared here
#   45|   #ifdef device2_
#   46|   device2_(gs_docxwrite_device)
#   47|-> device2_(gs_eps2write_device)
#   48|   device2_(gs_pdfwrite_device)
#   49|   device2_(gs_faxg3_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:49:1: warning[-Wlto-type-mismatch]: type of ‘gs_faxg3_device’ does not match original declaration
#   49 | device2_(gs_faxg3_device)
#      | ^
ghostscript-10.06.0/devices/gdevfax.c:45:21: note: type ‘const struct gx_device_fax’ should match type ‘const struct gx_device’
#   45 | const gx_device_fax gs_faxg3_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevfax.c:45:21: note: ‘gs_faxg3_device’ was previously declared here
#   47|   device2_(gs_eps2write_device)
#   48|   device2_(gs_pdfwrite_device)
#   49|-> device2_(gs_faxg3_device)
#   50|   device2_(gs_faxg32d_device)
#   51|   device2_(gs_faxg4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:50:1: warning[-Wlto-type-mismatch]: type of ‘gs_faxg32d_device’ does not match original declaration
#   50 | device2_(gs_faxg32d_device)
#      | ^
ghostscript-10.06.0/devices/gdevfax.c:48:21: note: type ‘const struct gx_device_fax’ should match type ‘const struct gx_device’
#   48 | const gx_device_fax gs_faxg32d_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevfax.c:48:21: note: ‘gs_faxg32d_device’ was previously declared here
#   48|   device2_(gs_pdfwrite_device)
#   49|   device2_(gs_faxg3_device)
#   50|-> device2_(gs_faxg32d_device)
#   51|   device2_(gs_faxg4_device)
#   52|   device2_(gs_fpng_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:51:1: warning[-Wlto-type-mismatch]: type of ‘gs_faxg4_device’ does not match original declaration
#   51 | device2_(gs_faxg4_device)
#      | ^
ghostscript-10.06.0/devices/gdevfax.c:51:21: note: type ‘const struct gx_device_fax’ should match type ‘const struct gx_device’
#   51 | const gx_device_fax gs_faxg4_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevfax.c:51:21: note: ‘gs_faxg4_device’ was previously declared here
#   49|   device2_(gs_faxg3_device)
#   50|   device2_(gs_faxg32d_device)
#   51|-> device2_(gs_faxg4_device)
#   52|   device2_(gs_fpng_device)
#   53|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:52:1: warning[-Wlto-type-mismatch]: type of ‘gs_fpng_device’ does not match original declaration
#   52 | device2_(gs_fpng_device)
#      | ^
ghostscript-10.06.0/devices/gdevfpng.c:120:22: note: type ‘const struct gx_device_fpng’ should match type ‘const struct gx_device’
#  120 | const gx_device_fpng gs_fpng_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevfpng.c:120:22: note: ‘gs_fpng_device’ was previously declared here
#   50|   device2_(gs_faxg32d_device)
#   51|   device2_(gs_faxg4_device)
#   52|-> device2_(gs_fpng_device)
#   53|   #endif
#   54|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:55:1: warning[-Wlto-type-mismatch]: type of ‘gs_inferno_device’ does not match original declaration
#   55 | device_(gs_inferno_device)
#      | ^
ghostscript-10.06.0/devices/gdevifno.c:97:25: note: type ‘struct inferno_device’ should match type ‘struct gx_device’
#   97 | inferno_device far_data gs_inferno_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevifno.c:97:25: note: ‘gs_inferno_device’ was previously declared here
#   53|   #endif
#   54|   #ifdef device_
#   55|-> device_(gs_inferno_device)
#   56|   #endif
#   57|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:58:1: warning[-Wlto-type-mismatch]: type of ‘gs_ink_cov_device’ does not match original declaration
#   58 | device2_(gs_ink_cov_device)
#      | ^
ghostscript-10.06.0/devices/gdevicov.c:176:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  176 | const gx_device_printer gs_ink_cov_device = prn_device(
#      |                         ^
ghostscript-10.06.0/devices/gdevicov.c:176:25: note: ‘gs_ink_cov_device’ was previously declared here
#   56|   #endif
#   57|   #ifdef device2_
#   58|-> device2_(gs_ink_cov_device)
#   59|   device2_(gs_inkcov_device)
#   60|   device2_(gs_jpeg_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:59:1: warning[-Wlto-type-mismatch]: type of ‘gs_inkcov_device’ does not match original declaration
#   59 | device2_(gs_inkcov_device)
#      | ^
ghostscript-10.06.0/devices/gdevicov.c:169:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  169 | const gx_device_printer gs_inkcov_device = prn_device(
#      |                         ^
ghostscript-10.06.0/devices/gdevicov.c:169:25: note: ‘gs_inkcov_device’ was previously declared here
#   57|   #ifdef device2_
#   58|   device2_(gs_ink_cov_device)
#   59|-> device2_(gs_inkcov_device)
#   60|   device2_(gs_jpeg_device)
#   61|   device2_(gs_jpegcmyk_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:60:1: warning[-Wlto-type-mismatch]: type of ‘gs_jpeg_device’ does not match original declaration
#   60 | device2_(gs_jpeg_device)
#      | ^
ghostscript-10.06.0/devices/gdevjpeg.c:78:22: note: type ‘const struct gx_device_jpeg’ should match type ‘const struct gx_device’
#   78 | const gx_device_jpeg gs_jpeg_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevjpeg.c:78:22: note: ‘gs_jpeg_device’ was previously declared here
#   58|   device2_(gs_ink_cov_device)
#   59|   device2_(gs_inkcov_device)
#   60|-> device2_(gs_jpeg_device)
#   61|   device2_(gs_jpegcmyk_device)
#   62|   device2_(gs_jpeggray_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:61:1: warning[-Wlto-type-mismatch]: type of ‘gs_jpegcmyk_device’ does not match original declaration
#   61 | device2_(gs_jpegcmyk_device)
#      | ^
ghostscript-10.06.0/devices/gdevjpeg.c:135:22: note: type ‘const struct gx_device_jpeg’ should match type ‘const struct gx_device’
#  135 | const gx_device_jpeg gs_jpegcmyk_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevjpeg.c:135:22: note: ‘gs_jpegcmyk_device’ was previously declared here
#   59|   device2_(gs_inkcov_device)
#   60|   device2_(gs_jpeg_device)
#   61|-> device2_(gs_jpegcmyk_device)
#   62|   device2_(gs_jpeggray_device)
#   63|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:62:1: warning[-Wlto-type-mismatch]: type of ‘gs_jpeggray_device’ does not match original declaration
#   62 | device2_(gs_jpeggray_device)
#      | ^
ghostscript-10.06.0/devices/gdevjpeg.c:104:22: note: type ‘const struct gx_device_jpeg’ should match type ‘const struct gx_device’
#  104 | const gx_device_jpeg gs_jpeggray_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevjpeg.c:104:22: note: ‘gs_jpeggray_device’ was previously declared here
#   60|   device2_(gs_jpeg_device)
#   61|   device2_(gs_jpegcmyk_device)
#   62|-> device2_(gs_jpeggray_device)
#   63|   #endif
#   64|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:65:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgr4_device’ does not match original declaration
#   65 | device_(gs_mgr4_device)
#      | ^
ghostscript-10.06.0/devices/gdevmgr.c:123:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  123 | gx_device_mgr far_data gs_mgr4_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevmgr.c:123:24: note: ‘gs_mgr4_device’ was previously declared here
#   63|   #endif
#   64|   #ifdef device_
#   65|-> device_(gs_mgr4_device)
#   66|   device_(gs_mgr8_device)
#   67|   device_(gs_mgrgray2_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:66:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgr8_device’ does not match original declaration
#   66 | device_(gs_mgr8_device)
#      | ^
ghostscript-10.06.0/devices/gdevmgr.c:125:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  125 | gx_device_mgr far_data gs_mgr8_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevmgr.c:125:24: note: ‘gs_mgr8_device’ was previously declared here
#   64|   #ifdef device_
#   65|   device_(gs_mgr4_device)
#   66|-> device_(gs_mgr8_device)
#   67|   device_(gs_mgrgray2_device)
#   68|   device_(gs_mgrgray4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:67:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgrgray2_device’ does not match original declaration
#   67 | device_(gs_mgrgray2_device)
#      | ^
ghostscript-10.06.0/devices/gdevmgr.c:117:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  117 | gx_device_mgr far_data gs_mgrgray2_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevmgr.c:117:24: note: ‘gs_mgrgray2_device’ was previously declared here
#   65|   device_(gs_mgr4_device)
#   66|   device_(gs_mgr8_device)
#   67|-> device_(gs_mgrgray2_device)
#   68|   device_(gs_mgrgray4_device)
#   69|   device_(gs_mgrgray8_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:68:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgrgray4_device’ does not match original declaration
#   68 | device_(gs_mgrgray4_device)
#      | ^
ghostscript-10.06.0/devices/gdevmgr.c:119:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  119 | gx_device_mgr far_data gs_mgrgray4_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevmgr.c:119:24: note: ‘gs_mgrgray4_device’ was previously declared here
#   66|   device_(gs_mgr8_device)
#   67|   device_(gs_mgrgray2_device)
#   68|-> device_(gs_mgrgray4_device)
#   69|   device_(gs_mgrgray8_device)
#   70|   device_(gs_mgrmono_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:69:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgrgray8_device’ does not match original declaration
#   69 | device_(gs_mgrgray8_device)
#      | ^
ghostscript-10.06.0/devices/gdevmgr.c:121:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  121 | gx_device_mgr far_data gs_mgrgray8_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevmgr.c:121:24: note: ‘gs_mgrgray8_device’ was previously declared here
#   67|   device_(gs_mgrgray2_device)
#   68|   device_(gs_mgrgray4_device)
#   69|-> device_(gs_mgrgray8_device)
#   70|   device_(gs_mgrmono_device)
#   71|   device_(gs_miff24_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:70:1: warning[-Wlto-type-mismatch]: type of ‘gs_mgrmono_device’ does not match original declaration
#   70 | device_(gs_mgrmono_device)
#      | ^
ghostscript-10.06.0/devices/gdevmgr.c:115:24: note: type ‘struct gx_device_mgr’ should match type ‘struct gx_device’
#  115 | gx_device_mgr far_data gs_mgrmono_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevmgr.c:115:24: note: ‘gs_mgrmono_device’ was previously declared here
#   68|   device_(gs_mgrgray4_device)
#   69|   device_(gs_mgrgray8_device)
#   70|-> device_(gs_mgrmono_device)
#   71|   device_(gs_miff24_device)
#   72|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:71:1: warning[-Wlto-type-mismatch]: type of ‘gs_miff24_device’ does not match original declaration
#   71 | device_(gs_miff24_device)
#      | ^
ghostscript-10.06.0/devices/gdevmiff.c:36:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   36 | const gx_device_printer gs_miff24_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevmiff.c:36:25: note: ‘gs_miff24_device’ was previously declared here
#   69|   device_(gs_mgrgray8_device)
#   70|   device_(gs_mgrmono_device)
#   71|-> device_(gs_miff24_device)
#   72|   #endif
#   73|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:74:1: warning[-Wlto-type-mismatch]: type of ‘gs_pam_device’ does not match original declaration
#   74 | device2_(gs_pam_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:283:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  283 | const gx_device_pbm gs_pam_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:283:21: note: ‘gs_pam_device’ was previously declared here
#   72|   #endif
#   73|   #ifdef device2_
#   74|-> device2_(gs_pam_device)
#   75|   device2_(gs_pamcmyk32_device)
#   76|   device2_(gs_pamcmyk4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:75:1: warning[-Wlto-type-mismatch]: type of ‘gs_pamcmyk32_device’ does not match original declaration
#   75 | device2_(gs_pamcmyk32_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:273:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  273 | const gx_device_pbm gs_pamcmyk32_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:273:21: note: ‘gs_pamcmyk32_device’ was previously declared here
#   73|   #ifdef device2_
#   74|   device2_(gs_pam_device)
#   75|-> device2_(gs_pamcmyk32_device)
#   76|   device2_(gs_pamcmyk4_device)
#   77|   device2_(gs_pbm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:76:1: warning[-Wlto-type-mismatch]: type of ‘gs_pamcmyk4_device’ does not match original declaration
#   76 | device2_(gs_pamcmyk4_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:279:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  279 | const gx_device_pbm gs_pamcmyk4_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:279:21: note: ‘gs_pamcmyk4_device’ was previously declared here
#   74|   device2_(gs_pam_device)
#   75|   device2_(gs_pamcmyk32_device)
#   76|-> device2_(gs_pamcmyk4_device)
#   77|   device2_(gs_pbm_device)
#   78|   device2_(gs_pbmraw_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:77:1: warning[-Wlto-type-mismatch]: type of ‘gs_pbm_device’ does not match original declaration
#   77 | device2_(gs_pbm_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:231:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  231 | const gx_device_pbm gs_pbm_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:231:21: note: ‘gs_pbm_device’ was previously declared here
#   75|   device2_(gs_pamcmyk32_device)
#   76|   device2_(gs_pamcmyk4_device)
#   77|-> device2_(gs_pbm_device)
#   78|   device2_(gs_pbmraw_device)
#   79|   device2_(gs_pcx16_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:78:1: warning[-Wlto-type-mismatch]: type of ‘gs_pbmraw_device’ does not match original declaration
#   78 | device2_(gs_pbmraw_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:234:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  234 | const gx_device_pbm gs_pbmraw_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:234:21: note: ‘gs_pbmraw_device’ was previously declared here
#   76|   device2_(gs_pamcmyk4_device)
#   77|   device2_(gs_pbm_device)
#   78|-> device2_(gs_pbmraw_device)
#   79|   device2_(gs_pcx16_device)
#   80|   device2_(gs_pcx24b_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:79:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcx16_device’ does not match original declaration
#   79 | device2_(gs_pcx16_device)
#      | ^
ghostscript-10.06.0/devices/gdevpcx.c:95:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   95 | const gx_device_printer gs_pcx16_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevpcx.c:95:25: note: ‘gs_pcx16_device’ was previously declared here
#   77|   device2_(gs_pbm_device)
#   78|   device2_(gs_pbmraw_device)
#   79|-> device2_(gs_pcx16_device)
#   80|   device2_(gs_pcx24b_device)
#   81|   device2_(gs_pcx256_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:80:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcx24b_device’ does not match original declaration
#   80 | device2_(gs_pcx24b_device)
#      | ^
ghostscript-10.06.0/devices/gdevpcx.c:137:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  137 | const gx_device_printer gs_pcx24b_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevpcx.c:137:25: note: ‘gs_pcx24b_device’ was previously declared here
#   78|   device2_(gs_pbmraw_device)
#   79|   device2_(gs_pcx16_device)
#   80|-> device2_(gs_pcx24b_device)
#   81|   device2_(gs_pcx256_device)
#   82|   device2_(gs_pcxcmyk_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:81:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcx256_device’ does not match original declaration
#   81 | device2_(gs_pcx256_device)
#      | ^
ghostscript-10.06.0/devices/gdevpcx.c:118:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  118 | const gx_device_printer gs_pcx256_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevpcx.c:118:25: note: ‘gs_pcx256_device’ was previously declared here
#   79|   device2_(gs_pcx16_device)
#   80|   device2_(gs_pcx24b_device)
#   81|-> device2_(gs_pcx256_device)
#   82|   device2_(gs_pcxcmyk_device)
#   83|   device2_(gs_pcxgray_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:82:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcxcmyk_device’ does not match original declaration
#   82 | device2_(gs_pcxcmyk_device)
#      | ^
ghostscript-10.06.0/devices/gdevpcx.c:154:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#  154 | const gx_device_printer gs_pcxcmyk_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevpcx.c:154:25: note: ‘gs_pcxcmyk_device’ was previously declared here
#   80|   device2_(gs_pcx24b_device)
#   81|   device2_(gs_pcx256_device)
#   82|-> device2_(gs_pcxcmyk_device)
#   83|   device2_(gs_pcxgray_device)
#   84|   device2_(gs_pcxmono_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:83:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcxgray_device’ does not match original declaration
#   83 | device2_(gs_pcxgray_device)
#      | ^
ghostscript-10.06.0/devices/gdevpcx.c:71:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   71 | const gx_device_printer gs_pcxgray_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevpcx.c:71:25: note: ‘gs_pcxgray_device’ was previously declared here
#   81|   device2_(gs_pcx256_device)
#   82|   device2_(gs_pcxcmyk_device)
#   83|-> device2_(gs_pcxgray_device)
#   84|   device2_(gs_pcxmono_device)
#   85|   device2_(gs_pdfimage24_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:84:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcxmono_device’ does not match original declaration
#   84 | device2_(gs_pcxmono_device)
#      | ^
ghostscript-10.06.0/devices/gdevpcx.c:51:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   51 | const gx_device_printer gs_pcxmono_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevpcx.c:51:25: note: ‘gs_pcxmono_device’ was previously declared here
#   82|   device2_(gs_pcxcmyk_device)
#   83|   device2_(gs_pcxgray_device)
#   84|-> device2_(gs_pcxmono_device)
#   85|   device2_(gs_pdfimage24_device)
#   86|   device2_(gs_pdfimage32_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:85:1: warning[-Wlto-type-mismatch]: type of ‘gs_pdfimage24_device’ does not match original declaration
#   85 | device2_(gs_pdfimage24_device)
#      | ^
ghostscript-10.06.0/devices/gdevpdfimg.c:108:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
#  108 | const gx_device_pdf_image gs_pdfimage24_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevpdfimg.c:108:27: note: ‘gs_pdfimage24_device’ was previously declared here
#   83|   device2_(gs_pcxgray_device)
#   84|   device2_(gs_pcxmono_device)
#   85|-> device2_(gs_pdfimage24_device)
#   86|   device2_(gs_pdfimage32_device)
#   87|   device2_(gs_pdfimage8_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:86:1: warning[-Wlto-type-mismatch]: type of ‘gs_pdfimage32_device’ does not match original declaration
#   86 | device2_(gs_pdfimage32_device)
#      | ^
ghostscript-10.06.0/devices/gdevpdfimg.c:139:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
#  139 | const gx_device_pdf_image gs_pdfimage32_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevpdfimg.c:139:27: note: ‘gs_pdfimage32_device’ was previously declared here
#   84|   device2_(gs_pcxmono_device)
#   85|   device2_(gs_pdfimage24_device)
#   86|-> device2_(gs_pdfimage32_device)
#   87|   device2_(gs_pdfimage8_device)
#   88|   device2_(gs_pdfwrite_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:87:1: warning[-Wlto-type-mismatch]: type of ‘gs_pdfimage8_device’ does not match original declaration
#   87 | device2_(gs_pdfimage8_device)
#      | ^
ghostscript-10.06.0/devices/gdevpdfimg.c:77:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
#   77 | const gx_device_pdf_image gs_pdfimage8_device = {
#      |                           ^
ghostscript-10.06.0/devices/gdevpdfimg.c:77:27: note: ‘gs_pdfimage8_device’ was previously declared here
#   85|   device2_(gs_pdfimage24_device)
#   86|   device2_(gs_pdfimage32_device)
#   87|-> device2_(gs_pdfimage8_device)
#   88|   device2_(gs_pdfwrite_device)
#   89|   device2_(gs_pgm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:89:1: warning[-Wlto-type-mismatch]: type of ‘gs_pgm_device’ does not match original declaration
#   89 | device2_(gs_pgm_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:237:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  237 | const gx_device_pbm gs_pgm_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:237:21: note: ‘gs_pgm_device’ was previously declared here
#   87|   device2_(gs_pdfimage8_device)
#   88|   device2_(gs_pdfwrite_device)
#   89|-> device2_(gs_pgm_device)
#   90|   device2_(gs_pgmraw_device)
#   91|   device2_(gs_pgnm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:90:1: warning[-Wlto-type-mismatch]: type of ‘gs_pgmraw_device’ does not match original declaration
#   90 | device2_(gs_pgmraw_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:240:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  240 | const gx_device_pbm gs_pgmraw_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:240:21: note: ‘gs_pgmraw_device’ was previously declared here
#   88|   device2_(gs_pdfwrite_device)
#   89|   device2_(gs_pgm_device)
#   90|-> device2_(gs_pgmraw_device)
#   91|   device2_(gs_pgnm_device)
#   92|   device2_(gs_pgnmraw_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:91:1: warning[-Wlto-type-mismatch]: type of ‘gs_pgnm_device’ does not match original declaration
#   91 | device2_(gs_pgnm_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:243:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  243 | const gx_device_pbm gs_pgnm_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:243:21: note: ‘gs_pgnm_device’ was previously declared here
#   89|   device2_(gs_pgm_device)
#   90|   device2_(gs_pgmraw_device)
#   91|-> device2_(gs_pgnm_device)
#   92|   device2_(gs_pgnmraw_device)
#   93|   device2_(gs_pkm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:92:1: warning[-Wlto-type-mismatch]: type of ‘gs_pgnmraw_device’ does not match original declaration
#   92 | device2_(gs_pgnmraw_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:246:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  246 | const gx_device_pbm gs_pgnmraw_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:246:21: note: ‘gs_pgnmraw_device’ was previously declared here
#   90|   device2_(gs_pgmraw_device)
#   91|   device2_(gs_pgnm_device)
#   92|-> device2_(gs_pgnmraw_device)
#   93|   device2_(gs_pkm_device)
#   94|   device2_(gs_pkmraw_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:93:1: warning[-Wlto-type-mismatch]: type of ‘gs_pkm_device’ does not match original declaration
#   93 | device2_(gs_pkm_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:261:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  261 | const gx_device_pbm gs_pkm_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:261:21: note: ‘gs_pkm_device’ was previously declared here
#   91|   device2_(gs_pgnm_device)
#   92|   device2_(gs_pgnmraw_device)
#   93|-> device2_(gs_pkm_device)
#   94|   device2_(gs_pkmraw_device)
#   95|   device2_(gs_pksm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:94:1: warning[-Wlto-type-mismatch]: type of ‘gs_pkmraw_device’ does not match original declaration
#   94 | device2_(gs_pkmraw_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:264:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  264 | const gx_device_pbm gs_pkmraw_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:264:21: note: ‘gs_pkmraw_device’ was previously declared here
#   92|   device2_(gs_pgnmraw_device)
#   93|   device2_(gs_pkm_device)
#   94|-> device2_(gs_pkmraw_device)
#   95|   device2_(gs_pksm_device)
#   96|   device2_(gs_pksmraw_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:95:1: warning[-Wlto-type-mismatch]: type of ‘gs_pksm_device’ does not match original declaration
#   95 | device2_(gs_pksm_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:267:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  267 | const gx_device_pbm gs_pksm_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:267:21: note: ‘gs_pksm_device’ was previously declared here
#   93|   device2_(gs_pkm_device)
#   94|   device2_(gs_pkmraw_device)
#   95|-> device2_(gs_pksm_device)
#   96|   device2_(gs_pksmraw_device)
#   97|   device2_(gs_plan_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:96:1: warning[-Wlto-type-mismatch]: type of ‘gs_pksmraw_device’ does not match original declaration
#   96 | device2_(gs_pksmraw_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:270:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  270 | const gx_device_pbm gs_pksmraw_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:270:21: note: ‘gs_pksmraw_device’ was previously declared here
#   94|   device2_(gs_pkmraw_device)
#   95|   device2_(gs_pksm_device)
#   96|-> device2_(gs_pksmraw_device)
#   97|   device2_(gs_plan_device)
#   98|   device2_(gs_plan9bm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:97:1: warning[-Wlto-type-mismatch]: type of ‘gs_plan_device’ does not match original declaration
#   97 | device2_(gs_plan_device)
#      | ^
ghostscript-10.06.0/devices/gdevplan.c:202:22: note: type ‘const struct gx_device_plan’ should match type ‘const struct gx_device’
#  202 | const gx_device_plan gs_plan_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevplan.c:202:22: note: ‘gs_plan_device’ was previously declared here
#   95|   device2_(gs_pksm_device)
#   96|   device2_(gs_pksmraw_device)
#   97|-> device2_(gs_plan_device)
#   98|   device2_(gs_plan9bm_device)
#   99|   device2_(gs_planc_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:98:1: warning[-Wlto-type-mismatch]: type of ‘gs_plan9bm_device’ does not match original declaration
#   98 | device2_(gs_plan9bm_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:288:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  288 | const gx_device_pbm gs_plan9bm_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:288:21: note: ‘gs_plan9bm_device’ was previously declared here
#   96|   device2_(gs_pksmraw_device)
#   97|   device2_(gs_plan_device)
#   98|-> device2_(gs_plan9bm_device)
#   99|   device2_(gs_planc_device)
#  100|   device2_(gs_plang_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:99:1: warning[-Wlto-type-mismatch]: type of ‘gs_planc_device’ does not match original declaration
#   99 | device2_(gs_planc_device)
#      | ^
ghostscript-10.06.0/devices/gdevplan.c:214:22: note: type ‘const struct gx_device_plan’ should match type ‘const struct gx_device’
#  214 | const gx_device_plan gs_planc_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevplan.c:214:22: note: ‘gs_planc_device’ was previously declared here
#   97|   device2_(gs_plan_device)
#   98|   device2_(gs_plan9bm_device)
#   99|-> device2_(gs_planc_device)
#  100|   device2_(gs_plang_device)
#  101|   device2_(gs_plank_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:100:1: warning[-Wlto-type-mismatch]: type of ‘gs_plang_device’ does not match original declaration
#  100 | device2_(gs_plang_device)
#      | ^
ghostscript-10.06.0/devices/gdevplan.c:205:22: note: type ‘const struct gx_device_plan’ should match type ‘const struct gx_device’
#  205 | const gx_device_plan gs_plang_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevplan.c:205:22: note: ‘gs_plang_device’ was previously declared here
#   98|   device2_(gs_plan9bm_device)
#   99|   device2_(gs_planc_device)
#  100|-> device2_(gs_plang_device)
#  101|   device2_(gs_plank_device)
#  102|   device2_(gs_planm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:101:1: warning[-Wlto-type-mismatch]: type of ‘gs_plank_device’ does not match original declaration
#  101 | device2_(gs_plank_device)
#      | ^
ghostscript-10.06.0/devices/gdevplan.c:211:22: note: type ‘const struct gx_device_plan’ should match type ‘const struct gx_device’
#  211 | const gx_device_plan gs_plank_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevplan.c:211:22: note: ‘gs_plank_device’ was previously declared here
#   99|   device2_(gs_planc_device)
#  100|   device2_(gs_plang_device)
#  101|-> device2_(gs_plank_device)
#  102|   device2_(gs_planm_device)
#  103|   device2_(gs_plib_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:102:1: warning[-Wlto-type-mismatch]: type of ‘gs_planm_device’ does not match original declaration
#  102 | device2_(gs_planm_device)
#      | ^
ghostscript-10.06.0/devices/gdevplan.c:208:22: note: type ‘const struct gx_device_plan’ should match type ‘const struct gx_device’
#  208 | const gx_device_plan gs_planm_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevplan.c:208:22: note: ‘gs_planm_device’ was previously declared here
#  100|   device2_(gs_plang_device)
#  101|   device2_(gs_plank_device)
#  102|-> device2_(gs_planm_device)
#  103|   device2_(gs_plib_device)
#  104|   device2_(gs_plibc_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:103:1: warning[-Wlto-type-mismatch]: type of ‘gs_plib_device’ does not match original declaration
#  103 | device2_(gs_plib_device)
#      | ^
ghostscript-10.06.0/devices/gdevplib.c:352:22: note: type ‘const struct gx_device_plib’ should match type ‘const struct gx_device’
#  352 | const gx_device_plib gs_plib_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevplib.c:352:22: note: ‘gs_plib_device’ was previously declared here
#  101|   device2_(gs_plank_device)
#  102|   device2_(gs_planm_device)
#  103|-> device2_(gs_plib_device)
#  104|   device2_(gs_plibc_device)
#  105|   device2_(gs_plibg_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:104:1: warning[-Wlto-type-mismatch]: type of ‘gs_plibc_device’ does not match original declaration
#  104 | device2_(gs_plibc_device)
#      | ^
ghostscript-10.06.0/devices/gdevplib.c:364:22: note: type ‘const struct gx_device_plib’ should match type ‘const struct gx_device’
#  364 | const gx_device_plib gs_plibc_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevplib.c:364:22: note: ‘gs_plibc_device’ was previously declared here
#  102|   device2_(gs_planm_device)
#  103|   device2_(gs_plib_device)
#  104|-> device2_(gs_plibc_device)
#  105|   device2_(gs_plibg_device)
#  106|   device2_(gs_plibk_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:105:1: warning[-Wlto-type-mismatch]: type of ‘gs_plibg_device’ does not match original declaration
#  105 | device2_(gs_plibg_device)
#      | ^
ghostscript-10.06.0/devices/gdevplib.c:355:22: note: type ‘const struct gx_device_plib’ should match type ‘const struct gx_device’
#  355 | const gx_device_plib gs_plibg_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevplib.c:355:22: note: ‘gs_plibg_device’ was previously declared here
#  103|   device2_(gs_plib_device)
#  104|   device2_(gs_plibc_device)
#  105|-> device2_(gs_plibg_device)
#  106|   device2_(gs_plibk_device)
#  107|   device2_(gs_plibm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:106:1: warning[-Wlto-type-mismatch]: type of ‘gs_plibk_device’ does not match original declaration
#  106 | device2_(gs_plibk_device)
#      | ^
ghostscript-10.06.0/devices/gdevplib.c:361:22: note: type ‘const struct gx_device_plib’ should match type ‘const struct gx_device’
#  361 | const gx_device_plib gs_plibk_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevplib.c:361:22: note: ‘gs_plibk_device’ was previously declared here
#  104|   device2_(gs_plibc_device)
#  105|   device2_(gs_plibg_device)
#  106|-> device2_(gs_plibk_device)
#  107|   device2_(gs_plibm_device)
#  108|   device2_(gs_pnm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:107:1: warning[-Wlto-type-mismatch]: type of ‘gs_plibm_device’ does not match original declaration
#  107 | device2_(gs_plibm_device)
#      | ^
ghostscript-10.06.0/devices/gdevplib.c:358:22: note: type ‘const struct gx_device_plib’ should match type ‘const struct gx_device’
#  358 | const gx_device_plib gs_plibm_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevplib.c:358:22: note: ‘gs_plibm_device’ was previously declared here
#  105|   device2_(gs_plibg_device)
#  106|   device2_(gs_plibk_device)
#  107|-> device2_(gs_plibm_device)
#  108|   device2_(gs_pnm_device)
#  109|   device2_(gs_pnmraw_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:108:1: warning[-Wlto-type-mismatch]: type of ‘gs_pnm_device’ does not match original declaration
#  108 | device2_(gs_pnm_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:255:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  255 | const gx_device_pbm gs_pnm_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:255:21: note: ‘gs_pnm_device’ was previously declared here
#  106|   device2_(gs_plibk_device)
#  107|   device2_(gs_plibm_device)
#  108|-> device2_(gs_pnm_device)
#  109|   device2_(gs_pnmraw_device)
#  110|   device2_(gs_ppm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:109:1: warning[-Wlto-type-mismatch]: type of ‘gs_pnmraw_device’ does not match original declaration
#  109 | device2_(gs_pnmraw_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:258:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  258 | const gx_device_pbm gs_pnmraw_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:258:21: note: ‘gs_pnmraw_device’ was previously declared here
#  107|   device2_(gs_plibm_device)
#  108|   device2_(gs_pnm_device)
#  109|-> device2_(gs_pnmraw_device)
#  110|   device2_(gs_ppm_device)
#  111|   device2_(gs_ppmraw_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:110:1: warning[-Wlto-type-mismatch]: type of ‘gs_ppm_device’ does not match original declaration
#  110 | device2_(gs_ppm_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:249:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  249 | const gx_device_pbm gs_ppm_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:249:21: note: ‘gs_ppm_device’ was previously declared here
#  108|   device2_(gs_pnm_device)
#  109|   device2_(gs_pnmraw_device)
#  110|-> device2_(gs_ppm_device)
#  111|   device2_(gs_ppmraw_device)
#  112|   device2_(gs_pppm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:111:1: warning[-Wlto-type-mismatch]: type of ‘gs_ppmraw_device’ does not match original declaration
#  111 | device2_(gs_ppmraw_device)
#      | ^
ghostscript-10.06.0/devices/gdevpbm.c:252:21: note: type ‘const struct gx_device_pbm’ should match type ‘const struct gx_device’
#  252 | const gx_device_pbm gs_ppmraw_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpbm.c:252:21: note: ‘gs_ppmraw_device’ was previously declared here
#  109|   device2_(gs_pnmraw_device)
#  110|   device2_(gs_ppm_device)
#  111|-> device2_(gs_ppmraw_device)
#  112|   device2_(gs_pppm_device)
#  113|   device2_(gs_ps2write_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:112:1: warning[-Wlto-type-mismatch]: type of ‘gs_pppm_device’ does not match original declaration
#  112 | device2_(gs_pppm_device)
#      | ^
ghostscript-10.06.0/devices/gdevpppm.c:121:22: note: type ‘const struct gx_device_pppm’ should match type ‘const struct gx_device’
#  121 | const gx_device_pppm gs_pppm_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevpppm.c:121:22: note: ‘gs_pppm_device’ was previously declared here
#  110|   device2_(gs_ppm_device)
#  111|   device2_(gs_ppmraw_device)
#  112|-> device2_(gs_pppm_device)
#  113|   device2_(gs_ps2write_device)
#  114|   device2_(gs_pdfwrite_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:113:1: warning[-Wlto-type-mismatch]: type of ‘gs_ps2write_device’ does not match original declaration
#  113 | device2_(gs_ps2write_device)
#      | ^
ghostscript-10.06.0/devices/vector/gdevpdfb.h:29:21: note: type ‘const struct gx_device_pdf’ should match type ‘const struct gx_device’
#   29 | const gx_device_pdf PDF_DEVICE_IDENT =
#      |                     ^
ghostscript-10.06.0/devices/vector/gdevpdfb.h:29:21: note: ‘gs_ps2write_device’ was previously declared here
#  111|   device2_(gs_ppmraw_device)
#  112|   device2_(gs_pppm_device)
#  113|-> device2_(gs_ps2write_device)
#  114|   device2_(gs_pdfwrite_device)
#  115|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:114:1: warning[-Wlto-type-mismatch]: type of ‘gs_pdfwrite_device’ does not match original declaration
#  114 | device2_(gs_pdfwrite_device)
#      | ^
ghostscript-10.06.0/devices/vector/gdevpdfb.h:29:21: note: type ‘const struct gx_device_pdf’ should match type ‘const struct gx_device’
#   29 | const gx_device_pdf PDF_DEVICE_IDENT =
#      |                     ^
ghostscript-10.06.0/devices/vector/gdevpdfb.h:29:21: note: ‘gs_pdfwrite_device’ was previously declared here
#  112|   device2_(gs_pppm_device)
#  113|   device2_(gs_ps2write_device)
#  114|-> device2_(gs_pdfwrite_device)
#  115|   #endif
#  116|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:117:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdcmyk_device’ does not match original declaration
#  117 | device_(gs_psdcmyk_device)
#      | ^
ghostscript-10.06.0/devices/gdevpsd.c:611:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  611 | const psd_device gs_psdcmyk_device =
#      |                  ^
ghostscript-10.06.0/devices/gdevpsd.c:611:18: note: ‘gs_psdcmyk_device’ was previously declared here
#  115|   #endif
#  116|   #ifdef device_
#  117|-> device_(gs_psdcmyk_device)
#  118|   device_(gs_psdcmyk16_device)
#  119|   device_(gs_psdcmykog_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:118:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdcmyk16_device’ does not match original declaration
#  118 | device_(gs_psdcmyk16_device)
#      | ^
ghostscript-10.06.0/devices/gdevpsd.c:662:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  662 | const psd_device gs_psdcmyk16_device =
#      |                  ^
ghostscript-10.06.0/devices/gdevpsd.c:662:18: note: ‘gs_psdcmyk16_device’ was previously declared here
#  116|   #ifdef device_
#  117|   device_(gs_psdcmyk_device)
#  118|-> device_(gs_psdcmyk16_device)
#  119|   device_(gs_psdcmykog_device)
#  120|   device_(gs_psdcmyktags_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:119:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdcmykog_device’ does not match original declaration
#  119 | device_(gs_psdcmykog_device)
#      | ^
ghostscript-10.06.0/devices/gdevcmykog.c:773:24: note: type ‘const struct gx_device_cmykog’ should match type ‘struct gx_device’
#  773 | const gx_device_cmykog gs_psdcmykog_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcmykog.c:773:24: note: ‘gs_psdcmykog_device’ was previously declared here
#  117|   device_(gs_psdcmyk_device)
#  118|   device_(gs_psdcmyk16_device)
#  119|-> device_(gs_psdcmykog_device)
#  120|   device_(gs_psdcmyktags_device)
#  121|   device_(gs_psdcmyktags16_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:120:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdcmyktags_device’ does not match original declaration
#  120 | device_(gs_psdcmyktags_device)
#      | ^
ghostscript-10.06.0/devices/gdevpsd.c:636:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  636 | const psd_device gs_psdcmyktags_device =
#      |                  ^
ghostscript-10.06.0/devices/gdevpsd.c:636:18: note: ‘gs_psdcmyktags_device’ was previously declared here
#  118|   device_(gs_psdcmyk16_device)
#  119|   device_(gs_psdcmykog_device)
#  120|-> device_(gs_psdcmyktags_device)
#  121|   device_(gs_psdcmyktags16_device)
#  122|   device_(gs_psdrgb_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:121:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdcmyktags16_device’ does not match original declaration
#  121 | device_(gs_psdcmyktags16_device)
#      | ^
ghostscript-10.06.0/devices/gdevpsd.c:687:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  687 | const psd_device gs_psdcmyktags16_device =
#      |                  ^
ghostscript-10.06.0/devices/gdevpsd.c:687:18: note: ‘gs_psdcmyktags16_device’ was previously declared here
#  119|   device_(gs_psdcmykog_device)
#  120|   device_(gs_psdcmyktags_device)
#  121|-> device_(gs_psdcmyktags16_device)
#  122|   device_(gs_psdrgb_device)
#  123|   device_(gs_psdrgb16_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:122:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdrgb_device’ does not match original declaration
#  122 | device_(gs_psdrgb_device)
#      | ^
ghostscript-10.06.0/devices/gdevpsd.c:481:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  481 | const psd_device gs_psdrgb_device =
#      |                  ^
ghostscript-10.06.0/devices/gdevpsd.c:481:18: note: ‘gs_psdrgb_device’ was previously declared here
#  120|   device_(gs_psdcmyktags_device)
#  121|   device_(gs_psdcmyktags16_device)
#  122|-> device_(gs_psdrgb_device)
#  123|   device_(gs_psdrgb16_device)
#  124|   device_(gs_psdrgbtags_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:123:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdrgb16_device’ does not match original declaration
#  123 | device_(gs_psdrgb16_device)
#      | ^
ghostscript-10.06.0/devices/gdevpsd.c:505:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  505 | const psd_device gs_psdrgb16_device =
#      |                  ^
ghostscript-10.06.0/devices/gdevpsd.c:505:18: note: ‘gs_psdrgb16_device’ was previously declared here
#  121|   device_(gs_psdcmyktags16_device)
#  122|   device_(gs_psdrgb_device)
#  123|-> device_(gs_psdrgb16_device)
#  124|   device_(gs_psdrgbtags_device)
#  125|   device_(gs_spotcmyk_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:124:1: warning[-Wlto-type-mismatch]: type of ‘gs_psdrgbtags_device’ does not match original declaration
#  124 | device_(gs_psdrgbtags_device)
#      | ^
ghostscript-10.06.0/devices/gdevpsd.c:532:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  532 | const psd_device gs_psdrgbtags_device =
#      |                  ^
ghostscript-10.06.0/devices/gdevpsd.c:532:18: note: ‘gs_psdrgbtags_device’ was previously declared here
#  122|   device_(gs_psdrgb_device)
#  123|   device_(gs_psdrgb16_device)
#  124|-> device_(gs_psdrgbtags_device)
#  125|   device_(gs_spotcmyk_device)
#  126|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:125:1: warning[-Wlto-type-mismatch]: type of ‘gs_spotcmyk_device’ does not match original declaration
#  125 | device_(gs_spotcmyk_device)
#      | ^
ghostscript-10.06.0/base/gdevdevn.c:1127:26: note: type ‘const struct gx_devn_prn_device’ should match type ‘struct gx_device’
# 1127 | const gx_devn_prn_device gs_spotcmyk_device =
#      |                          ^
ghostscript-10.06.0/base/gdevdevn.c:1127:26: note: ‘gs_spotcmyk_device’ was previously declared here
#  123|   device_(gs_psdrgb16_device)
#  124|   device_(gs_psdrgbtags_device)
#  125|-> device_(gs_spotcmyk_device)
#  126|   #endif
#  127|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:128:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiff12nc_device’ does not match original declaration
#  128 | device2_(gs_tiff12nc_device)
#      | ^
ghostscript-10.06.0/devices/gdevtfnx.c:66:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#   66 | const gx_device_tiff gs_tiff12nc_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtfnx.c:66:22: note: ‘gs_tiff12nc_device’ was previously declared here
#  126|   #endif
#  127|   #ifdef device2_
#  128|-> device2_(gs_tiff12nc_device)
#  129|   device2_(gs_tiff24nc_device)
#  130|   device2_(gs_tiff32nc_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:129:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiff24nc_device’ does not match original declaration
#  129 | device2_(gs_tiff24nc_device)
#      | ^
ghostscript-10.06.0/devices/gdevtfnx.c:83:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#   83 | const gx_device_tiff gs_tiff24nc_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtfnx.c:83:22: note: ‘gs_tiff24nc_device’ was previously declared here
#  127|   #ifdef device2_
#  128|   device2_(gs_tiff12nc_device)
#  129|-> device2_(gs_tiff24nc_device)
#  130|   device2_(gs_tiff32nc_device)
#  131|   device2_(gs_tiff48nc_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:130:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiff32nc_device’ does not match original declaration
#  130 | device2_(gs_tiff32nc_device)
#      | ^
ghostscript-10.06.0/devices/gdevtsep.c:569:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  569 | const gx_device_tiff gs_tiff32nc_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtsep.c:569:22: note: ‘gs_tiff32nc_device’ was previously declared here
#  128|   device2_(gs_tiff12nc_device)
#  129|   device2_(gs_tiff24nc_device)
#  130|-> device2_(gs_tiff32nc_device)
#  131|   device2_(gs_tiff48nc_device)
#  132|   device2_(gs_tiff64nc_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:131:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiff48nc_device’ does not match original declaration
#  131 | device2_(gs_tiff48nc_device)
#      | ^
ghostscript-10.06.0/devices/gdevtfnx.c:100:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  100 | const gx_device_tiff gs_tiff48nc_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtfnx.c:100:22: note: ‘gs_tiff48nc_device’ was previously declared here
#  129|   device2_(gs_tiff24nc_device)
#  130|   device2_(gs_tiff32nc_device)
#  131|-> device2_(gs_tiff48nc_device)
#  132|   device2_(gs_tiff64nc_device)
#  133|   device2_(gs_tiffcrle_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:132:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiff64nc_device’ does not match original declaration
#  132 | device2_(gs_tiff64nc_device)
#      | ^
ghostscript-10.06.0/devices/gdevtsep.c:600:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  600 | const gx_device_tiff gs_tiff64nc_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtsep.c:600:22: note: ‘gs_tiff64nc_device’ was previously declared here
#  130|   device2_(gs_tiff32nc_device)
#  131|   device2_(gs_tiff48nc_device)
#  132|-> device2_(gs_tiff64nc_device)
#  133|   device2_(gs_tiffcrle_device)
#  134|   device2_(gs_tiffg3_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:133:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffcrle_device’ does not match original declaration
#  133 | device2_(gs_tiffcrle_device)
#      | ^
ghostscript-10.06.0/devices/gdevtfax.c:85:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#   85 | const gx_device_tfax gs_tiffcrle_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevtfax.c:85:22: note: ‘gs_tiffcrle_device’ was previously declared here
#  131|   device2_(gs_tiff48nc_device)
#  132|   device2_(gs_tiff64nc_device)
#  133|-> device2_(gs_tiffcrle_device)
#  134|   device2_(gs_tiffg3_device)
#  135|   device2_(gs_tiffg32d_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:134:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffg3_device’ does not match original declaration
#  134 | device2_(gs_tiffg3_device)
#      | ^
ghostscript-10.06.0/devices/gdevtfax.c:88:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#   88 | const gx_device_tfax gs_tiffg3_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevtfax.c:88:22: note: ‘gs_tiffg3_device’ was previously declared here
#  132|   device2_(gs_tiff64nc_device)
#  133|   device2_(gs_tiffcrle_device)
#  134|-> device2_(gs_tiffg3_device)
#  135|   device2_(gs_tiffg32d_device)
#  136|   device2_(gs_tiffg4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:135:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffg32d_device’ does not match original declaration
#  135 | device2_(gs_tiffg32d_device)
#      | ^
ghostscript-10.06.0/devices/gdevtfax.c:91:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#   91 | const gx_device_tfax gs_tiffg32d_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevtfax.c:91:22: note: ‘gs_tiffg32d_device’ was previously declared here
#  133|   device2_(gs_tiffcrle_device)
#  134|   device2_(gs_tiffg3_device)
#  135|-> device2_(gs_tiffg32d_device)
#  136|   device2_(gs_tiffg4_device)
#  137|   device2_(gs_tiffgray_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:136:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffg4_device’ does not match original declaration
#  136 | device2_(gs_tiffg4_device)
#      | ^
ghostscript-10.06.0/devices/gdevtfax.c:94:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#   94 | const gx_device_tfax gs_tiffg4_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevtfax.c:94:22: note: ‘gs_tiffg4_device’ was previously declared here
#  134|   device2_(gs_tiffg3_device)
#  135|   device2_(gs_tiffg32d_device)
#  136|-> device2_(gs_tiffg4_device)
#  137|   device2_(gs_tiffgray_device)
#  138|   device2_(gs_tifflzw_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:137:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffgray_device’ does not match original declaration
#  137 | device2_(gs_tiffgray_device)
#      | ^
ghostscript-10.06.0/devices/gdevtsep.c:88:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#   88 | const gx_device_tiff gs_tiffgray_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtsep.c:88:22: note: ‘gs_tiffgray_device’ was previously declared here
#  135|   device2_(gs_tiffg32d_device)
#  136|   device2_(gs_tiffg4_device)
#  137|-> device2_(gs_tiffgray_device)
#  138|   device2_(gs_tifflzw_device)
#  139|   device2_(gs_tiffpack_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:138:1: warning[-Wlto-type-mismatch]: type of ‘gs_tifflzw_device’ does not match original declaration
#  138 | device2_(gs_tifflzw_device)
#      | ^
ghostscript-10.06.0/devices/gdevtfax.c:272:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#  272 | const gx_device_tfax gs_tifflzw_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtfax.c:272:22: note: ‘gs_tifflzw_device’ was previously declared here
#  136|   device2_(gs_tiffg4_device)
#  137|   device2_(gs_tiffgray_device)
#  138|-> device2_(gs_tifflzw_device)
#  139|   device2_(gs_tiffpack_device)
#  140|   device2_(gs_tiffscaled_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:139:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffpack_device’ does not match original declaration
#  139 | device2_(gs_tiffpack_device)
#      | ^
ghostscript-10.06.0/devices/gdevtfax.c:288:22: note: type ‘const struct gx_device_tfax’ should match type ‘const struct gx_device’
#  288 | const gx_device_tfax gs_tiffpack_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtfax.c:288:22: note: ‘gs_tiffpack_device’ was previously declared here
#  137|   device2_(gs_tiffgray_device)
#  138|   device2_(gs_tifflzw_device)
#  139|-> device2_(gs_tiffpack_device)
#  140|   device2_(gs_tiffscaled_device)
#  141|   device2_(gs_tiffscaled24_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:140:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffscaled_device’ does not match original declaration
#  140 | device2_(gs_tiffscaled_device)
#      | ^
ghostscript-10.06.0/devices/gdevtsep.c:134:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  134 | const gx_device_tiff gs_tiffscaled_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtsep.c:134:22: note: ‘gs_tiffscaled_device’ was previously declared here
#  138|   device2_(gs_tifflzw_device)
#  139|   device2_(gs_tiffpack_device)
#  140|-> device2_(gs_tiffscaled_device)
#  141|   device2_(gs_tiffscaled24_device)
#  142|   device2_(gs_tiffscaled32_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:141:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffscaled24_device’ does not match original declaration
#  141 | device2_(gs_tiffscaled24_device)
#      | ^
ghostscript-10.06.0/devices/gdevtsep.c:216:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  216 | const gx_device_tiff gs_tiffscaled24_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtsep.c:216:22: note: ‘gs_tiffscaled24_device’ was previously declared here
#  139|   device2_(gs_tiffpack_device)
#  140|   device2_(gs_tiffscaled_device)
#  141|-> device2_(gs_tiffscaled24_device)
#  142|   device2_(gs_tiffscaled32_device)
#  143|   device2_(gs_tiffscaled4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:142:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffscaled32_device’ does not match original declaration
#  142 | device2_(gs_tiffscaled32_device)
#      | ^
ghostscript-10.06.0/devices/gdevtsep.c:257:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  257 | const gx_device_tiff gs_tiffscaled32_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtsep.c:257:22: note: ‘gs_tiffscaled32_device’ was previously declared here
#  140|   device2_(gs_tiffscaled_device)
#  141|   device2_(gs_tiffscaled24_device)
#  142|-> device2_(gs_tiffscaled32_device)
#  143|   device2_(gs_tiffscaled4_device)
#  144|   device2_(gs_tiffscaled8_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:143:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffscaled4_device’ does not match original declaration
#  143 | device2_(gs_tiffscaled4_device)
#      | ^
ghostscript-10.06.0/devices/gdevtsep.c:295:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  295 | const gx_device_tiff gs_tiffscaled4_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtsep.c:295:22: note: ‘gs_tiffscaled4_device’ was previously declared here
#  141|   device2_(gs_tiffscaled24_device)
#  142|   device2_(gs_tiffscaled32_device)
#  143|-> device2_(gs_tiffscaled4_device)
#  144|   device2_(gs_tiffscaled8_device)
#  145|   device2_(gs_tiffsep_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:144:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffscaled8_device’ does not match original declaration
#  144 | device2_(gs_tiffscaled8_device)
#      | ^
ghostscript-10.06.0/devices/gdevtsep.c:175:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  175 | const gx_device_tiff gs_tiffscaled8_device = {
#      |                      ^
ghostscript-10.06.0/devices/gdevtsep.c:175:22: note: ‘gs_tiffscaled8_device’ was previously declared here
#  142|   device2_(gs_tiffscaled32_device)
#  143|   device2_(gs_tiffscaled4_device)
#  144|-> device2_(gs_tiffscaled8_device)
#  145|   device2_(gs_tiffsep_device)
#  146|   device2_(gs_tiffsep1_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:145:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffsep_device’ does not match original declaration
#  145 | device2_(gs_tiffsep_device)
#      | ^
ghostscript-10.06.0/devices/gdevtsep.c:811:22: note: type ‘const struct tiffsep_device’ should match type ‘const struct gx_device’
#  811 | const tiffsep_device gs_tiffsep_device =
#      |                      ^
ghostscript-10.06.0/devices/gdevtsep.c:811:22: note: ‘gs_tiffsep_device’ was previously declared here
#  143|   device2_(gs_tiffscaled4_device)
#  144|   device2_(gs_tiffscaled8_device)
#  145|-> device2_(gs_tiffsep_device)
#  146|   device2_(gs_tiffsep1_device)
#  147|   device2_(gs_txtwrite_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:146:1: warning[-Wlto-type-mismatch]: type of ‘gs_tiffsep1_device’ does not match original declaration
#  146 | device2_(gs_tiffsep1_device)
#      | ^
ghostscript-10.06.0/devices/gdevtsep.c:828:23: note: type ‘const struct tiffsep1_device’ should match type ‘const struct gx_device’
#  828 | const tiffsep1_device gs_tiffsep1_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevtsep.c:828:23: note: ‘gs_tiffsep1_device’ was previously declared here
#  144|   device2_(gs_tiffscaled8_device)
#  145|   device2_(gs_tiffsep_device)
#  146|-> device2_(gs_tiffsep1_device)
#  147|   device2_(gs_txtwrite_device)
#  148|   device2_(gs_urfcmyk_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:147:1: warning[-Wlto-type-mismatch]: type of ‘gs_txtwrite_device’ does not match original declaration
#  147 | device2_(gs_txtwrite_device)
#      | ^
ghostscript-10.06.0/devices/vector/gdevtxtw.c:166:28: note: type ‘const struct gx_device_txtwrite_t’ should match type ‘const struct gx_device’
#  166 | const gx_device_txtwrite_t gs_txtwrite_device =
#      |                            ^
ghostscript-10.06.0/devices/vector/gdevtxtw.c:166:28: note: ‘gs_txtwrite_device’ was previously declared here
#  145|   device2_(gs_tiffsep_device)
#  146|   device2_(gs_tiffsep1_device)
#  147|-> device2_(gs_txtwrite_device)
#  148|   device2_(gs_urfcmyk_device)
#  149|   device2_(gs_urfgray_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:148:1: warning[-Wlto-type-mismatch]: type of ‘gs_urfcmyk_device’ does not match original declaration
#  148 | device2_(gs_urfcmyk_device)
#      | ^
ghostscript-10.06.0/devices/gdevurf.c:287:21: note: type ‘const struct gx_device_urf’ should match type ‘const struct gx_device’
#  287 | const gx_device_urf gs_urfcmyk_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevurf.c:287:21: note: ‘gs_urfcmyk_device’ was previously declared here
#  146|   device2_(gs_tiffsep1_device)
#  147|   device2_(gs_txtwrite_device)
#  148|-> device2_(gs_urfcmyk_device)
#  149|   device2_(gs_urfgray_device)
#  150|   device2_(gs_urfrgb_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:149:1: warning[-Wlto-type-mismatch]: type of ‘gs_urfgray_device’ does not match original declaration
#  149 | device2_(gs_urfgray_device)
#      | ^
ghostscript-10.06.0/devices/gdevurf.c:269:21: note: type ‘const struct gx_device_urf’ should match type ‘const struct gx_device’
#  269 | const gx_device_urf gs_urfgray_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevurf.c:269:21: note: ‘gs_urfgray_device’ was previously declared here
#  147|   device2_(gs_txtwrite_device)
#  148|   device2_(gs_urfcmyk_device)
#  149|-> device2_(gs_urfgray_device)
#  150|   device2_(gs_urfrgb_device)
#  151|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:150:1: warning[-Wlto-type-mismatch]: type of ‘gs_urfrgb_device’ does not match original declaration
#  150 | device2_(gs_urfrgb_device)
#      | ^
ghostscript-10.06.0/devices/gdevurf.c:278:21: note: type ‘const struct gx_device_urf’ should match type ‘const struct gx_device’
#  278 | const gx_device_urf gs_urfrgb_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevurf.c:278:21: note: ‘gs_urfrgb_device’ was previously declared here
#  148|   device2_(gs_urfcmyk_device)
#  149|   device2_(gs_urfgray_device)
#  150|-> device2_(gs_urfrgb_device)
#  151|   #endif
#  152|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:153:1: warning[-Wlto-type-mismatch]: type of ‘gs_xcf_device’ does not match original declaration
#  153 | device_(gs_xcf_device)
#      | ^
ghostscript-10.06.0/devices/gdevxcf.c:164:18: note: type ‘const struct xcf_device’ should match type ‘struct gx_device’
#  164 | const xcf_device gs_xcf_device =
#      |                  ^
ghostscript-10.06.0/devices/gdevxcf.c:164:18: note: ‘gs_xcf_device’ was previously declared here
#  151|   #endif
#  152|   #ifdef device_
#  153|-> device_(gs_xcf_device)
#  154|   #endif
#  155|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:156:1: warning[-Wlto-type-mismatch]: type of ‘gs_xpswrite_device’ does not match original declaration
#  156 | device2_(gs_xpswrite_device)
#      | ^
ghostscript-10.06.0/devices/vector/gdevxps.c:224:21: note: type ‘const struct gx_device_xps’ should match type ‘const struct gx_device’
#  224 | const gx_device_xps gs_xpswrite_device = {
#      |                     ^
ghostscript-10.06.0/devices/vector/gdevxps.c:224:21: note: ‘gs_xpswrite_device’ was previously declared here
#  154|   #endif
#  155|   #ifdef device2_
#  156|-> device2_(gs_xpswrite_device)
#  157|   #endif
#  158|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:159:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc1900_device’ does not match original declaration
#  159 | device_(gs_alc1900_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:280:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  280 | gx_device_escv far_data gs_alc1900_device = escv_device_body("alc1900");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:280:25: note: ‘gs_alc1900_device’ was previously declared here
#  157|   #endif
#  158|   #ifdef device_
#  159|-> device_(gs_alc1900_device)
#  160|   device_(gs_alc2000_device)
#  161|   device_(gs_alc4000_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:160:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc2000_device’ does not match original declaration
#  160 | device_(gs_alc2000_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:281:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  281 | gx_device_escv far_data gs_alc2000_device = escv_device_body("alc2000");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:281:25: note: ‘gs_alc2000_device’ was previously declared here
#  158|   #ifdef device_
#  159|   device_(gs_alc1900_device)
#  160|-> device_(gs_alc2000_device)
#  161|   device_(gs_alc4000_device)
#  162|   device_(gs_alc4100_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:161:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc4000_device’ does not match original declaration
#  161 | device_(gs_alc4000_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:282:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  282 | gx_device_escv far_data gs_alc4000_device = escv_device_body("alc4000");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:282:25: note: ‘gs_alc4000_device’ was previously declared here
#  159|   device_(gs_alc1900_device)
#  160|   device_(gs_alc2000_device)
#  161|-> device_(gs_alc4000_device)
#  162|   device_(gs_alc4100_device)
#  163|   device_(gs_alc8500_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:162:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc4100_device’ does not match original declaration
#  162 | device_(gs_alc4100_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:283:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  283 | gx_device_escv far_data gs_alc4100_device = escv_device_body("alc4100");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:283:25: note: ‘gs_alc4100_device’ was previously declared here
#  160|   device_(gs_alc2000_device)
#  161|   device_(gs_alc4000_device)
#  162|-> device_(gs_alc4100_device)
#  163|   device_(gs_alc8500_device)
#  164|   device_(gs_alc8600_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:163:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc8500_device’ does not match original declaration
#  163 | device_(gs_alc8500_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:284:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  284 | gx_device_escv far_data gs_alc8500_device = escv_device_body("alc8500");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:284:25: note: ‘gs_alc8500_device’ was previously declared here
#  161|   device_(gs_alc4000_device)
#  162|   device_(gs_alc4100_device)
#  163|-> device_(gs_alc8500_device)
#  164|   device_(gs_alc8600_device)
#  165|   device_(gs_alc9100_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:164:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc8600_device’ does not match original declaration
#  164 | device_(gs_alc8600_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:285:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  285 | gx_device_escv far_data gs_alc8600_device = escv_device_body("alc8600");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:285:25: note: ‘gs_alc8600_device’ was previously declared here
#  162|   device_(gs_alc4100_device)
#  163|   device_(gs_alc8500_device)
#  164|-> device_(gs_alc8600_device)
#  165|   device_(gs_alc9100_device)
#  166|   device_(gs_ap3250_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:165:1: warning[-Wlto-type-mismatch]: type of ‘gs_alc9100_device’ does not match original declaration
#  165 | device_(gs_alc9100_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:286:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  286 | gx_device_escv far_data gs_alc9100_device = escv_device_body("alc9100");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:286:25: note: ‘gs_alc9100_device’ was previously declared here
#  163|   device_(gs_alc8500_device)
#  164|   device_(gs_alc8600_device)
#  165|-> device_(gs_alc9100_device)
#  166|   device_(gs_ap3250_device)
#  167|   device_(gs_appledmp_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:166:1: warning[-Wlto-type-mismatch]: type of ‘gs_ap3250_device’ does not match original declaration
#  166 | device_(gs_ap3250_device)
#      | ^
ghostscript-10.06.0/devices/gdevescp.c:99:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   99 | const gx_device_printer far_data gs_ap3250_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevescp.c:99:34: note: ‘gs_ap3250_device’ was previously declared here
#  164|   device_(gs_alc8600_device)
#  165|   device_(gs_alc9100_device)
#  166|-> device_(gs_ap3250_device)
#  167|   device_(gs_appledmp_device)
#  168|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:167:1: warning[-Wlto-type-mismatch]: type of ‘gs_appledmp_device’ does not match original declaration
#  167 | device_(gs_appledmp_device)
#      | ^
ghostscript-10.06.0/contrib/gdevadmp.c:318:31: note: type ‘const struct gx_device_admp’ should match type ‘struct gx_device’
#  318 | const gx_device_admp far_data gs_appledmp_device = {
#      |                               ^
ghostscript-10.06.0/contrib/gdevadmp.c:318:31: note: ‘gs_appledmp_device’ was previously declared here
#  165|   device_(gs_alc9100_device)
#  166|   device_(gs_ap3250_device)
#  167|-> device_(gs_appledmp_device)
#  168|   #endif
#  169|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:170:1: warning[-Wlto-type-mismatch]: type of ‘gs_atx23_device’ does not match original declaration
#  170 | device2_(gs_atx23_device)
#      | ^
ghostscript-10.06.0/devices/gdevatx.c:50:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   50 | const gx_device_printer gs_atx23_device = /* real width = 576 pixels */
#      |                         ^
ghostscript-10.06.0/devices/gdevatx.c:50:25: note: ‘gs_atx23_device’ was previously declared here
#  168|   #endif
#  169|   #ifdef device2_
#  170|-> device2_(gs_atx23_device)
#  171|   device2_(gs_atx24_device)
#  172|   device2_(gs_atx38_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:171:1: warning[-Wlto-type-mismatch]: type of ‘gs_atx24_device’ does not match original declaration
#  171 | device2_(gs_atx24_device)
#      | ^
ghostscript-10.06.0/devices/gdevatx.c:54:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   54 | const gx_device_printer gs_atx24_device = /* real width = 832 pixels */
#      |                         ^
ghostscript-10.06.0/devices/gdevatx.c:54:25: note: ‘gs_atx24_device’ was previously declared here
#  169|   #ifdef device2_
#  170|   device2_(gs_atx23_device)
#  171|-> device2_(gs_atx24_device)
#  172|   device2_(gs_atx38_device)
#  173|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:172:1: warning[-Wlto-type-mismatch]: type of ‘gs_atx38_device’ does not match original declaration
#  172 | device2_(gs_atx38_device)
#      | ^
ghostscript-10.06.0/devices/gdevatx.c:58:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   58 | const gx_device_printer gs_atx38_device = /* real width = 2400 pixels */
#      |                         ^
ghostscript-10.06.0/devices/gdevatx.c:58:25: note: ‘gs_atx38_device’ was previously declared here
#  170|   device2_(gs_atx23_device)
#  171|   device2_(gs_atx24_device)
#  172|-> device2_(gs_atx38_device)
#  173|   #endif
#  174|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:175:1: warning[-Wlto-type-mismatch]: type of ‘gs_bj10e_device’ does not match original declaration
#  175 | device_(gs_bj10e_device)
#      | ^
ghostscript-10.06.0/devices/gdevbj10.c:158:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  158 | const gx_device_printer far_data gs_bj10e_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevbj10.c:158:34: note: ‘gs_bj10e_device’ was previously declared here
#  173|   #endif
#  174|   #ifdef device_
#  175|-> device_(gs_bj10e_device)
#  176|   device_(gs_bj10v_device)
#  177|   device_(gs_bj10vh_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:176:1: warning[-Wlto-type-mismatch]: type of ‘gs_bj10v_device’ does not match original declaration
#  176 | device_(gs_bj10v_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdev10v.c:86:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   86 | gx_device_printer gs_bj10v_device =
#      |                   ^
ghostscript-10.06.0/contrib/japanese/gdev10v.c:86:19: note: ‘gs_bj10v_device’ was previously declared here
#  174|   #ifdef device_
#  175|   device_(gs_bj10e_device)
#  176|-> device_(gs_bj10v_device)
#  177|   device_(gs_bj10vh_device)
#  178|   device_(gs_bj200_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:177:1: warning[-Wlto-type-mismatch]: type of ‘gs_bj10vh_device’ does not match original declaration
#  177 | device_(gs_bj10vh_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdev10v.c:95:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   95 | gx_device_printer gs_bj10vh_device =
#      |                   ^
ghostscript-10.06.0/contrib/japanese/gdev10v.c:95:19: note: ‘gs_bj10vh_device’ was previously declared here
#  175|   device_(gs_bj10e_device)
#  176|   device_(gs_bj10v_device)
#  177|-> device_(gs_bj10vh_device)
#  178|   device_(gs_bj200_device)
#  179|   device_(gs_bjc600_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:178:1: warning[-Wlto-type-mismatch]: type of ‘gs_bj200_device’ does not match original declaration
#  178 | device_(gs_bj200_device)
#      | ^
ghostscript-10.06.0/devices/gdevbj10.c:118:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  118 | const gx_device_printer far_data gs_bj200_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevbj10.c:118:34: note: ‘gs_bj200_device’ was previously declared here
#  176|   device_(gs_bj10v_device)
#  177|   device_(gs_bj10vh_device)
#  178|-> device_(gs_bj200_device)
#  179|   device_(gs_bjc600_device)
#  180|   device_(gs_bjc800_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:179:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjc600_device’ does not match original declaration
#  179 | device_(gs_bjc600_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:660:27: note: type ‘struct gx_device_bjc600’ should match type ‘struct gx_device’
#  660 | gx_device_bjc600 far_data gs_bjc600_device =
#      |                           ^
ghostscript-10.06.0/devices/gdevcdj.c:660:27: note: ‘gs_bjc600_device’ was previously declared here
#  177|   device_(gs_bj10vh_device)
#  178|   device_(gs_bj200_device)
#  179|-> device_(gs_bjc600_device)
#  180|   device_(gs_bjc800_device)
#  181|   device_(gs_bjc880j_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:180:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjc800_device’ does not match original declaration
#  180 | device_(gs_bjc800_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:679:27: note: type ‘struct gx_device_bjc800’ should match type ‘struct gx_device’
#  679 | gx_device_bjc800 far_data gs_bjc800_device =
#      |                           ^
ghostscript-10.06.0/devices/gdevcdj.c:679:27: note: ‘gs_bjc800_device’ was previously declared here
#  178|   device_(gs_bj200_device)
#  179|   device_(gs_bjc600_device)
#  180|-> device_(gs_bjc800_device)
#  181|   device_(gs_bjc880j_device)
#  182|   device_(gs_bjccmyk_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:181:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjc880j_device’ does not match original declaration
#  181 | device_(gs_bjc880j_device)
#      | ^
ghostscript-10.06.0/contrib/lips4/gdevl4r.c:170:26: note: type ‘struct gx_device_lips4’ should match type ‘struct gx_device’
#  170 | gx_device_lips4 far_data gs_bjc880j_device =
#      |                          ^
ghostscript-10.06.0/contrib/lips4/gdevl4r.c:170:26: note: ‘gs_bjc880j_device’ was previously declared here
#  179|   device_(gs_bjc600_device)
#  180|   device_(gs_bjc800_device)
#  181|-> device_(gs_bjc880j_device)
#  182|   device_(gs_bjccmyk_device)
#  183|   device_(gs_bjccolor_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:182:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjccmyk_device’ does not match original declaration
#  182 | device_(gs_bjccmyk_device)
#      | ^
ghostscript-10.06.0/contrib/gdevbjc_.c:294:29: note: type ‘const struct gx_device_bjc_printer’ should match type ‘struct gx_device’
#  294 | const gx_device_bjc_printer gs_bjccmyk_device =
#      |                             ^
ghostscript-10.06.0/contrib/gdevbjc_.c:294:29: note: ‘gs_bjccmyk_device’ was previously declared here
#  180|   device_(gs_bjc800_device)
#  181|   device_(gs_bjc880j_device)
#  182|-> device_(gs_bjccmyk_device)
#  183|   device_(gs_bjccolor_device)
#  184|   device_(gs_bjcgray_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:183:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjccolor_device’ does not match original declaration
#  183 | device_(gs_bjccolor_device)
#      | ^
ghostscript-10.06.0/contrib/gdevbjc_.c:327:29: note: type ‘const struct gx_device_bjc_printer’ should match type ‘struct gx_device’
#  327 | const gx_device_bjc_printer gs_bjccolor_device =
#      |                             ^
ghostscript-10.06.0/contrib/gdevbjc_.c:327:29: note: ‘gs_bjccolor_device’ was previously declared here
#  181|   device_(gs_bjc880j_device)
#  182|   device_(gs_bjccmyk_device)
#  183|-> device_(gs_bjccolor_device)
#  184|   device_(gs_bjcgray_device)
#  185|   device_(gs_bjcmono_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:184:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjcgray_device’ does not match original declaration
#  184 | device_(gs_bjcgray_device)
#      | ^
ghostscript-10.06.0/contrib/gdevbjc_.c:261:29: note: type ‘const struct gx_device_bjc_printer’ should match type ‘struct gx_device’
#  261 | const gx_device_bjc_printer gs_bjcgray_device =
#      |                             ^
ghostscript-10.06.0/contrib/gdevbjc_.c:261:29: note: ‘gs_bjcgray_device’ was previously declared here
#  182|   device_(gs_bjccmyk_device)
#  183|   device_(gs_bjccolor_device)
#  184|-> device_(gs_bjcgray_device)
#  185|   device_(gs_bjcmono_device)
#  186|   device_(gs_cdeskjet_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:185:1: warning[-Wlto-type-mismatch]: type of ‘gs_bjcmono_device’ does not match original declaration
#  185 | device_(gs_bjcmono_device)
#      | ^
ghostscript-10.06.0/contrib/gdevbjc_.c:228:29: note: type ‘const struct gx_device_bjc_printer’ should match type ‘struct gx_device’
#  228 | const gx_device_bjc_printer gs_bjcmono_device =
#      |                             ^
ghostscript-10.06.0/contrib/gdevbjc_.c:228:29: note: ‘gs_bjcmono_device’ was previously declared here
#  183|   device_(gs_bjccolor_device)
#  184|   device_(gs_bjcgray_device)
#  185|-> device_(gs_bjcmono_device)
#  186|   device_(gs_cdeskjet_device)
#  187|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:186:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdeskjet_device’ does not match original declaration
#  186 | device_(gs_cdeskjet_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:590:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  590 | gx_device_cdj far_data gs_cdeskjet_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:590:24: note: ‘gs_cdeskjet_device’ was previously declared here
#  184|   device_(gs_bjcgray_device)
#  185|   device_(gs_bjcmono_device)
#  186|-> device_(gs_cdeskjet_device)
#  187|   #endif
#  188|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:189:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj1600_device’ does not match original declaration
#  189 | device2_(gs_cdj1600_device)
#      | ^
ghostscript-10.06.0/contrib/gdevcd8.c:864:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  864 | const gx_device_cdj850 gs_cdj1600_device =
#      |                        ^
ghostscript-10.06.0/contrib/gdevcd8.c:864:24: note: ‘gs_cdj1600_device’ was previously declared here
#  187|   #endif
#  188|   #ifdef device2_
#  189|-> device2_(gs_cdj1600_device)
#  190|   #endif
#  191|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:192:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj500_device’ does not match original declaration
#  192 | device_(gs_cdj500_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:598:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  598 | gx_device_cdj far_data gs_cdj500_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:598:24: note: ‘gs_cdj500_device’ was previously declared here
#  190|   #endif
#  191|   #ifdef device_
#  192|-> device_(gs_cdj500_device)
#  193|   device_(gs_cdj550_device)
#  194|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:193:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj550_device’ does not match original declaration
#  193 | device_(gs_cdj550_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:602:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  602 | gx_device_cdj far_data gs_cdj550_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:602:24: note: ‘gs_cdj550_device’ was previously declared here
#  191|   #ifdef device_
#  192|   device_(gs_cdj500_device)
#  193|-> device_(gs_cdj550_device)
#  194|   #endif
#  195|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:196:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj670_device’ does not match original declaration
#  196 | device2_(gs_cdj670_device)
#      | ^
ghostscript-10.06.0/contrib/gdevcd8.c:836:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  836 | const gx_device_cdj850 gs_cdj670_device =
#      |                        ^
ghostscript-10.06.0/contrib/gdevcd8.c:836:24: note: ‘gs_cdj670_device’ was previously declared here
#  194|   #endif
#  195|   #ifdef device2_
#  196|-> device2_(gs_cdj670_device)
#  197|   device2_(gs_cdj850_device)
#  198|   device2_(gs_cdj880_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:197:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj850_device’ does not match original declaration
#  197 | device2_(gs_cdj850_device)
#      | ^
ghostscript-10.06.0/contrib/gdevcd8.c:843:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  843 | const gx_device_cdj850 gs_cdj850_device =
#      |                        ^
ghostscript-10.06.0/contrib/gdevcd8.c:843:24: note: ‘gs_cdj850_device’ was previously declared here
#  195|   #ifdef device2_
#  196|   device2_(gs_cdj670_device)
#  197|-> device2_(gs_cdj850_device)
#  198|   device2_(gs_cdj880_device)
#  199|   device2_(gs_cdj890_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:198:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj880_device’ does not match original declaration
#  198 | device2_(gs_cdj880_device)
#      | ^
ghostscript-10.06.0/contrib/gdevcd8.c:850:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  850 | const gx_device_cdj850 gs_cdj880_device =
#      |                        ^
ghostscript-10.06.0/contrib/gdevcd8.c:850:24: note: ‘gs_cdj880_device’ was previously declared here
#  196|   device2_(gs_cdj670_device)
#  197|   device2_(gs_cdj850_device)
#  198|-> device2_(gs_cdj880_device)
#  199|   device2_(gs_cdj890_device)
#  200|   device2_(gs_cdj970_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:199:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj890_device’ does not match original declaration
#  199 | device2_(gs_cdj890_device)
#      | ^
ghostscript-10.06.0/contrib/gdevcd8.c:857:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  857 | const gx_device_cdj850 gs_cdj890_device =
#      |                        ^
ghostscript-10.06.0/contrib/gdevcd8.c:857:24: note: ‘gs_cdj890_device’ was previously declared here
#  197|   device2_(gs_cdj850_device)
#  198|   device2_(gs_cdj880_device)
#  199|-> device2_(gs_cdj890_device)
#  200|   device2_(gs_cdj970_device)
#  201|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:200:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdj970_device’ does not match original declaration
#  200 | device2_(gs_cdj970_device)
#      | ^
ghostscript-10.06.0/contrib/gdevdj9.c:561:24: note: type ‘const struct gx_device_cdj970’ should match type ‘const struct gx_device’
#  561 | const gx_device_cdj970 gs_cdj970_device =
#      |                        ^
ghostscript-10.06.0/contrib/gdevdj9.c:561:24: note: ‘gs_cdj970_device’ was previously declared here
#  198|   device2_(gs_cdj880_device)
#  199|   device2_(gs_cdj890_device)
#  200|-> device2_(gs_cdj970_device)
#  201|   #endif
#  202|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:203:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdjcolor_device’ does not match original declaration
#  203 | device_(gs_cdjcolor_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:594:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  594 | gx_device_cdj far_data gs_cdjcolor_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:594:24: note: ‘gs_cdjcolor_device’ was previously declared here
#  201|   #endif
#  202|   #ifdef device_
#  203|-> device_(gs_cdjcolor_device)
#  204|   device_(gs_cdjmono_device)
#  205|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:204:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdjmono_device’ does not match original declaration
#  204 | device_(gs_cdjmono_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:586:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  586 | gx_device_cdj far_data gs_cdjmono_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:586:24: note: ‘gs_cdjmono_device’ was previously declared here
#  202|   #ifdef device_
#  203|   device_(gs_cdjcolor_device)
#  204|-> device_(gs_cdjmono_device)
#  205|   #endif
#  206|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:207:1: warning[-Wlto-type-mismatch]: type of ‘gs_cdnj500_device’ does not match original declaration
#  207 | device2_(gs_cdnj500_device)
#      | ^
ghostscript-10.06.0/contrib/gdevcd8.c:880:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  880 | const gx_device_cdj850 gs_cdnj500_device =
#      |                        ^
ghostscript-10.06.0/contrib/gdevcd8.c:880:24: note: ‘gs_cdnj500_device’ was previously declared here
#  205|   #endif
#  206|   #ifdef device2_
#  207|-> device2_(gs_cdnj500_device)
#  208|   device2_(gs_chp2200_device)
#  209|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:208:1: warning[-Wlto-type-mismatch]: type of ‘gs_chp2200_device’ does not match original declaration
#  208 | device2_(gs_chp2200_device)
#      | ^
ghostscript-10.06.0/contrib/gdevcd8.c:872:24: note: type ‘const struct gx_device_cdj850’ should match type ‘const struct gx_device’
#  872 | const gx_device_cdj850 gs_chp2200_device =
#      |                        ^
ghostscript-10.06.0/contrib/gdevcd8.c:872:24: note: ‘gs_chp2200_device’ was previously declared here
#  206|   #ifdef device2_
#  207|   device2_(gs_cdnj500_device)
#  208|-> device2_(gs_chp2200_device)
#  209|   #endif
#  210|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:211:1: warning[-Wlto-type-mismatch]: type of ‘gs_cljet5_device’ does not match original declaration
#  211 | device_(gs_cljet5_device)
#      | ^
ghostscript-10.06.0/devices/gdevclj.c:558:15: note: type ‘struct gx_device_clj’ should match type ‘struct gx_device’
#  558 | gx_device_clj gs_cljet5_device = {
#      |               ^
ghostscript-10.06.0/devices/gdevclj.c:558:15: note: ‘gs_cljet5_device’ was previously declared here
#  209|   #endif
#  210|   #ifdef device_
#  211|-> device_(gs_cljet5_device)
#  212|   device_(gs_cljet5c_device)
#  213|   device_(gs_cljet5pr_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:212:1: warning[-Wlto-type-mismatch]: type of ‘gs_cljet5c_device’ does not match original declaration
#  212 | device_(gs_cljet5c_device)
#      | ^
ghostscript-10.06.0/devices/gdevcljc.c:93:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   93 | const gx_device_printer gs_cljet5c_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevcljc.c:93:25: note: ‘gs_cljet5c_device’ was previously declared here
#  210|   #ifdef device_
#  211|   device_(gs_cljet5_device)
#  212|-> device_(gs_cljet5c_device)
#  213|   device_(gs_cljet5pr_device)
#  214|   device_(gs_coslw2p_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:213:1: warning[-Wlto-type-mismatch]: type of ‘gs_cljet5pr_device’ does not match original declaration
#  213 | device_(gs_cljet5pr_device)
#      | ^
ghostscript-10.06.0/devices/gdevclj.c:684:15: note: type ‘struct gx_device_clj’ should match type ‘struct gx_device’
#  684 | gx_device_clj gs_cljet5pr_device = {
#      |               ^
ghostscript-10.06.0/devices/gdevclj.c:684:15: note: ‘gs_cljet5pr_device’ was previously declared here
#  211|   device_(gs_cljet5_device)
#  212|   device_(gs_cljet5c_device)
#  213|-> device_(gs_cljet5pr_device)
#  214|   device_(gs_coslw2p_device)
#  215|   device_(gs_coslwxl_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:214:1: warning[-Wlto-type-mismatch]: type of ‘gs_coslw2p_device’ does not match original declaration
#  214 | device_(gs_coslw2p_device)
#      | ^
ghostscript-10.06.0/devices/gdevcslw.c:33:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   33 | const gx_device_printer gs_coslw2p_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevcslw.c:33:25: note: ‘gs_coslw2p_device’ was previously declared here
#  212|   device_(gs_cljet5c_device)
#  213|   device_(gs_cljet5pr_device)
#  214|-> device_(gs_coslw2p_device)
#  215|   device_(gs_coslwxl_device)
#  216|   device_(gs_declj250_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:215:1: warning[-Wlto-type-mismatch]: type of ‘gs_coslwxl_device’ does not match original declaration
#  215 | device_(gs_coslwxl_device)
#      | ^
ghostscript-10.06.0/devices/gdevcslw.c:41:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   41 | const gx_device_printer gs_coslwxl_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevcslw.c:41:25: note: ‘gs_coslwxl_device’ was previously declared here
#  213|   device_(gs_cljet5pr_device)
#  214|   device_(gs_coslw2p_device)
#  215|-> device_(gs_coslwxl_device)
#  216|   device_(gs_declj250_device)
#  217|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:216:1: warning[-Wlto-type-mismatch]: type of ‘gs_declj250_device’ does not match original declaration
#  216 | device_(gs_declj250_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:621:23: note: type ‘struct gx_device_pj’ should match type ‘struct gx_device’
#  621 | gx_device_pj far_data gs_declj250_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevcdj.c:621:23: note: ‘gs_declj250_device’ was previously declared here
#  214|   device_(gs_coslw2p_device)
#  215|   device_(gs_coslwxl_device)
#  216|-> device_(gs_declj250_device)
#  217|   #endif
#  218|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:219:1: warning[-Wlto-type-mismatch]: type of ‘gs_deskjet_device’ does not match original declaration
#  219 | device2_(gs_deskjet_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:157:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  157 | const gx_device_hpjet gs_deskjet_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:157:23: note: ‘gs_deskjet_device’ was previously declared here
#  217|   #endif
#  218|   #ifdef device2_
#  219|-> device2_(gs_deskjet_device)
#  220|   #endif
#  221|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:222:1: warning[-Wlto-type-mismatch]: type of ‘gs_dj505j_device’ does not match original declaration
#  222 | device_(gs_dj505j_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:617:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  617 | gx_device_cdj far_data gs_dj505j_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:617:24: note: ‘gs_dj505j_device’ was previously declared here
#  220|   #endif
#  221|   #ifdef device_
#  222|-> device_(gs_dj505j_device)
#  223|   #endif
#  224|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:225:1: warning[-Wlto-type-mismatch]: type of ‘gs_djet500_device’ does not match original declaration
#  225 | device2_(gs_djet500_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:164:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  164 | const gx_device_hpjet gs_djet500_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:164:23: note: ‘gs_djet500_device’ was previously declared here
#  223|   #endif
#  224|   #ifdef device2_
#  225|-> device2_(gs_djet500_device)
#  226|   #endif
#  227|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:228:1: warning[-Wlto-type-mismatch]: type of ‘gs_djet500c_device’ does not match original declaration
#  228 | device_(gs_djet500c_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjtc.c:54:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   54 | const gx_device_printer far_data gs_djet500c_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevdjtc.c:54:34: note: ‘gs_djet500c_device’ was previously declared here
#  226|   #endif
#  227|   #ifdef device_
#  228|-> device_(gs_djet500c_device)
#  229|   device_(gs_dl2100_device)
#  230|   device_(gs_dnj650c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:229:1: warning[-Wlto-type-mismatch]: type of ‘gs_dl2100_device’ does not match original declaration
#  229 | device_(gs_dl2100_device)
#      | ^
ghostscript-10.06.0/contrib/gdevln03.c:104:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  104 | gx_device_printer gs_dl2100_device =
#      |                   ^
ghostscript-10.06.0/contrib/gdevln03.c:104:19: note: ‘gs_dl2100_device’ was previously declared here
#  227|   #ifdef device_
#  228|   device_(gs_djet500c_device)
#  229|-> device_(gs_dl2100_device)
#  230|   device_(gs_dnj650c_device)
#  231|   device_(gs_epl2050_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:230:1: warning[-Wlto-type-mismatch]: type of ‘gs_dnj650c_device’ does not match original declaration
#  230 | device_(gs_dnj650c_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:625:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  625 | gx_device_cdj far_data gs_dnj650c_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:625:24: note: ‘gs_dnj650c_device’ was previously declared here
#  228|   device_(gs_djet500c_device)
#  229|   device_(gs_dl2100_device)
#  230|-> device_(gs_dnj650c_device)
#  231|   device_(gs_epl2050_device)
#  232|   device_(gs_epl2050p_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:231:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl2050_device’ does not match original declaration
#  231 | device_(gs_epl2050_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:245:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  245 | gx_device_escv far_data gs_epl2050_device = esmv_device_body("epl2050");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:245:25: note: ‘gs_epl2050_device’ was previously declared here
#  229|   device_(gs_dl2100_device)
#  230|   device_(gs_dnj650c_device)
#  231|-> device_(gs_epl2050_device)
#  232|   device_(gs_epl2050p_device)
#  233|   device_(gs_epl2120_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:232:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl2050p_device’ does not match original declaration
#  232 | device_(gs_epl2050p_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:246:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  246 | gx_device_escv far_data gs_epl2050p_device= esmv_device_body("epl2050p");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:246:25: note: ‘gs_epl2050p_device’ was previously declared here
#  230|   device_(gs_dnj650c_device)
#  231|   device_(gs_epl2050_device)
#  232|-> device_(gs_epl2050p_device)
#  233|   device_(gs_epl2120_device)
#  234|   device_(gs_epl2500_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:233:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl2120_device’ does not match original declaration
#  233 | device_(gs_epl2120_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:247:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  247 | gx_device_escv far_data gs_epl2120_device = esmv_device_body("epl2120");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:247:25: note: ‘gs_epl2120_device’ was previously declared here
#  231|   device_(gs_epl2050_device)
#  232|   device_(gs_epl2050p_device)
#  233|-> device_(gs_epl2120_device)
#  234|   device_(gs_epl2500_device)
#  235|   device_(gs_epl2750_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:234:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl2500_device’ does not match original declaration
#  234 | device_(gs_epl2500_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:248:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  248 | gx_device_escv far_data gs_epl2500_device = esmv_device_body("epl2500");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:248:25: note: ‘gs_epl2500_device’ was previously declared here
#  232|   device_(gs_epl2050p_device)
#  233|   device_(gs_epl2120_device)
#  234|-> device_(gs_epl2500_device)
#  235|   device_(gs_epl2750_device)
#  236|   device_(gs_epl5800_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:235:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl2750_device’ does not match original declaration
#  235 | device_(gs_epl2750_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:249:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  249 | gx_device_escv far_data gs_epl2750_device = esmv_device_body("epl2750");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:249:25: note: ‘gs_epl2750_device’ was previously declared here
#  233|   device_(gs_epl2120_device)
#  234|   device_(gs_epl2500_device)
#  235|-> device_(gs_epl2750_device)
#  236|   device_(gs_epl5800_device)
#  237|   device_(gs_epl5900_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:236:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl5800_device’ does not match original declaration
#  236 | device_(gs_epl5800_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:250:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  250 | gx_device_escv far_data gs_epl5800_device = esmv_device_body("epl5800");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:250:25: note: ‘gs_epl5800_device’ was previously declared here
#  234|   device_(gs_epl2500_device)
#  235|   device_(gs_epl2750_device)
#  236|-> device_(gs_epl5800_device)
#  237|   device_(gs_epl5900_device)
#  238|   device_(gs_epl6100_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:237:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl5900_device’ does not match original declaration
#  237 | device_(gs_epl5900_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:251:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  251 | gx_device_escv far_data gs_epl5900_device = esmv_device_body("epl5900");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:251:25: note: ‘gs_epl5900_device’ was previously declared here
#  235|   device_(gs_epl2750_device)
#  236|   device_(gs_epl5800_device)
#  237|-> device_(gs_epl5900_device)
#  238|   device_(gs_epl6100_device)
#  239|   device_(gs_epl6200_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:238:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl6100_device’ does not match original declaration
#  238 | device_(gs_epl6100_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:252:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  252 | gx_device_escv far_data gs_epl6100_device = esmv_device_body("epl6100");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:252:25: note: ‘gs_epl6100_device’ was previously declared here
#  236|   device_(gs_epl5800_device)
#  237|   device_(gs_epl5900_device)
#  238|-> device_(gs_epl6100_device)
#  239|   device_(gs_epl6200_device)
#  240|   device_(gs_eplcolor_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:239:1: warning[-Wlto-type-mismatch]: type of ‘gs_epl6200_device’ does not match original declaration
#  239 | device_(gs_epl6200_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:253:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  253 | gx_device_escv far_data gs_epl6200_device = esmv_device_body("epl6200");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:253:25: note: ‘gs_epl6200_device’ was previously declared here
#  237|   device_(gs_epl5900_device)
#  238|   device_(gs_epl6100_device)
#  239|-> device_(gs_epl6200_device)
#  240|   device_(gs_eplcolor_device)
#  241|   device_(gs_eplmono_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:240:1: warning[-Wlto-type-mismatch]: type of ‘gs_eplcolor_device’ does not match original declaration
#  240 | device_(gs_eplcolor_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:298:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  298 | gx_device_escv far_data gs_eplcolor_device= escv_device_body(ESCPAGE_DEVICENAME_COLOR);
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:298:25: note: ‘gs_eplcolor_device’ was previously declared here
#  238|   device_(gs_epl6100_device)
#  239|   device_(gs_epl6200_device)
#  240|-> device_(gs_eplcolor_device)
#  241|   device_(gs_eplmono_device)
#  242|   device_(gs_eps9high_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:241:1: warning[-Wlto-type-mismatch]: type of ‘gs_eplmono_device’ does not match original declaration
#  241 | device_(gs_eplmono_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:277:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  277 | gx_device_escv far_data gs_eplmono_device = esmv_device_body(ESCPAGE_DEVICENAME_MONO);
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:277:25: note: ‘gs_eplmono_device’ was previously declared here
#  239|   device_(gs_epl6200_device)
#  240|   device_(gs_eplcolor_device)
#  241|-> device_(gs_eplmono_device)
#  242|   device_(gs_eps9high_device)
#  243|   device_(gs_eps9mid_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:242:1: warning[-Wlto-type-mismatch]: type of ‘gs_eps9high_device’ does not match original declaration
#  242 | device_(gs_eps9high_device)
#      | ^
ghostscript-10.06.0/devices/gdevepsn.c:123:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  123 | const gx_device_printer far_data gs_eps9high_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevepsn.c:123:34: note: ‘gs_eps9high_device’ was previously declared here
#  240|   device_(gs_eplcolor_device)
#  241|   device_(gs_eplmono_device)
#  242|-> device_(gs_eps9high_device)
#  243|   device_(gs_eps9mid_device)
#  244|   device_(gs_epson_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:243:1: warning[-Wlto-type-mismatch]: type of ‘gs_eps9mid_device’ does not match original declaration
#  243 | device_(gs_eps9mid_device)
#      | ^
ghostscript-10.06.0/devices/gdevepsn.c:113:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  113 | const gx_device_printer far_data gs_eps9mid_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevepsn.c:113:34: note: ‘gs_eps9mid_device’ was previously declared here
#  241|   device_(gs_eplmono_device)
#  242|   device_(gs_eps9high_device)
#  243|-> device_(gs_eps9mid_device)
#  244|   device_(gs_epson_device)
#  245|   device_(gs_epsonc_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:244:1: warning[-Wlto-type-mismatch]: type of ‘gs_epson_device’ does not match original declaration
#  244 | device_(gs_epson_device)
#      | ^
ghostscript-10.06.0/devices/gdevepsn.c:103:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  103 | const gx_device_printer far_data gs_epson_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevepsn.c:103:34: note: ‘gs_epson_device’ was previously declared here
#  242|   device_(gs_eps9high_device)
#  243|   device_(gs_eps9mid_device)
#  244|-> device_(gs_epson_device)
#  245|   device_(gs_epsonc_device)
#  246|   device_(gs_escp_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:245:1: warning[-Wlto-type-mismatch]: type of ‘gs_epsonc_device’ does not match original declaration
#  245 | device_(gs_epsonc_device)
#      | ^
ghostscript-10.06.0/devices/gdevepsc.c:157:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  157 | const gx_device_printer far_data gs_epsonc_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevepsc.c:157:34: note: ‘gs_epsonc_device’ was previously declared here
#  243|   device_(gs_eps9mid_device)
#  244|   device_(gs_epson_device)
#  245|-> device_(gs_epsonc_device)
#  246|   device_(gs_escp_device)
#  247|   device_(gs_escpage_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:246:1: warning[-Wlto-type-mismatch]: type of ‘gs_escp_device’ does not match original declaration
#  246 | device_(gs_escp_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:649:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  649 | gx_device_cdj far_data gs_escp_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:649:24: note: ‘gs_escp_device’ was previously declared here
#  244|   device_(gs_epson_device)
#  245|   device_(gs_epsonc_device)
#  246|-> device_(gs_escp_device)
#  247|   device_(gs_escpage_device)
#  248|   device_(gs_fmlbp_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:247:1: warning[-Wlto-type-mismatch]: type of ‘gs_escpage_device’ does not match original declaration
#  247 | device_(gs_escpage_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevespg.c:71:25: note: type ‘struct gx_device_lprn’ should match type ‘struct gx_device’
#   71 | gx_device_lprn far_data gs_escpage_device =
#      |                         ^
ghostscript-10.06.0/contrib/japanese/gdevespg.c:71:25: note: ‘gs_escpage_device’ was previously declared here
#  245|   device_(gs_epsonc_device)
#  246|   device_(gs_escp_device)
#  247|-> device_(gs_escpage_device)
#  248|   device_(gs_fmlbp_device)
#  249|   device_(gs_fmpr_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:248:1: warning[-Wlto-type-mismatch]: type of ‘gs_fmlbp_device’ does not match original declaration
#  248 | device_(gs_fmlbp_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevfmlbp.c:73:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   73 | gx_device_printer gs_fmlbp_device =
#      |                   ^
ghostscript-10.06.0/contrib/japanese/gdevfmlbp.c:73:19: note: ‘gs_fmlbp_device’ was previously declared here
#  246|   device_(gs_escp_device)
#  247|   device_(gs_escpage_device)
#  248|-> device_(gs_fmlbp_device)
#  249|   device_(gs_fmpr_device)
#  250|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:249:1: warning[-Wlto-type-mismatch]: type of ‘gs_fmpr_device’ does not match original declaration
#  249 | device_(gs_fmpr_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevfmpr.c:32:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   32 | gx_device_printer gs_fmpr_device =
#      |                   ^
ghostscript-10.06.0/contrib/japanese/gdevfmpr.c:32:19: note: ‘gs_fmpr_device’ was previously declared here
#  247|   device_(gs_escpage_device)
#  248|   device_(gs_fmlbp_device)
#  249|-> device_(gs_fmpr_device)
#  250|   #endif
#  251|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:252:1: warning[-Wlto-type-mismatch]: type of ‘gs_fs600_device’ does not match original declaration
#  252 | device2_(gs_fs600_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:171:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  171 | const gx_device_hpjet gs_fs600_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:171:23: note: ‘gs_fs600_device’ was previously declared here
#  250|   #endif
#  251|   #ifdef device2_
#  252|-> device2_(gs_fs600_device)
#  253|   #endif
#  254|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:255:1: warning[-Wlto-type-mismatch]: type of ‘gs_gdi_device’ does not match original declaration
#  255 | device_(gs_gdi_device)
#      | ^
ghostscript-10.06.0/contrib/gdevgdi.c:106:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  106 | gx_device_printer far_data gs_gdi_device =
#      |                            ^
ghostscript-10.06.0/contrib/gdevgdi.c:106:28: note: ‘gs_gdi_device’ was previously declared here
#  253|   #endif
#  254|   #ifdef device_
#  255|-> device_(gs_gdi_device)
#  256|   device_(gs_hl1240_device)
#  257|   device_(gs_hl1250_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:256:1: warning[-Wlto-type-mismatch]: type of ‘gs_hl1240_device’ does not match original declaration
#  256 | device_(gs_hl1240_device)
#      | ^
ghostscript-10.06.0/contrib/gdevhl12.c:187:24: note: type ‘const struct gx_device_hl1250’ should match type ‘struct gx_device’
#  187 | const gx_device_hl1250 gs_hl1240_device =
#      |                        ^
ghostscript-10.06.0/contrib/gdevhl12.c:187:24: note: ‘gs_hl1240_device’ was previously declared here
#  254|   #ifdef device_
#  255|   device_(gs_gdi_device)
#  256|-> device_(gs_hl1240_device)
#  257|   device_(gs_hl1250_device)
#  258|   device_(gs_hl7x0_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:257:1: warning[-Wlto-type-mismatch]: type of ‘gs_hl1250_device’ does not match original declaration
#  257 | device_(gs_hl1250_device)
#      | ^
ghostscript-10.06.0/contrib/gdevhl12.c:184:24: note: type ‘const struct gx_device_hl1250’ should match type ‘struct gx_device’
#  184 | const gx_device_hl1250 gs_hl1250_device =
#      |                        ^
ghostscript-10.06.0/contrib/gdevhl12.c:184:24: note: ‘gs_hl1250_device’ was previously declared here
#  255|   device_(gs_gdi_device)
#  256|   device_(gs_hl1240_device)
#  257|-> device_(gs_hl1250_device)
#  258|   device_(gs_hl7x0_device)
#  259|   device_(gs_hpdj1120c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:258:1: warning[-Wlto-type-mismatch]: type of ‘gs_hl7x0_device’ does not match original declaration
#  258 | device_(gs_hl7x0_device)
#      | ^
ghostscript-10.06.0/devices/gdevhl7x.c:260:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  260 | const gx_device_printer far_data gs_hl7x0_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevhl7x.c:260:34: note: ‘gs_hl7x0_device’ was previously declared here
#  256|   device_(gs_hl1240_device)
#  257|   device_(gs_hl1250_device)
#  258|-> device_(gs_hl7x0_device)
#  259|   device_(gs_hpdj1120c_device)
#  260|   device_(gs_hpdj310_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:259:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj1120c_device’ does not match original declaration
#  259 | device_(gs_hpdj1120c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:189:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  189 | pcl3_device_instance(hpdj1120c, HPDJ1120C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:189:1: note: ‘gs_hpdj1120c_device’ was previously declared here
#  257|   device_(gs_hl1250_device)
#  258|   device_(gs_hl7x0_device)
#  259|-> device_(gs_hpdj1120c_device)
#  260|   device_(gs_hpdj310_device)
#  261|   device_(gs_hpdj320_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:260:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj310_device’ does not match original declaration
#  260 | device_(gs_hpdj310_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:169:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  169 | pcl3_device_instance(hpdj310,   HPDJ310);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:169:1: note: ‘gs_hpdj310_device’ was previously declared here
#  258|   device_(gs_hl7x0_device)
#  259|   device_(gs_hpdj1120c_device)
#  260|-> device_(gs_hpdj310_device)
#  261|   device_(gs_hpdj320_device)
#  262|   device_(gs_hpdj340_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:261:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj320_device’ does not match original declaration
#  261 | device_(gs_hpdj320_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:170:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  170 | pcl3_device_instance(hpdj320,   HPDJ320);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:170:1: note: ‘gs_hpdj320_device’ was previously declared here
#  259|   device_(gs_hpdj1120c_device)
#  260|   device_(gs_hpdj310_device)
#  261|-> device_(gs_hpdj320_device)
#  262|   device_(gs_hpdj340_device)
#  263|   device_(gs_hpdj400_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:262:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj340_device’ does not match original declaration
#  262 | device_(gs_hpdj340_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:171:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  171 | pcl3_device_instance(hpdj340,   HPDJ340);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:171:1: note: ‘gs_hpdj340_device’ was previously declared here
#  260|   device_(gs_hpdj310_device)
#  261|   device_(gs_hpdj320_device)
#  262|-> device_(gs_hpdj340_device)
#  263|   device_(gs_hpdj400_device)
#  264|   device_(gs_hpdj500_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:263:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj400_device’ does not match original declaration
#  263 | device_(gs_hpdj400_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:172:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  172 | pcl3_device_instance(hpdj400,   HPDJ400);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:172:1: note: ‘gs_hpdj400_device’ was previously declared here
#  261|   device_(gs_hpdj320_device)
#  262|   device_(gs_hpdj340_device)
#  263|-> device_(gs_hpdj400_device)
#  264|   device_(gs_hpdj500_device)
#  265|   device_(gs_hpdj500c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:264:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj500_device’ does not match original declaration
#  264 | device_(gs_hpdj500_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:173:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  173 | pcl3_device_instance(hpdj500,   HPDJ500);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:173:1: note: ‘gs_hpdj500_device’ was previously declared here
#  262|   device_(gs_hpdj340_device)
#  263|   device_(gs_hpdj400_device)
#  264|-> device_(gs_hpdj500_device)
#  265|   device_(gs_hpdj500c_device)
#  266|   device_(gs_hpdj510_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:265:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj500c_device’ does not match original declaration
#  265 | device_(gs_hpdj500c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:174:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  174 | pcl3_device_instance(hpdj500c,  HPDJ500C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:174:1: note: ‘gs_hpdj500c_device’ was previously declared here
#  263|   device_(gs_hpdj400_device)
#  264|   device_(gs_hpdj500_device)
#  265|-> device_(gs_hpdj500c_device)
#  266|   device_(gs_hpdj510_device)
#  267|   device_(gs_hpdj520_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:266:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj510_device’ does not match original declaration
#  266 | device_(gs_hpdj510_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:175:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  175 | pcl3_device_instance(hpdj510,   HPDJ510);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:175:1: note: ‘gs_hpdj510_device’ was previously declared here
#  264|   device_(gs_hpdj500_device)
#  265|   device_(gs_hpdj500c_device)
#  266|-> device_(gs_hpdj510_device)
#  267|   device_(gs_hpdj520_device)
#  268|   device_(gs_hpdj540_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:267:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj520_device’ does not match original declaration
#  267 | device_(gs_hpdj520_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:176:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  176 | pcl3_device_instance(hpdj520,   HPDJ520);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:176:1: note: ‘gs_hpdj520_device’ was previously declared here
#  265|   device_(gs_hpdj500c_device)
#  266|   device_(gs_hpdj510_device)
#  267|-> device_(gs_hpdj520_device)
#  268|   device_(gs_hpdj540_device)
#  269|   device_(gs_hpdj550c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:268:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj540_device’ does not match original declaration
#  268 | device_(gs_hpdj540_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:177:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  177 | pcl3_device_instance(hpdj540,   HPDJ540);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:177:1: note: ‘gs_hpdj540_device’ was previously declared here
#  266|   device_(gs_hpdj510_device)
#  267|   device_(gs_hpdj520_device)
#  268|-> device_(gs_hpdj540_device)
#  269|   device_(gs_hpdj550c_device)
#  270|   device_(gs_hpdj560c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:269:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj550c_device’ does not match original declaration
#  269 | device_(gs_hpdj550c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:178:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  178 | pcl3_device_instance(hpdj550c,  HPDJ550C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:178:1: note: ‘gs_hpdj550c_device’ was previously declared here
#  267|   device_(gs_hpdj520_device)
#  268|   device_(gs_hpdj540_device)
#  269|-> device_(gs_hpdj550c_device)
#  270|   device_(gs_hpdj560c_device)
#  271|   device_(gs_hpdj600_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:270:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj560c_device’ does not match original declaration
#  270 | device_(gs_hpdj560c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:179:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  179 | pcl3_device_instance(hpdj560c,  HPDJ560C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:179:1: note: ‘gs_hpdj560c_device’ was previously declared here
#  268|   device_(gs_hpdj540_device)
#  269|   device_(gs_hpdj550c_device)
#  270|-> device_(gs_hpdj560c_device)
#  271|   device_(gs_hpdj600_device)
#  272|   device_(gs_hpdj660c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:271:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj600_device’ does not match original declaration
#  271 | device_(gs_hpdj600_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:180:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  180 | pcl3_device_instance(hpdj600,   HPDJ600);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:180:1: note: ‘gs_hpdj600_device’ was previously declared here
#  269|   device_(gs_hpdj550c_device)
#  270|   device_(gs_hpdj560c_device)
#  271|-> device_(gs_hpdj600_device)
#  272|   device_(gs_hpdj660c_device)
#  273|   device_(gs_hpdj670c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:272:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj660c_device’ does not match original declaration
#  272 | device_(gs_hpdj660c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:181:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  181 | pcl3_device_instance(hpdj660c,  HPDJ660C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:181:1: note: ‘gs_hpdj660c_device’ was previously declared here
#  270|   device_(gs_hpdj560c_device)
#  271|   device_(gs_hpdj600_device)
#  272|-> device_(gs_hpdj660c_device)
#  273|   device_(gs_hpdj670c_device)
#  274|   device_(gs_hpdj680c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:273:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj670c_device’ does not match original declaration
#  273 | device_(gs_hpdj670c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:182:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  182 | pcl3_device_instance(hpdj670c,  HPDJ670C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:182:1: note: ‘gs_hpdj670c_device’ was previously declared here
#  271|   device_(gs_hpdj600_device)
#  272|   device_(gs_hpdj660c_device)
#  273|-> device_(gs_hpdj670c_device)
#  274|   device_(gs_hpdj680c_device)
#  275|   device_(gs_hpdj690c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:274:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj680c_device’ does not match original declaration
#  274 | device_(gs_hpdj680c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:183:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  183 | pcl3_device_instance(hpdj680c,  HPDJ680C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:183:1: note: ‘gs_hpdj680c_device’ was previously declared here
#  272|   device_(gs_hpdj660c_device)
#  273|   device_(gs_hpdj670c_device)
#  274|-> device_(gs_hpdj680c_device)
#  275|   device_(gs_hpdj690c_device)
#  276|   device_(gs_hpdj850c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:275:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj690c_device’ does not match original declaration
#  275 | device_(gs_hpdj690c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:184:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  184 | pcl3_device_instance(hpdj690c,  HPDJ690C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:184:1: note: ‘gs_hpdj690c_device’ was previously declared here
#  273|   device_(gs_hpdj670c_device)
#  274|   device_(gs_hpdj680c_device)
#  275|-> device_(gs_hpdj690c_device)
#  276|   device_(gs_hpdj850c_device)
#  277|   device_(gs_hpdj855c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:276:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj850c_device’ does not match original declaration
#  276 | device_(gs_hpdj850c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:185:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  185 | pcl3_device_instance(hpdj850c,  HPDJ850C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:185:1: note: ‘gs_hpdj850c_device’ was previously declared here
#  274|   device_(gs_hpdj680c_device)
#  275|   device_(gs_hpdj690c_device)
#  276|-> device_(gs_hpdj850c_device)
#  277|   device_(gs_hpdj855c_device)
#  278|   device_(gs_hpdj870c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:277:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj855c_device’ does not match original declaration
#  277 | device_(gs_hpdj855c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:186:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  186 | pcl3_device_instance(hpdj855c,  HPDJ855C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:186:1: note: ‘gs_hpdj855c_device’ was previously declared here
#  275|   device_(gs_hpdj690c_device)
#  276|   device_(gs_hpdj850c_device)
#  277|-> device_(gs_hpdj855c_device)
#  278|   device_(gs_hpdj870c_device)
#  279|   device_(gs_hpdj890c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:278:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj870c_device’ does not match original declaration
#  278 | device_(gs_hpdj870c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:187:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  187 | pcl3_device_instance(hpdj870c,  HPDJ870C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:187:1: note: ‘gs_hpdj870c_device’ was previously declared here
#  276|   device_(gs_hpdj850c_device)
#  277|   device_(gs_hpdj855c_device)
#  278|-> device_(gs_hpdj870c_device)
#  279|   device_(gs_hpdj890c_device)
#  280|   device_(gs_hpdjplus_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:279:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdj890c_device’ does not match original declaration
#  279 | device_(gs_hpdj890c_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:188:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  188 | pcl3_device_instance(hpdj890c,  HPDJ890C);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:188:1: note: ‘gs_hpdj890c_device’ was previously declared here
#  277|   device_(gs_hpdj855c_device)
#  278|   device_(gs_hpdj870c_device)
#  279|-> device_(gs_hpdj890c_device)
#  280|   device_(gs_hpdjplus_device)
#  281|   device_(gs_hpdjportable_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:280:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdjplus_device’ does not match original declaration
#  280 | device_(gs_hpdjplus_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:167:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  167 | pcl3_device_instance(hpdjplus,  HPDeskJetPlus);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:167:1: note: ‘gs_hpdjplus_device’ was previously declared here
#  278|   device_(gs_hpdj870c_device)
#  279|   device_(gs_hpdj890c_device)
#  280|-> device_(gs_hpdjplus_device)
#  281|   device_(gs_hpdjportable_device)
#  282|   device_(gs_ibmpro_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:281:1: warning[-Wlto-type-mismatch]: type of ‘gs_hpdjportable_device’ does not match original declaration
#  281 | device_(gs_hpdjportable_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:168:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  168 | pcl3_device_instance(hpdjportable, HPDJPortable);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:168:1: note: ‘gs_hpdjportable_device’ was previously declared here
#  279|   device_(gs_hpdj890c_device)
#  280|   device_(gs_hpdjplus_device)
#  281|-> device_(gs_hpdjportable_device)
#  282|   device_(gs_ibmpro_device)
#  283|   device_(gs_imagen_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:282:1: warning[-Wlto-type-mismatch]: type of ‘gs_ibmpro_device’ does not match original declaration
#  282 | device_(gs_ibmpro_device)
#      | ^
ghostscript-10.06.0/devices/gdevepsn.c:133:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  133 | const gx_device_printer far_data gs_ibmpro_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevepsn.c:133:34: note: ‘gs_ibmpro_device’ was previously declared here
#  280|   device_(gs_hpdjplus_device)
#  281|   device_(gs_hpdjportable_device)
#  282|-> device_(gs_ibmpro_device)
#  283|   device_(gs_imagen_device)
#  284|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:283:1: warning[-Wlto-type-mismatch]: type of ‘gs_imagen_device’ does not match original declaration
#  283 | device_(gs_imagen_device)
#      | ^
ghostscript-10.06.0/devices/gdevimgn.c:243:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  243 | const gx_device_printer far_data gs_imagen_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevimgn.c:243:34: note: ‘gs_imagen_device’ was previously declared here
#  281|   device_(gs_hpdjportable_device)
#  282|   device_(gs_ibmpro_device)
#  283|-> device_(gs_imagen_device)
#  284|   #endif
#  285|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:286:1: warning[-Wlto-type-mismatch]: type of ‘gs_itk24i_device’ does not match original declaration
#  286 | device2_(gs_itk24i_device)
#      | ^
ghostscript-10.06.0/devices/gdevatx.c:62:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   62 | const gx_device_printer gs_itk24i_device = /* real width = 832 pixels */
#      |                         ^
ghostscript-10.06.0/devices/gdevatx.c:62:25: note: ‘gs_itk24i_device’ was previously declared here
#  284|   #endif
#  285|   #ifdef device2_
#  286|-> device2_(gs_itk24i_device)
#  287|   device2_(gs_itk38_device)
#  288|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:287:1: warning[-Wlto-type-mismatch]: type of ‘gs_itk38_device’ does not match original declaration
#  287 | device2_(gs_itk38_device)
#      | ^
ghostscript-10.06.0/devices/gdevatx.c:66:25: note: type ‘const struct gx_device_printer’ should match type ‘const struct gx_device’
#   66 | const gx_device_printer gs_itk38_device = /* real width = 2400 pixels */
#      |                         ^
ghostscript-10.06.0/devices/gdevatx.c:66:25: note: ‘gs_itk38_device’ was previously declared here
#  285|   #ifdef device2_
#  286|   device2_(gs_itk24i_device)
#  287|-> device2_(gs_itk38_device)
#  288|   #endif
#  289|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:290:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwhi_device’ does not match original declaration
#  290 | device_(gs_iwhi_device)
#      | ^
ghostscript-10.06.0/contrib/gdevadmp.c:351:31: note: type ‘const struct gx_device_admp’ should match type ‘struct gx_device’
#  351 | const gx_device_admp far_data gs_iwhi_device = {
#      |                               ^
ghostscript-10.06.0/contrib/gdevadmp.c:351:31: note: ‘gs_iwhi_device’ was previously declared here
#  288|   #endif
#  289|   #ifdef device_
#  290|-> device_(gs_iwhi_device)
#  291|   device_(gs_iwhic_device)
#  292|   device_(gs_iwlo_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:291:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwhic_device’ does not match original declaration
#  291 | device_(gs_iwhic_device)
#      | ^
ghostscript-10.06.0/contrib/gdevadmp.c:362:31: note: type ‘const struct gx_device_admp’ should match type ‘struct gx_device’
#  362 | const gx_device_admp far_data gs_iwhic_device = {
#      |                               ^
ghostscript-10.06.0/contrib/gdevadmp.c:362:31: note: ‘gs_iwhic_device’ was previously declared here
#  289|   #ifdef device_
#  290|   device_(gs_iwhi_device)
#  291|-> device_(gs_iwhic_device)
#  292|   device_(gs_iwlo_device)
#  293|   device_(gs_iwlow_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:292:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwlo_device’ does not match original declaration
#  292 | device_(gs_iwlo_device)
#      | ^
ghostscript-10.06.0/contrib/gdevadmp.c:329:31: note: type ‘const struct gx_device_admp’ should match type ‘struct gx_device’
#  329 | const gx_device_admp far_data gs_iwlo_device = {
#      |                               ^
ghostscript-10.06.0/contrib/gdevadmp.c:329:31: note: ‘gs_iwlo_device’ was previously declared here
#  290|   device_(gs_iwhi_device)
#  291|   device_(gs_iwhic_device)
#  292|-> device_(gs_iwlo_device)
#  293|   device_(gs_iwlow_device)
#  294|   device_(gs_iwlq_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:293:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwlow_device’ does not match original declaration
#  293 | device_(gs_iwlow_device)
#      | ^
ghostscript-10.06.0/contrib/gdevadmp.c:340:31: note: type ‘const struct gx_device_admp’ should match type ‘struct gx_device’
#  340 | const gx_device_admp far_data gs_iwlow_device = {
#      |                               ^
ghostscript-10.06.0/contrib/gdevadmp.c:340:31: note: ‘gs_iwlow_device’ was previously declared here
#  291|   device_(gs_iwhic_device)
#  292|   device_(gs_iwlo_device)
#  293|-> device_(gs_iwlow_device)
#  294|   device_(gs_iwlq_device)
#  295|   device_(gs_iwlqc_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:294:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwlq_device’ does not match original declaration
#  294 | device_(gs_iwlq_device)
#      | ^
ghostscript-10.06.0/contrib/gdevadmp.c:373:31: note: type ‘const struct gx_device_admp’ should match type ‘struct gx_device’
#  373 | const gx_device_admp far_data gs_iwlq_device = {
#      |                               ^
ghostscript-10.06.0/contrib/gdevadmp.c:373:31: note: ‘gs_iwlq_device’ was previously declared here
#  292|   device_(gs_iwlo_device)
#  293|   device_(gs_iwlow_device)
#  294|-> device_(gs_iwlq_device)
#  295|   device_(gs_iwlqc_device)
#  296|   device_(gs_jetp3852_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:295:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwlqc_device’ does not match original declaration
#  295 | device_(gs_iwlqc_device)
#      | ^
ghostscript-10.06.0/contrib/gdevadmp.c:384:31: note: type ‘const struct gx_device_admp’ should match type ‘struct gx_device’
#  384 | const gx_device_admp far_data gs_iwlqc_device = {
#      |                               ^
ghostscript-10.06.0/contrib/gdevadmp.c:384:31: note: ‘gs_iwlqc_device’ was previously declared here
#  293|   device_(gs_iwlow_device)
#  294|   device_(gs_iwlq_device)
#  295|-> device_(gs_iwlqc_device)
#  296|   device_(gs_jetp3852_device)
#  297|   device_(gs_jj100_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:296:1: warning[-Wlto-type-mismatch]: type of ‘gs_jetp3852_device’ does not match original declaration
#  296 | device_(gs_jetp3852_device)
#      | ^
ghostscript-10.06.0/devices/gdev3852.c:57:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   57 | const gx_device_printer far_data gs_jetp3852_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdev3852.c:57:34: note: ‘gs_jetp3852_device’ was previously declared here
#  294|   device_(gs_iwlq_device)
#  295|   device_(gs_iwlqc_device)
#  296|-> device_(gs_jetp3852_device)
#  297|   device_(gs_jj100_device)
#  298|   device_(gs_la50_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:297:1: warning[-Wlto-type-mismatch]: type of ‘gs_jj100_device’ does not match original declaration
#  297 | device_(gs_jj100_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevj100.c:31:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   31 | gx_device_printer gs_jj100_device =
#      |                   ^
ghostscript-10.06.0/contrib/japanese/gdevj100.c:31:19: note: ‘gs_jj100_device’ was previously declared here
#  295|   device_(gs_iwlqc_device)
#  296|   device_(gs_jetp3852_device)
#  297|-> device_(gs_jj100_device)
#  298|   device_(gs_la50_device)
#  299|   device_(gs_la70_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:298:1: warning[-Wlto-type-mismatch]: type of ‘gs_la50_device’ does not match original declaration
#  298 | device_(gs_la50_device)
#      | ^
ghostscript-10.06.0/contrib/gdevln03.c:129:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  129 | gx_device_printer gs_la50_device =
#      |                   ^
ghostscript-10.06.0/contrib/gdevln03.c:129:19: note: ‘gs_la50_device’ was previously declared here
#  296|   device_(gs_jetp3852_device)
#  297|   device_(gs_jj100_device)
#  298|-> device_(gs_la50_device)
#  299|   device_(gs_la70_device)
#  300|   device_(gs_la75_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:299:1: warning[-Wlto-type-mismatch]: type of ‘gs_la70_device’ does not match original declaration
#  299 | device_(gs_la70_device)
#      | ^
ghostscript-10.06.0/contrib/gdevln03.c:156:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  156 | gx_device_printer gs_la70_device =
#      |                   ^
ghostscript-10.06.0/contrib/gdevln03.c:156:19: note: ‘gs_la70_device’ was previously declared here
#  297|   device_(gs_jj100_device)
#  298|   device_(gs_la50_device)
#  299|-> device_(gs_la70_device)
#  300|   device_(gs_la75_device)
#  301|   device_(gs_la75plus_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:300:1: warning[-Wlto-type-mismatch]: type of ‘gs_la75_device’ does not match original declaration
#  300 | device_(gs_la75_device)
#      | ^
ghostscript-10.06.0/contrib/gdevln03.c:182:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  182 | gx_device_printer gs_la75_device =
#      |                   ^
ghostscript-10.06.0/contrib/gdevln03.c:182:19: note: ‘gs_la75_device’ was previously declared here
#  298|   device_(gs_la50_device)
#  299|   device_(gs_la70_device)
#  300|-> device_(gs_la75_device)
#  301|   device_(gs_la75plus_device)
#  302|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:301:1: warning[-Wlto-type-mismatch]: type of ‘gs_la75plus_device’ does not match original declaration
#  301 | device_(gs_la75plus_device)
#      | ^
ghostscript-10.06.0/contrib/gdevln03.c:209:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  209 | gx_device_printer gs_la75plus_device =
#      |                   ^
ghostscript-10.06.0/contrib/gdevln03.c:209:19: note: ‘gs_la75plus_device’ was previously declared here
#  299|   device_(gs_la70_device)
#  300|   device_(gs_la75_device)
#  301|-> device_(gs_la75plus_device)
#  302|   #endif
#  303|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:304:1: warning[-Wlto-type-mismatch]: type of ‘gs_laserjet_device’ does not match original declaration
#  304 | device2_(gs_laserjet_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:178:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  178 | const gx_device_hpjet gs_laserjet_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:178:23: note: ‘gs_laserjet_device’ was previously declared here
#  302|   #endif
#  303|   #ifdef device2_
#  304|-> device2_(gs_laserjet_device)
#  305|   #endif
#  306|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:307:1: warning[-Wlto-type-mismatch]: type of ‘gs_lbp310_device’ does not match original declaration
#  307 | device_(gs_lbp310_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevlbp3.c:17:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   17 | gx_device_printer far_data gs_lbp310_device =
#      |                            ^
ghostscript-10.06.0/contrib/japanese/gdevlbp3.c:17:28: note: ‘gs_lbp310_device’ was previously declared here
#  305|   #endif
#  306|   #ifdef device_
#  307|-> device_(gs_lbp310_device)
#  308|   device_(gs_lbp320_device)
#  309|   device_(gs_lbp8_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:308:1: warning[-Wlto-type-mismatch]: type of ‘gs_lbp320_device’ does not match original declaration
#  308 | device_(gs_lbp320_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevlbp3.c:29:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   29 | gx_device_printer far_data gs_lbp320_device =
#      |                            ^
ghostscript-10.06.0/contrib/japanese/gdevlbp3.c:29:28: note: ‘gs_lbp320_device’ was previously declared here
#  306|   #ifdef device_
#  307|   device_(gs_lbp310_device)
#  308|-> device_(gs_lbp320_device)
#  309|   device_(gs_lbp8_device)
#  310|   device_(gs_lex2050_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:309:1: warning[-Wlto-type-mismatch]: type of ‘gs_lbp8_device’ does not match original declaration
#  309 | device_(gs_lbp8_device)
#      | ^
ghostscript-10.06.0/devices/gdevlbp8.c:50:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   50 | const gx_device_printer far_data gs_lbp8_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevlbp8.c:50:34: note: ‘gs_lbp8_device’ was previously declared here
#  307|   device_(gs_lbp310_device)
#  308|   device_(gs_lbp320_device)
#  309|-> device_(gs_lbp8_device)
#  310|   device_(gs_lex2050_device)
#  311|   device_(gs_lex3200_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:310:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex2050_device’ does not match original declaration
#  310 | device_(gs_lex2050_device)
#      | ^
ghostscript-10.06.0/contrib/gdevlx7.c:216:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#  216 | lxm_device far_data gs_lex2050_device = {
#      |                     ^
ghostscript-10.06.0/contrib/gdevlx7.c:216:21: note: ‘gs_lex2050_device’ was previously declared here
#  308|   device_(gs_lbp320_device)
#  309|   device_(gs_lbp8_device)
#  310|-> device_(gs_lex2050_device)
#  311|   device_(gs_lex3200_device)
#  312|   device_(gs_lex5700_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:311:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex3200_device’ does not match original declaration
#  311 | device_(gs_lex3200_device)
#      | ^
ghostscript-10.06.0/contrib/gdevlx7.c:193:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#  193 | lxm_device far_data gs_lex3200_device = {
#      |                     ^
ghostscript-10.06.0/contrib/gdevlx7.c:193:21: note: ‘gs_lex3200_device’ was previously declared here
#  309|   device_(gs_lbp8_device)
#  310|   device_(gs_lex2050_device)
#  311|-> device_(gs_lex3200_device)
#  312|   device_(gs_lex5700_device)
#  313|   device_(gs_lex7000_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:312:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex5700_device’ does not match original declaration
#  312 | device_(gs_lex5700_device)
#      | ^
ghostscript-10.06.0/contrib/gdevlx7.c:170:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#  170 | lxm_device far_data gs_lex5700_device = {
#      |                     ^
ghostscript-10.06.0/contrib/gdevlx7.c:170:21: note: ‘gs_lex5700_device’ was previously declared here
#  310|   device_(gs_lex2050_device)
#  311|   device_(gs_lex3200_device)
#  312|-> device_(gs_lex5700_device)
#  313|   device_(gs_lex7000_device)
#  314|   device_(gs_lips2p_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:313:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex7000_device’ does not match original declaration
#  313 | device_(gs_lex7000_device)
#      | ^
ghostscript-10.06.0/contrib/gdevlx7.c:147:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#  147 | lxm_device far_data gs_lex7000_device = {
#      |                     ^
ghostscript-10.06.0/contrib/gdevlx7.c:147:21: note: ‘gs_lex7000_device’ was previously declared here
#  311|   device_(gs_lex3200_device)
#  312|   device_(gs_lex5700_device)
#  313|-> device_(gs_lex7000_device)
#  314|   device_(gs_lips2p_device)
#  315|   device_(gs_lips3_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:314:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips2p_device’ does not match original declaration
#  314 | device_(gs_lips2p_device)
#      | ^
ghostscript-10.06.0/contrib/lips4/gdevl4r.c:146:25: note: type ‘struct gx_device_lips’ should match type ‘struct gx_device’
#  146 | gx_device_lips far_data gs_lips2p_device =
#      |                         ^
ghostscript-10.06.0/contrib/lips4/gdevl4r.c:146:25: note: ‘gs_lips2p_device’ was previously declared here
#  312|   device_(gs_lex5700_device)
#  313|   device_(gs_lex7000_device)
#  314|-> device_(gs_lips2p_device)
#  315|   device_(gs_lips3_device)
#  316|   device_(gs_lips4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:315:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips3_device’ does not match original declaration
#  315 | device_(gs_lips3_device)
#      | ^
ghostscript-10.06.0/contrib/lips4/gdevl4r.c:158:25: note: type ‘struct gx_device_lips’ should match type ‘struct gx_device’
#  158 | gx_device_lips far_data gs_lips3_device =
#      |                         ^
ghostscript-10.06.0/contrib/lips4/gdevl4r.c:158:25: note: ‘gs_lips3_device’ was previously declared here
#  313|   device_(gs_lex7000_device)
#  314|   device_(gs_lips2p_device)
#  315|-> device_(gs_lips3_device)
#  316|   device_(gs_lips4_device)
#  317|   device_(gs_lips4v_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:316:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips4_device’ does not match original declaration
#  316 | device_(gs_lips4_device)
#      | ^
ghostscript-10.06.0/contrib/lips4/gdevl4r.c:182:26: note: type ‘struct gx_device_lips4’ should match type ‘struct gx_device’
#  182 | gx_device_lips4 far_data gs_lips4_device =
#      |                          ^
ghostscript-10.06.0/contrib/lips4/gdevl4r.c:182:26: note: ‘gs_lips4_device’ was previously declared here
#  314|   device_(gs_lips2p_device)
#  315|   device_(gs_lips3_device)
#  316|-> device_(gs_lips4_device)
#  317|   device_(gs_lips4v_device)
#  318|   device_(gs_lj250_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:317:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips4v_device’ does not match original declaration
#  317 | device_(gs_lips4v_device)
#      | ^
ghostscript-10.06.0/contrib/lips4/gdevl4v.c:185:27: note: type ‘struct gx_device_lips4v’ should match type ‘struct gx_device’
#  185 | gx_device_lips4v far_data gs_lips4v_device = {
#      |                           ^
ghostscript-10.06.0/contrib/lips4/gdevl4v.c:185:27: note: ‘gs_lips4v_device’ was previously declared here
#  315|   device_(gs_lips3_device)
#  316|   device_(gs_lips4_device)
#  317|-> device_(gs_lips4v_device)
#  318|   device_(gs_lj250_device)
#  319|   device_(gs_lj3100sw_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:318:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj250_device’ does not match original declaration
#  318 | device_(gs_lj250_device)
#      | ^
ghostscript-10.06.0/devices/gdevpjet.c:48:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   48 | const gx_device_printer far_data gs_lj250_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevpjet.c:48:34: note: ‘gs_lj250_device’ was previously declared here
#  316|   device_(gs_lips4_device)
#  317|   device_(gs_lips4v_device)
#  318|-> device_(gs_lj250_device)
#  319|   device_(gs_lj3100sw_device)
#  320|   device_(gs_lj4dith_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:319:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj3100sw_device’ does not match original declaration
#  319 | device_(gs_lj3100sw_device)
#      | ^
ghostscript-10.06.0/devices/gdevl31s.c:92:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   92 | gx_device_printer far_data gs_lj3100sw_device =
#      |                            ^
ghostscript-10.06.0/devices/gdevl31s.c:92:28: note: ‘gs_lj3100sw_device’ was previously declared here
#  317|   device_(gs_lips4v_device)
#  318|   device_(gs_lj250_device)
#  319|-> device_(gs_lj3100sw_device)
#  320|   device_(gs_lj4dith_device)
#  321|   device_(gs_lj4dithp_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:320:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj4dith_device’ does not match original declaration
#  320 | device_(gs_lj4dith_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:629:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  629 | gx_device_cdj far_data gs_lj4dith_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:629:24: note: ‘gs_lj4dith_device’ was previously declared here
#  318|   device_(gs_lj250_device)
#  319|   device_(gs_lj3100sw_device)
#  320|-> device_(gs_lj4dith_device)
#  321|   device_(gs_lj4dithp_device)
#  322|   device_(gs_lj5gray_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:321:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj4dithp_device’ does not match original declaration
#  321 | device_(gs_lj4dithp_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:633:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  633 | gx_device_cdj far_data gs_lj4dithp_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:633:24: note: ‘gs_lj4dithp_device’ was previously declared here
#  319|   device_(gs_lj3100sw_device)
#  320|   device_(gs_lj4dith_device)
#  321|-> device_(gs_lj4dithp_device)
#  322|   device_(gs_lj5gray_device)
#  323|   device_(gs_lj5mono_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:322:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj5gray_device’ does not match original declaration
#  322 | device_(gs_lj5gray_device)
#      | ^
ghostscript-10.06.0/devices/gdevlj56.c:73:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   73 | const gx_device_printer gs_lj5gray_device = {
#      |                         ^
ghostscript-10.06.0/devices/gdevlj56.c:73:25: note: ‘gs_lj5gray_device’ was previously declared here
#  320|   device_(gs_lj4dith_device)
#  321|   device_(gs_lj4dithp_device)
#  322|-> device_(gs_lj5gray_device)
#  323|   device_(gs_lj5mono_device)
#  324|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:323:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj5mono_device’ does not match original declaration
#  323 | device_(gs_lj5mono_device)
#      | ^
ghostscript-10.06.0/devices/gdevlj56.c:54:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   54 | const gx_device_printer gs_lj5mono_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevlj56.c:54:25: note: ‘gs_lj5mono_device’ was previously declared here
#  321|   device_(gs_lj4dithp_device)
#  322|   device_(gs_lj5gray_device)
#  323|-> device_(gs_lj5mono_device)
#  324|   #endif
#  325|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:326:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet2p_device’ does not match original declaration
#  326 | device2_(gs_ljet2p_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:192:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  192 | const gx_device_hpjet gs_ljet2p_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:192:23: note: ‘gs_ljet2p_device’ was previously declared here
#  324|   #endif
#  325|   #ifdef device2_
#  326|-> device2_(gs_ljet2p_device)
#  327|   device2_(gs_ljet3_device)
#  328|   device2_(gs_ljet3d_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:327:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet3_device’ does not match original declaration
#  327 | device2_(gs_ljet3_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:199:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  199 | const gx_device_hpjet gs_ljet3_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:199:23: note: ‘gs_ljet3_device’ was previously declared here
#  325|   #ifdef device2_
#  326|   device2_(gs_ljet2p_device)
#  327|-> device2_(gs_ljet3_device)
#  328|   device2_(gs_ljet3d_device)
#  329|   device2_(gs_ljet4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:328:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet3d_device’ does not match original declaration
#  328 | device2_(gs_ljet3d_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:206:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  206 | const gx_device_hpjet gs_ljet3d_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:206:23: note: ‘gs_ljet3d_device’ was previously declared here
#  326|   device2_(gs_ljet2p_device)
#  327|   device2_(gs_ljet3_device)
#  328|-> device2_(gs_ljet3d_device)
#  329|   device2_(gs_ljet4_device)
#  330|   device2_(gs_ljet4d_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:329:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet4_device’ does not match original declaration
#  329 | device2_(gs_ljet4_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:213:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  213 | const gx_device_hpjet gs_ljet4_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:213:23: note: ‘gs_ljet4_device’ was previously declared here
#  327|   device2_(gs_ljet3_device)
#  328|   device2_(gs_ljet3d_device)
#  329|-> device2_(gs_ljet4_device)
#  330|   device2_(gs_ljet4d_device)
#  331|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:330:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet4d_device’ does not match original declaration
#  330 | device2_(gs_ljet4d_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:220:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  220 | const gx_device_hpjet gs_ljet4d_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:220:23: note: ‘gs_ljet4d_device’ was previously declared here
#  328|   device2_(gs_ljet3d_device)
#  329|   device2_(gs_ljet4_device)
#  330|-> device2_(gs_ljet4d_device)
#  331|   #endif
#  332|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:333:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet4pjl_device’ does not match original declaration
#  333 | device_(gs_ljet4pjl_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:241:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  241 | const gx_device_printer gs_ljet4pjl_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevdjet.c:241:25: note: ‘gs_ljet4pjl_device’ was previously declared here
#  331|   #endif
#  332|   #ifdef device_
#  333|-> device_(gs_ljet4pjl_device)
#  334|   #endif
#  335|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:336:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljetplus_device’ does not match original declaration
#  336 | device2_(gs_ljetplus_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:185:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  185 | const gx_device_hpjet gs_ljetplus_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:185:23: note: ‘gs_ljetplus_device’ was previously declared here
#  334|   #endif
#  335|   #ifdef device2_
#  336|-> device2_(gs_ljetplus_device)
#  337|   #endif
#  338|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:339:1: warning[-Wlto-type-mismatch]: type of ‘gs_ln03_device’ does not match original declaration
#  339 | device_(gs_ln03_device)
#      | ^
ghostscript-10.06.0/contrib/gdevln03.c:67:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   67 | gx_device_printer gs_ln03_device =
#      |                   ^
ghostscript-10.06.0/contrib/gdevln03.c:67:19: note: ‘gs_ln03_device’ was previously declared here
#  337|   #endif
#  338|   #ifdef device_
#  339|-> device_(gs_ln03_device)
#  340|   device_(gs_lp1800_device)
#  341|   device_(gs_lp1900_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:340:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp1800_device’ does not match original declaration
#  340 | device_(gs_lp1800_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:254:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  254 | gx_device_escv far_data gs_lp1800_device  = esmv_device_body("lp1800");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:254:25: note: ‘gs_lp1800_device’ was previously declared here
#  338|   #ifdef device_
#  339|   device_(gs_ln03_device)
#  340|-> device_(gs_lp1800_device)
#  341|   device_(gs_lp1900_device)
#  342|   device_(gs_lp2000_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:341:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp1900_device’ does not match original declaration
#  341 | device_(gs_lp1900_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:255:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  255 | gx_device_escv far_data gs_lp1900_device  = esmv_device_body("lp1900");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:255:25: note: ‘gs_lp1900_device’ was previously declared here
#  339|   device_(gs_ln03_device)
#  340|   device_(gs_lp1800_device)
#  341|-> device_(gs_lp1900_device)
#  342|   device_(gs_lp2000_device)
#  343|   device_(gs_lp2200_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:342:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2000_device’ does not match original declaration
#  342 | device_(gs_lp2000_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevespg.c:66:25: note: type ‘struct gx_device_lprn’ should match type ‘struct gx_device’
#   66 | gx_device_lprn far_data gs_lp2000_device =
#      |                         ^
ghostscript-10.06.0/contrib/japanese/gdevespg.c:66:25: note: ‘gs_lp2000_device’ was previously declared here
#  340|   device_(gs_lp1800_device)
#  341|   device_(gs_lp1900_device)
#  342|-> device_(gs_lp2000_device)
#  343|   device_(gs_lp2200_device)
#  344|   device_(gs_lp2400_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:343:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2200_device’ does not match original declaration
#  343 | device_(gs_lp2200_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:256:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  256 | gx_device_escv far_data gs_lp2200_device  = esmv_device_body("lp2200");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:256:25: note: ‘gs_lp2200_device’ was previously declared here
#  341|   device_(gs_lp1900_device)
#  342|   device_(gs_lp2000_device)
#  343|-> device_(gs_lp2200_device)
#  344|   device_(gs_lp2400_device)
#  345|   device_(gs_lp2500_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:344:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2400_device’ does not match original declaration
#  344 | device_(gs_lp2400_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:257:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  257 | gx_device_escv far_data gs_lp2400_device  = esmv_device_body("lp2400");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:257:25: note: ‘gs_lp2400_device’ was previously declared here
#  342|   device_(gs_lp2000_device)
#  343|   device_(gs_lp2200_device)
#  344|-> device_(gs_lp2400_device)
#  345|   device_(gs_lp2500_device)
#  346|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:345:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2500_device’ does not match original declaration
#  345 | device_(gs_lp2500_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:258:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  258 | gx_device_escv far_data gs_lp2500_device  = esmv_device_body("lp2500");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:258:25: note: ‘gs_lp2500_device’ was previously declared here
#  343|   device_(gs_lp2200_device)
#  344|   device_(gs_lp2400_device)
#  345|-> device_(gs_lp2500_device)
#  346|   #endif
#  347|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:348:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2563_device’ does not match original declaration
#  348 | device2_(gs_lp2563_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:227:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  227 | const gx_device_hpjet gs_lp2563_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:227:23: note: ‘gs_lp2563_device’ was previously declared here
#  346|   #endif
#  347|   #ifdef device2_
#  348|-> device2_(gs_lp2563_device)
#  349|   #endif
#  350|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:351:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp3000c_device’ does not match original declaration
#  351 | device_(gs_lp3000c_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:287:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  287 | gx_device_escv far_data gs_lp3000c_device = escv_device_body("lp3000c");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:287:25: note: ‘gs_lp3000c_device’ was previously declared here
#  349|   #endif
#  350|   #ifdef device_
#  351|-> device_(gs_lp3000c_device)
#  352|   device_(gs_lp7500_device)
#  353|   device_(gs_lp7700_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:352:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp7500_device’ does not match original declaration
#  352 | device_(gs_lp7500_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:259:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  259 | gx_device_escv far_data gs_lp7500_device  = esmv_device_body("lp7500");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:259:25: note: ‘gs_lp7500_device’ was previously declared here
#  350|   #ifdef device_
#  351|   device_(gs_lp3000c_device)
#  352|-> device_(gs_lp7500_device)
#  353|   device_(gs_lp7700_device)
#  354|   device_(gs_lp7900_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:353:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp7700_device’ does not match original declaration
#  353 | device_(gs_lp7700_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:260:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  260 | gx_device_escv far_data gs_lp7700_device  = esmv_device_body("lp7700");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:260:25: note: ‘gs_lp7700_device’ was previously declared here
#  351|   device_(gs_lp3000c_device)
#  352|   device_(gs_lp7500_device)
#  353|-> device_(gs_lp7700_device)
#  354|   device_(gs_lp7900_device)
#  355|   device_(gs_lp8000_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:354:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp7900_device’ does not match original declaration
#  354 | device_(gs_lp7900_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:261:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  261 | gx_device_escv far_data gs_lp7900_device  = esmv_device_body("lp7900");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:261:25: note: ‘gs_lp7900_device’ was previously declared here
#  352|   device_(gs_lp7500_device)
#  353|   device_(gs_lp7700_device)
#  354|-> device_(gs_lp7900_device)
#  355|   device_(gs_lp8000_device)
#  356|   device_(gs_lp8000c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:355:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8000_device’ does not match original declaration
#  355 | device_(gs_lp8000_device)
#      | ^
ghostscript-10.06.0/devices/gdevlp8k.c:172:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  172 | gx_device_printer far_data gs_lp8000_device =
#      |                            ^
ghostscript-10.06.0/devices/gdevlp8k.c:172:28: note: ‘gs_lp8000_device’ was previously declared here
#  353|   device_(gs_lp7700_device)
#  354|   device_(gs_lp7900_device)
#  355|-> device_(gs_lp8000_device)
#  356|   device_(gs_lp8000c_device)
#  357|   device_(gs_lp8100_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:356:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8000c_device’ does not match original declaration
#  356 | device_(gs_lp8000c_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:288:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  288 | gx_device_escv far_data gs_lp8000c_device = escv_device_body("lp8000c");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:288:25: note: ‘gs_lp8000c_device’ was previously declared here
#  354|   device_(gs_lp7900_device)
#  355|   device_(gs_lp8000_device)
#  356|-> device_(gs_lp8000c_device)
#  357|   device_(gs_lp8100_device)
#  358|   device_(gs_lp8200c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:357:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8100_device’ does not match original declaration
#  357 | device_(gs_lp8100_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:262:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  262 | gx_device_escv far_data gs_lp8100_device  = esmv_device_body("lp8100");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:262:25: note: ‘gs_lp8100_device’ was previously declared here
#  355|   device_(gs_lp8000_device)
#  356|   device_(gs_lp8000c_device)
#  357|-> device_(gs_lp8100_device)
#  358|   device_(gs_lp8200c_device)
#  359|   device_(gs_lp8300c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:358:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8200c_device’ does not match original declaration
#  358 | device_(gs_lp8200c_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:289:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  289 | gx_device_escv far_data gs_lp8200c_device = escv_device_body("lp8200c");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:289:25: note: ‘gs_lp8200c_device’ was previously declared here
#  356|   device_(gs_lp8000c_device)
#  357|   device_(gs_lp8100_device)
#  358|-> device_(gs_lp8200c_device)
#  359|   device_(gs_lp8300c_device)
#  360|   device_(gs_lp8300f_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:359:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8300c_device’ does not match original declaration
#  359 | device_(gs_lp8300c_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:290:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  290 | gx_device_escv far_data gs_lp8300c_device = escv_device_body("lp8300c");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:290:25: note: ‘gs_lp8300c_device’ was previously declared here
#  357|   device_(gs_lp8100_device)
#  358|   device_(gs_lp8200c_device)
#  359|-> device_(gs_lp8300c_device)
#  360|   device_(gs_lp8300f_device)
#  361|   device_(gs_lp8400f_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:360:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8300f_device’ does not match original declaration
#  360 | device_(gs_lp8300f_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:263:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  263 | gx_device_escv far_data gs_lp8300f_device = esmv_device_body("lp8300f");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:263:25: note: ‘gs_lp8300f_device’ was previously declared here
#  358|   device_(gs_lp8200c_device)
#  359|   device_(gs_lp8300c_device)
#  360|-> device_(gs_lp8300f_device)
#  361|   device_(gs_lp8400f_device)
#  362|   device_(gs_lp8500c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:361:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8400f_device’ does not match original declaration
#  361 | device_(gs_lp8400f_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:264:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  264 | gx_device_escv far_data gs_lp8400f_device = esmv_device_body("lp8400f");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:264:25: note: ‘gs_lp8400f_device’ was previously declared here
#  359|   device_(gs_lp8300c_device)
#  360|   device_(gs_lp8300f_device)
#  361|-> device_(gs_lp8400f_device)
#  362|   device_(gs_lp8500c_device)
#  363|   device_(gs_lp8600_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:362:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8500c_device’ does not match original declaration
#  362 | device_(gs_lp8500c_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:291:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  291 | gx_device_escv far_data gs_lp8500c_device = escv_device_body("lp8500c");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:291:25: note: ‘gs_lp8500c_device’ was previously declared here
#  360|   device_(gs_lp8300f_device)
#  361|   device_(gs_lp8400f_device)
#  362|-> device_(gs_lp8500c_device)
#  363|   device_(gs_lp8600_device)
#  364|   device_(gs_lp8600f_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:363:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8600_device’ does not match original declaration
#  363 | device_(gs_lp8600_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:265:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  265 | gx_device_escv far_data gs_lp8600_device  = esmv_device_body("lp8600");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:265:25: note: ‘gs_lp8600_device’ was previously declared here
#  361|   device_(gs_lp8400f_device)
#  362|   device_(gs_lp8500c_device)
#  363|-> device_(gs_lp8600_device)
#  364|   device_(gs_lp8600f_device)
#  365|   device_(gs_lp8700_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:364:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8600f_device’ does not match original declaration
#  364 | device_(gs_lp8600f_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:266:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  266 | gx_device_escv far_data gs_lp8600f_device = esmv_device_body("lp8600f");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:266:25: note: ‘gs_lp8600f_device’ was previously declared here
#  362|   device_(gs_lp8500c_device)
#  363|   device_(gs_lp8600_device)
#  364|-> device_(gs_lp8600f_device)
#  365|   device_(gs_lp8700_device)
#  366|   device_(gs_lp8800c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:365:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8700_device’ does not match original declaration
#  365 | device_(gs_lp8700_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:267:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  267 | gx_device_escv far_data gs_lp8700_device  = esmv_device_body("lp8700");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:267:25: note: ‘gs_lp8700_device’ was previously declared here
#  363|   device_(gs_lp8600_device)
#  364|   device_(gs_lp8600f_device)
#  365|-> device_(gs_lp8700_device)
#  366|   device_(gs_lp8800c_device)
#  367|   device_(gs_lp8900_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:366:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8800c_device’ does not match original declaration
#  366 | device_(gs_lp8800c_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:292:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  292 | gx_device_escv far_data gs_lp8800c_device = escv_device_body("lp8800c");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:292:25: note: ‘gs_lp8800c_device’ was previously declared here
#  364|   device_(gs_lp8600f_device)
#  365|   device_(gs_lp8700_device)
#  366|-> device_(gs_lp8800c_device)
#  367|   device_(gs_lp8900_device)
#  368|   device_(gs_lp9000b_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:367:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8900_device’ does not match original declaration
#  367 | device_(gs_lp8900_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:268:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  268 | gx_device_escv far_data gs_lp8900_device  = esmv_device_body("lp8900");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:268:25: note: ‘gs_lp8900_device’ was previously declared here
#  365|   device_(gs_lp8700_device)
#  366|   device_(gs_lp8800c_device)
#  367|-> device_(gs_lp8900_device)
#  368|   device_(gs_lp9000b_device)
#  369|   device_(gs_lp9000c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:368:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9000b_device’ does not match original declaration
#  368 | device_(gs_lp9000b_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:269:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  269 | gx_device_escv far_data gs_lp9000b_device = esmv_device_body("lp9000b");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:269:25: note: ‘gs_lp9000b_device’ was previously declared here
#  366|   device_(gs_lp8800c_device)
#  367|   device_(gs_lp8900_device)
#  368|-> device_(gs_lp9000b_device)
#  369|   device_(gs_lp9000c_device)
#  370|   device_(gs_lp9100_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:369:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9000c_device’ does not match original declaration
#  369 | device_(gs_lp9000c_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:293:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  293 | gx_device_escv far_data gs_lp9000c_device = escv_device_body("lp9000c");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:293:25: note: ‘gs_lp9000c_device’ was previously declared here
#  367|   device_(gs_lp8900_device)
#  368|   device_(gs_lp9000b_device)
#  369|-> device_(gs_lp9000c_device)
#  370|   device_(gs_lp9100_device)
#  371|   device_(gs_lp9200b_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:370:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9100_device’ does not match original declaration
#  370 | device_(gs_lp9100_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:270:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  270 | gx_device_escv far_data gs_lp9100_device  = esmv_device_body("lp9100");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:270:25: note: ‘gs_lp9100_device’ was previously declared here
#  368|   device_(gs_lp9000b_device)
#  369|   device_(gs_lp9000c_device)
#  370|-> device_(gs_lp9100_device)
#  371|   device_(gs_lp9200b_device)
#  372|   device_(gs_lp9200c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:371:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9200b_device’ does not match original declaration
#  371 | device_(gs_lp9200b_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:271:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  271 | gx_device_escv far_data gs_lp9200b_device = esmv_device_body("lp9200b");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:271:25: note: ‘gs_lp9200b_device’ was previously declared here
#  369|   device_(gs_lp9000c_device)
#  370|   device_(gs_lp9100_device)
#  371|-> device_(gs_lp9200b_device)
#  372|   device_(gs_lp9200c_device)
#  373|   device_(gs_lp9300_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:372:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9200c_device’ does not match original declaration
#  372 | device_(gs_lp9200c_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:294:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  294 | gx_device_escv far_data gs_lp9200c_device = escv_device_body("lp9200c");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:294:25: note: ‘gs_lp9200c_device’ was previously declared here
#  370|   device_(gs_lp9100_device)
#  371|   device_(gs_lp9200b_device)
#  372|-> device_(gs_lp9200c_device)
#  373|   device_(gs_lp9300_device)
#  374|   device_(gs_lp9400_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:373:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9300_device’ does not match original declaration
#  373 | device_(gs_lp9300_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:272:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  272 | gx_device_escv far_data gs_lp9300_device  = esmv_device_body("lp9300");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:272:25: note: ‘gs_lp9300_device’ was previously declared here
#  371|   device_(gs_lp9200b_device)
#  372|   device_(gs_lp9200c_device)
#  373|-> device_(gs_lp9300_device)
#  374|   device_(gs_lp9400_device)
#  375|   device_(gs_lp9500c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:374:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9400_device’ does not match original declaration
#  374 | device_(gs_lp9400_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:273:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  273 | gx_device_escv far_data gs_lp9400_device  = esmv_device_body("lp9400");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:273:25: note: ‘gs_lp9400_device’ was previously declared here
#  372|   device_(gs_lp9200c_device)
#  373|   device_(gs_lp9300_device)
#  374|-> device_(gs_lp9400_device)
#  375|   device_(gs_lp9500c_device)
#  376|   device_(gs_lp9600_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:375:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9500c_device’ does not match original declaration
#  375 | device_(gs_lp9500c_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:295:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  295 | gx_device_escv far_data gs_lp9500c_device = escv_device_body("lp9500c");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:295:25: note: ‘gs_lp9500c_device’ was previously declared here
#  373|   device_(gs_lp9300_device)
#  374|   device_(gs_lp9400_device)
#  375|-> device_(gs_lp9500c_device)
#  376|   device_(gs_lp9600_device)
#  377|   device_(gs_lp9600s_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:376:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9600_device’ does not match original declaration
#  376 | device_(gs_lp9600_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:274:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  274 | gx_device_escv far_data gs_lp9600_device  = esmv_device_body("lp9600");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:274:25: note: ‘gs_lp9600_device’ was previously declared here
#  374|   device_(gs_lp9400_device)
#  375|   device_(gs_lp9500c_device)
#  376|-> device_(gs_lp9600_device)
#  377|   device_(gs_lp9600s_device)
#  378|   device_(gs_lp9800c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:377:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9600s_device’ does not match original declaration
#  377 | device_(gs_lp9600s_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:275:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  275 | gx_device_escv far_data gs_lp9600s_device = esmv_device_body("lp9600s");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:275:25: note: ‘gs_lp9600s_device’ was previously declared here
#  375|   device_(gs_lp9500c_device)
#  376|   device_(gs_lp9600_device)
#  377|-> device_(gs_lp9600s_device)
#  378|   device_(gs_lp9800c_device)
#  379|   device_(gs_lps4500_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:378:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9800c_device’ does not match original declaration
#  378 | device_(gs_lp9800c_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:296:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  296 | gx_device_escv far_data gs_lp9800c_device = escv_device_body("lp9800c");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:296:25: note: ‘gs_lp9800c_device’ was previously declared here
#  376|   device_(gs_lp9600_device)
#  377|   device_(gs_lp9600s_device)
#  378|-> device_(gs_lp9800c_device)
#  379|   device_(gs_lps4500_device)
#  380|   device_(gs_lps6500_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:379:1: warning[-Wlto-type-mismatch]: type of ‘gs_lps4500_device’ does not match original declaration
#  379 | device_(gs_lps4500_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:276:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  276 | gx_device_escv far_data gs_lps4500_device = esmv_device_body("lps4500");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:276:25: note: ‘gs_lps4500_device’ was previously declared here
#  377|   device_(gs_lp9600s_device)
#  378|   device_(gs_lp9800c_device)
#  379|-> device_(gs_lps4500_device)
#  380|   device_(gs_lps6500_device)
#  381|   device_(gs_lq850_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:380:1: warning[-Wlto-type-mismatch]: type of ‘gs_lps6500_device’ does not match original declaration
#  380 | device_(gs_lps6500_device)
#      | ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:297:25: note: type ‘struct gx_device_escv’ should match type ‘struct gx_device’
#  297 | gx_device_escv far_data gs_lps6500_device = escv_device_body("lps6500");
#      |                         ^
ghostscript-10.06.0/contrib/eplaser/gdevescv.c:297:25: note: ‘gs_lps6500_device’ was previously declared here
#  378|   device_(gs_lp9800c_device)
#  379|   device_(gs_lps4500_device)
#  380|-> device_(gs_lps6500_device)
#  381|   device_(gs_lq850_device)
#  382|   device_(gs_lxm3200_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:381:1: warning[-Wlto-type-mismatch]: type of ‘gs_lq850_device’ does not match original declaration
#  381 | device_(gs_lq850_device)
#      | ^
ghostscript-10.06.0/devices/gdevdm24.c:38:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   38 | const gx_device_printer gs_lq850_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevdm24.c:38:25: note: ‘gs_lq850_device’ was previously declared here
#  379|   device_(gs_lps4500_device)
#  380|   device_(gs_lps6500_device)
#  381|-> device_(gs_lq850_device)
#  382|   device_(gs_lxm3200_device)
#  383|   device_(gs_lxm5700m_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:382:1: warning[-Wlto-type-mismatch]: type of ‘gs_lxm3200_device’ does not match original declaration
#  382 | device_(gs_lxm3200_device)
#      | ^
ghostscript-10.06.0/contrib/gdevlx32.c:318:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#  318 | lxm_device far_data gs_lxm3200_device =
#      |                     ^
ghostscript-10.06.0/contrib/gdevlx32.c:318:21: note: ‘gs_lxm3200_device’ was previously declared here
#  380|   device_(gs_lps6500_device)
#  381|   device_(gs_lq850_device)
#  382|-> device_(gs_lxm3200_device)
#  383|   device_(gs_lxm5700m_device)
#  384|   device_(gs_m8510_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:383:1: warning[-Wlto-type-mismatch]: type of ‘gs_lxm5700m_device’ does not match original declaration
#  383 | device_(gs_lxm5700m_device)
#      | ^
ghostscript-10.06.0/devices/gdevlxm.c:62:21: note: type ‘struct lxm_device’ should match type ‘struct gx_device’
#   62 | lxm_device far_data gs_lxm5700m_device = {
#      |                     ^
ghostscript-10.06.0/devices/gdevlxm.c:62:21: note: ‘gs_lxm5700m_device’ was previously declared here
#  381|   device_(gs_lq850_device)
#  382|   device_(gs_lxm3200_device)
#  383|-> device_(gs_lxm5700m_device)
#  384|   device_(gs_m8510_device)
#  385|   device_(gs_md1xMono_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:384:1: warning[-Wlto-type-mismatch]: type of ‘gs_m8510_device’ does not match original declaration
#  384 | device_(gs_m8510_device)
#      | ^
ghostscript-10.06.0/devices/gdev8510.c:26:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   26 | const gx_device_printer far_data gs_m8510_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdev8510.c:26:34: note: ‘gs_m8510_device’ was previously declared here
#  382|   device_(gs_lxm3200_device)
#  383|   device_(gs_lxm5700m_device)
#  384|-> device_(gs_m8510_device)
#  385|   device_(gs_md1xMono_device)
#  386|   device_(gs_md2k_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:385:1: warning[-Wlto-type-mismatch]: type of ‘gs_md1xMono_device’ does not match original declaration
#  385 | device_(gs_md1xMono_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevalps.c:86:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   86 | gx_device_printer far_data gs_md1xMono_device =
#      |                            ^
ghostscript-10.06.0/contrib/japanese/gdevalps.c:86:28: note: ‘gs_md1xMono_device’ was previously declared here
#  383|   device_(gs_lxm5700m_device)
#  384|   device_(gs_m8510_device)
#  385|-> device_(gs_md1xMono_device)
#  386|   device_(gs_md2k_device)
#  387|   device_(gs_md50Eco_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:386:1: warning[-Wlto-type-mismatch]: type of ‘gs_md2k_device’ does not match original declaration
#  386 | device_(gs_md2k_device)
#      | ^
ghostscript-10.06.0/contrib/gdevmd2k.c:95:25: note: type ‘struct gx_device_alps’ should match type ‘struct gx_device’
#   95 | gx_device_alps far_data gs_md2k_device = alps_device("md2k", md2k_print_page);
#      |                         ^
ghostscript-10.06.0/contrib/gdevmd2k.c:95:25: note: ‘gs_md2k_device’ was previously declared here
#  384|   device_(gs_m8510_device)
#  385|   device_(gs_md1xMono_device)
#  386|-> device_(gs_md2k_device)
#  387|   device_(gs_md50Eco_device)
#  388|   device_(gs_md50Mono_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:387:1: warning[-Wlto-type-mismatch]: type of ‘gs_md50Eco_device’ does not match original declaration
#  387 | device_(gs_md50Eco_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevalps.c:77:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   77 | gx_device_printer far_data gs_md50Eco_device =
#      |                            ^
ghostscript-10.06.0/contrib/japanese/gdevalps.c:77:28: note: ‘gs_md50Eco_device’ was previously declared here
#  385|   device_(gs_md1xMono_device)
#  386|   device_(gs_md2k_device)
#  387|-> device_(gs_md50Eco_device)
#  388|   device_(gs_md50Mono_device)
#  389|   device_(gs_md5k_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:388:1: warning[-Wlto-type-mismatch]: type of ‘gs_md50Mono_device’ does not match original declaration
#  388 | device_(gs_md50Mono_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevalps.c:68:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   68 | gx_device_printer far_data gs_md50Mono_device =
#      |                            ^
ghostscript-10.06.0/contrib/japanese/gdevalps.c:68:28: note: ‘gs_md50Mono_device’ was previously declared here
#  386|   device_(gs_md2k_device)
#  387|   device_(gs_md50Eco_device)
#  388|-> device_(gs_md50Mono_device)
#  389|   device_(gs_md5k_device)
#  390|   device_(gs_mj500c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:389:1: warning[-Wlto-type-mismatch]: type of ‘gs_md5k_device’ does not match original declaration
#  389 | device_(gs_md5k_device)
#      | ^
ghostscript-10.06.0/contrib/gdevmd2k.c:96:25: note: type ‘struct gx_device_alps’ should match type ‘struct gx_device’
#   96 | gx_device_alps far_data gs_md5k_device = alps_device("md5k", md5k_print_page);
#      |                         ^
ghostscript-10.06.0/contrib/gdevmd2k.c:96:25: note: ‘gs_md5k_device’ was previously declared here
#  387|   device_(gs_md50Eco_device)
#  388|   device_(gs_md50Mono_device)
#  389|-> device_(gs_md5k_device)
#  390|   device_(gs_mj500c_device)
#  391|   device_(gs_mj6000c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:390:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj500c_device’ does not match original declaration
#  390 | device_(gs_mj500c_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevmjc.c:265:23: note: type ‘struct gx_device_mj’ should match type ‘struct gx_device’
#  265 | gx_device_mj far_data gs_mj500c_device =
#      |                       ^
ghostscript-10.06.0/contrib/japanese/gdevmjc.c:265:23: note: ‘gs_mj500c_device’ was previously declared here
#  388|   device_(gs_md50Mono_device)
#  389|   device_(gs_md5k_device)
#  390|-> device_(gs_mj500c_device)
#  391|   device_(gs_mj6000c_device)
#  392|   device_(gs_mj700v2c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:391:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj6000c_device’ does not match original declaration
#  391 | device_(gs_mj6000c_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevmjc.c:270:23: note: type ‘struct gx_device_mj’ should match type ‘struct gx_device’
#  270 | gx_device_mj far_data gs_mj6000c_device =
#      |                       ^
ghostscript-10.06.0/contrib/japanese/gdevmjc.c:270:23: note: ‘gs_mj6000c_device’ was previously declared here
#  389|   device_(gs_md5k_device)
#  390|   device_(gs_mj500c_device)
#  391|-> device_(gs_mj6000c_device)
#  392|   device_(gs_mj700v2c_device)
#  393|   device_(gs_mj8000c_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:392:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj700v2c_device’ does not match original declaration
#  392 | device_(gs_mj700v2c_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevmjc.c:259:23: note: type ‘struct gx_device_mj’ should match type ‘struct gx_device’
#  259 | gx_device_mj far_data gs_mj700v2c_device =
#      |                       ^
ghostscript-10.06.0/contrib/japanese/gdevmjc.c:259:23: note: ‘gs_mj700v2c_device’ was previously declared here
#  390|   device_(gs_mj500c_device)
#  391|   device_(gs_mj6000c_device)
#  392|-> device_(gs_mj700v2c_device)
#  393|   device_(gs_mj8000c_device)
#  394|   device_(gs_ml600_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:393:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj8000c_device’ does not match original declaration
#  393 | device_(gs_mj8000c_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevmjc.c:275:23: note: type ‘struct gx_device_mj’ should match type ‘struct gx_device’
#  275 | gx_device_mj far_data gs_mj8000c_device =
#      |                       ^
ghostscript-10.06.0/contrib/japanese/gdevmjc.c:275:23: note: ‘gs_mj8000c_device’ was previously declared here
#  391|   device_(gs_mj6000c_device)
#  392|   device_(gs_mj700v2c_device)
#  393|-> device_(gs_mj8000c_device)
#  394|   device_(gs_ml600_device)
#  395|   device_(gs_necp6_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:394:1: warning[-Wlto-type-mismatch]: type of ‘gs_ml600_device’ does not match original declaration
#  394 | device_(gs_ml600_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevml6.c:44:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   44 | gx_device_printer gs_ml600_device =
#      |                   ^
ghostscript-10.06.0/contrib/japanese/gdevml6.c:44:19: note: ‘gs_ml600_device’ was previously declared here
#  392|   device_(gs_mj700v2c_device)
#  393|   device_(gs_mj8000c_device)
#  394|-> device_(gs_ml600_device)
#  395|   device_(gs_necp6_device)
#  396|   device_(gs_npdl_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:395:1: warning[-Wlto-type-mismatch]: type of ‘gs_necp6_device’ does not match original declaration
#  395 | device_(gs_necp6_device)
#      | ^
ghostscript-10.06.0/devices/gdevdm24.c:27:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   27 | const gx_device_printer far_data gs_necp6_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevdm24.c:27:34: note: ‘gs_necp6_device’ was previously declared here
#  393|   device_(gs_mj8000c_device)
#  394|   device_(gs_ml600_device)
#  395|-> device_(gs_necp6_device)
#  396|   device_(gs_npdl_device)
#  397|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:396:1: warning[-Wlto-type-mismatch]: type of ‘gs_npdl_device’ does not match original declaration
#  396 | device_(gs_npdl_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevnpdl.c:132:25: note: type ‘struct gx_device_lprn’ should match type ‘struct gx_device’
#  132 | gx_device_lprn far_data gs_npdl_device =
#      |                         ^
ghostscript-10.06.0/contrib/japanese/gdevnpdl.c:132:25: note: ‘gs_npdl_device’ was previously declared here
#  394|   device_(gs_ml600_device)
#  395|   device_(gs_necp6_device)
#  396|-> device_(gs_npdl_device)
#  397|   #endif
#  398|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:399:1: warning[-Wlto-type-mismatch]: type of ‘gs_oce9050_device’ does not match original declaration
#  399 | device2_(gs_oce9050_device)
#      | ^
ghostscript-10.06.0/devices/gdevdjet.c:234:23: note: type ‘const struct gx_device_hpjet’ should match type ‘const struct gx_device’
#  234 | const gx_device_hpjet gs_oce9050_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevdjet.c:234:23: note: ‘gs_oce9050_device’ was previously declared here
#  397|   #endif
#  398|   #ifdef device2_
#  399|-> device2_(gs_oce9050_device)
#  400|   #endif
#  401|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:402:1: warning[-Wlto-type-mismatch]: type of ‘gs_oki182_device’ does not match original declaration
#  402 | device_(gs_oki182_device)
#      | ^
ghostscript-10.06.0/devices/gdevo182.c:67:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   67 | const gx_device_printer far_data gs_oki182_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevo182.c:67:34: note: ‘gs_oki182_device’ was previously declared here
#  400|   #endif
#  401|   #ifdef device_
#  402|-> device_(gs_oki182_device)
#  403|   device_(gs_oki4w_device)
#  404|   device_(gs_okiibm_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:403:1: warning[-Wlto-type-mismatch]: type of ‘gs_oki4w_device’ does not match original declaration
#  403 | device_(gs_oki4w_device)
#      | ^
ghostscript-10.06.0/contrib/gdevop4w.c:106:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  106 | gx_device_printer far_data gs_oki4w_device =
#      |                            ^
ghostscript-10.06.0/contrib/gdevop4w.c:106:28: note: ‘gs_oki4w_device’ was previously declared here
#  401|   #ifdef device_
#  402|   device_(gs_oki182_device)
#  403|-> device_(gs_oki4w_device)
#  404|   device_(gs_okiibm_device)
#  405|   device_(gs_oprp_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:404:1: warning[-Wlto-type-mismatch]: type of ‘gs_okiibm_device’ does not match original declaration
#  404 | device_(gs_okiibm_device)
#      | ^
ghostscript-10.06.0/devices/gdevokii.c:77:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   77 | const gx_device_printer far_data gs_okiibm_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevokii.c:77:34: note: ‘gs_okiibm_device’ was previously declared here
#  402|   device_(gs_oki182_device)
#  403|   device_(gs_oki4w_device)
#  404|-> device_(gs_okiibm_device)
#  405|   device_(gs_oprp_device)
#  406|   device_(gs_opvp_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:405:1: warning[-Wlto-type-mismatch]: type of ‘gs_oprp_device’ does not match original declaration
#  405 | device_(gs_oprp_device)
#      | ^
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:504:22: note: type ‘const struct gx_device_oprp’ should match type ‘struct gx_device’
#  504 | const gx_device_oprp gs_oprp_device =
#      |                      ^
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:504:22: note: ‘gs_oprp_device’ was previously declared here
#  403|   device_(gs_oki4w_device)
#  404|   device_(gs_okiibm_device)
#  405|-> device_(gs_oprp_device)
#  406|   device_(gs_opvp_device)
#  407|   device_(gs_paintjet_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:406:1: warning[-Wlto-type-mismatch]: type of ‘gs_opvp_device’ does not match original declaration
#  406 | device_(gs_opvp_device)
#      | ^
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:459:33: note: type ‘const struct gx_device_opvp’ should match type ‘struct gx_device’
#  459 | const   gx_device_opvp          gs_opvp_device =
#      |                                 ^
ghostscript-10.06.0/contrib/opvp/gdevopvp.c:459:33: note: ‘gs_opvp_device’ was previously declared here
#  404|   device_(gs_okiibm_device)
#  405|   device_(gs_oprp_device)
#  406|-> device_(gs_opvp_device)
#  407|   device_(gs_paintjet_device)
#  408|   device_(gs_pcl3_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:407:1: warning[-Wlto-type-mismatch]: type of ‘gs_paintjet_device’ does not match original declaration
#  407 | device_(gs_paintjet_device)
#      | ^
ghostscript-10.06.0/devices/gdevpjet.c:55:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   55 | const gx_device_printer far_data gs_paintjet_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevpjet.c:55:34: note: ‘gs_paintjet_device’ was previously declared here
#  405|   device_(gs_oprp_device)
#  406|   device_(gs_opvp_device)
#  407|-> device_(gs_paintjet_device)
#  408|   device_(gs_pcl3_device)
#  409|   device_(gs_photoex_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:408:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcl3_device’ does not match original declaration
#  408 | device_(gs_pcl3_device)
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:162:1: note: type ‘struct pcl3_Device’ should match type ‘struct gx_device’
#  162 | pcl3_device_instance(pcl3, pcl3_generic_new);
#      | ^
ghostscript-10.06.0/contrib/pcl3/src/gdevpcl3.c:162:1: note: ‘gs_pcl3_device’ was previously declared here
#  406|   device_(gs_opvp_device)
#  407|   device_(gs_paintjet_device)
#  408|-> device_(gs_pcl3_device)
#  409|   device_(gs_photoex_device)
#  410|   device_(gs_picty180_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:409:1: warning[-Wlto-type-mismatch]: type of ‘gs_photoex_device’ does not match original declaration
#  409 | device_(gs_photoex_device)
#      | ^
ghostscript-10.06.0/devices/gdevphex.c:1030:28: note: type ‘struct gx_photoex_device’ should match type ‘struct gx_device’
# 1030 | gx_photoex_device far_data gs_photoex_device = {
#      |                            ^
ghostscript-10.06.0/devices/gdevphex.c:1030:28: note: ‘gs_photoex_device’ was previously declared here
#  407|   device_(gs_paintjet_device)
#  408|   device_(gs_pcl3_device)
#  409|-> device_(gs_photoex_device)
#  410|   device_(gs_picty180_device)
#  411|   device_(gs_pj_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:410:1: warning[-Wlto-type-mismatch]: type of ‘gs_picty180_device’ does not match original declaration
#  410 | device_(gs_picty180_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:613:24: note: type ‘struct gx_device_cdj’ should match type ‘struct gx_device’
#  613 | gx_device_cdj far_data gs_picty180_device =
#      |                        ^
ghostscript-10.06.0/devices/gdevcdj.c:613:24: note: ‘gs_picty180_device’ was previously declared here
#  408|   device_(gs_pcl3_device)
#  409|   device_(gs_photoex_device)
#  410|-> device_(gs_picty180_device)
#  411|   device_(gs_pj_device)
#  412|   device_(gs_pjetxl_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:411:1: warning[-Wlto-type-mismatch]: type of ‘gs_pj_device’ does not match original declaration
#  411 | device_(gs_pj_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:637:23: note: type ‘struct gx_device_pj’ should match type ‘struct gx_device’
#  637 | gx_device_pj far_data gs_pj_device =
#      |                       ^
ghostscript-10.06.0/devices/gdevcdj.c:637:23: note: ‘gs_pj_device’ was previously declared here
#  409|   device_(gs_photoex_device)
#  410|   device_(gs_picty180_device)
#  411|-> device_(gs_pj_device)
#  412|   device_(gs_pjetxl_device)
#  413|   device_(gs_pjxl_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:412:1: warning[-Wlto-type-mismatch]: type of ‘gs_pjetxl_device’ does not match original declaration
#  412 | device_(gs_pjetxl_device)
#      | ^
ghostscript-10.06.0/devices/gdevpjet.c:63:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   63 | const gx_device_printer far_data gs_pjetxl_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevpjet.c:63:34: note: ‘gs_pjetxl_device’ was previously declared here
#  410|   device_(gs_picty180_device)
#  411|   device_(gs_pj_device)
#  412|-> device_(gs_pjetxl_device)
#  413|   device_(gs_pjxl_device)
#  414|   device_(gs_pjxl300_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:413:1: warning[-Wlto-type-mismatch]: type of ‘gs_pjxl_device’ does not match original declaration
#  413 | device_(gs_pjxl_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:641:25: note: type ‘struct gx_device_pjxl’ should match type ‘struct gx_device’
#  641 | gx_device_pjxl far_data gs_pjxl_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevcdj.c:641:25: note: ‘gs_pjxl_device’ was previously declared here
#  411|   device_(gs_pj_device)
#  412|   device_(gs_pjetxl_device)
#  413|-> device_(gs_pjxl_device)
#  414|   device_(gs_pjxl300_device)
#  415|   device_(gs_pr1000_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:414:1: warning[-Wlto-type-mismatch]: type of ‘gs_pjxl300_device’ does not match original declaration
#  414 | device_(gs_pjxl300_device)
#      | ^
ghostscript-10.06.0/devices/gdevcdj.c:645:25: note: type ‘struct gx_device_pjxl’ should match type ‘struct gx_device’
#  645 | gx_device_pjxl far_data gs_pjxl300_device =
#      |                         ^
ghostscript-10.06.0/devices/gdevcdj.c:645:25: note: ‘gs_pjxl300_device’ was previously declared here
#  412|   device_(gs_pjetxl_device)
#  413|   device_(gs_pjxl_device)
#  414|-> device_(gs_pjxl300_device)
#  415|   device_(gs_pr1000_device)
#  416|   device_(gs_pr1000_4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:415:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr1000_device’ does not match original declaration
#  415 | device_(gs_pr1000_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevp201.c:52:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   52 | gx_device_printer gs_pr1000_device =
#      |                   ^
ghostscript-10.06.0/contrib/japanese/gdevp201.c:52:19: note: ‘gs_pr1000_device’ was previously declared here
#  413|   device_(gs_pjxl_device)
#  414|   device_(gs_pjxl300_device)
#  415|-> device_(gs_pr1000_device)
#  416|   device_(gs_pr1000_4_device)
#  417|   device_(gs_pr150_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:416:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr1000_4_device’ does not match original declaration
#  416 | device_(gs_pr1000_4_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevp201.c:70:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   70 | gx_device_printer gs_pr1000_4_device =
#      |                   ^
ghostscript-10.06.0/contrib/japanese/gdevp201.c:70:19: note: ‘gs_pr1000_4_device’ was previously declared here
#  414|   device_(gs_pjxl300_device)
#  415|   device_(gs_pr1000_device)
#  416|-> device_(gs_pr1000_4_device)
#  417|   device_(gs_pr150_device)
#  418|   device_(gs_pr201_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:417:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr150_device’ does not match original declaration
#  417 | device_(gs_pr150_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevp201.c:61:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   61 | gx_device_printer gs_pr150_device =
#      |                   ^
ghostscript-10.06.0/contrib/japanese/gdevp201.c:61:19: note: ‘gs_pr150_device’ was previously declared here
#  415|   device_(gs_pr1000_device)
#  416|   device_(gs_pr1000_4_device)
#  417|-> device_(gs_pr150_device)
#  418|   device_(gs_pr201_device)
#  419|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:418:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr201_device’ does not match original declaration
#  418 | device_(gs_pr201_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevp201.c:43:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   43 | gx_device_printer gs_pr201_device =
#      |                   ^
ghostscript-10.06.0/contrib/japanese/gdevp201.c:43:19: note: ‘gs_pr201_device’ was previously declared here
#  416|   device_(gs_pr1000_4_device)
#  417|   device_(gs_pr150_device)
#  418|-> device_(gs_pr201_device)
#  419|   #endif
#  420|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:421:1: warning[-Wlto-type-mismatch]: type of ‘gs_pxlcolor_device’ does not match original declaration
#  421 | device2_(gs_pxlcolor_device)
#      | ^
ghostscript-10.06.0/devices/vector/gdevpx.c:200:23: note: type ‘const struct gx_device_pclxl’ should match type ‘const struct gx_device’
#  200 | const gx_device_pclxl gs_pxlcolor_device = {
#      |                       ^
ghostscript-10.06.0/devices/vector/gdevpx.c:200:23: note: ‘gs_pxlcolor_device’ was previously declared here
#  419|   #endif
#  420|   #ifdef device2_
#  421|-> device2_(gs_pxlcolor_device)
#  422|   device2_(gs_pxlmono_device)
#  423|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:422:1: warning[-Wlto-type-mismatch]: type of ‘gs_pxlmono_device’ does not match original declaration
#  422 | device2_(gs_pxlmono_device)
#      | ^
ghostscript-10.06.0/devices/vector/gdevpx.c:196:23: note: type ‘const struct gx_device_pclxl’ should match type ‘const struct gx_device’
#  196 | const gx_device_pclxl gs_pxlmono_device = {
#      |                       ^
ghostscript-10.06.0/devices/vector/gdevpx.c:196:23: note: ‘gs_pxlmono_device’ was previously declared here
#  420|   #ifdef device2_
#  421|   device2_(gs_pxlcolor_device)
#  422|-> device2_(gs_pxlmono_device)
#  423|   #endif
#  424|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:425:1: warning[-Wlto-type-mismatch]: type of ‘gs_r4081_device’ does not match original declaration
#  425 | device_(gs_r4081_device)
#      | ^
ghostscript-10.06.0/devices/gdev4081.c:24:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   24 | const gx_device_printer far_data gs_r4081_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdev4081.c:24:34: note: ‘gs_r4081_device’ was previously declared here
#  423|   #endif
#  424|   #ifdef device_
#  425|-> device_(gs_r4081_device)
#  426|   device_(gs_rinkj_device)
#  427|   device_(gs_rpdl_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:426:1: warning[-Wlto-type-mismatch]: type of ‘gs_rinkj_device’ does not match original declaration
#  426 | device_(gs_rinkj_device)
#      | ^
ghostscript-10.06.0/devices/gdevrinkj.c:145:20: note: type ‘const struct rinkj_device’ should match type ‘struct gx_device’
#  145 | const rinkj_device gs_rinkj_device =
#      |                    ^
ghostscript-10.06.0/devices/gdevrinkj.c:145:20: note: ‘gs_rinkj_device’ was previously declared here
#  424|   #ifdef device_
#  425|   device_(gs_r4081_device)
#  426|-> device_(gs_rinkj_device)
#  427|   device_(gs_rpdl_device)
#  428|   device_(gs_samsunggdi_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:427:1: warning[-Wlto-type-mismatch]: type of ‘gs_rpdl_device’ does not match original declaration
#  427 | device_(gs_rpdl_device)
#      | ^
ghostscript-10.06.0/contrib/japanese/gdevrpdl.c:48:25: note: type ‘struct gx_device_lprn’ should match type ‘struct gx_device’
#   48 | gx_device_lprn far_data gs_rpdl_device =
#      |                         ^
ghostscript-10.06.0/contrib/japanese/gdevrpdl.c:48:25: note: ‘gs_rpdl_device’ was previously declared here
#  425|   device_(gs_r4081_device)
#  426|   device_(gs_rinkj_device)
#  427|-> device_(gs_rpdl_device)
#  428|   device_(gs_samsunggdi_device)
#  429|   device_(gs_sj48_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:428:1: warning[-Wlto-type-mismatch]: type of ‘gs_samsunggdi_device’ does not match original declaration
#  428 | device_(gs_samsunggdi_device)
#      | ^
ghostscript-10.06.0/contrib/gdevgdi.c:114:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#  114 | gx_device_printer far_data gs_samsunggdi_device =
#      |                            ^
ghostscript-10.06.0/contrib/gdevgdi.c:114:28: note: ‘gs_samsunggdi_device’ was previously declared here
#  426|   device_(gs_rinkj_device)
#  427|   device_(gs_rpdl_device)
#  428|-> device_(gs_samsunggdi_device)
#  429|   device_(gs_sj48_device)
#  430|   device_(gs_st800_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:429:1: warning[-Wlto-type-mismatch]: type of ‘gs_sj48_device’ does not match original declaration
#  429 | device_(gs_sj48_device)
#      | ^
ghostscript-10.06.0/devices/gdevsj48.c:43:28: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   43 | gx_device_printer far_data gs_sj48_device =
#      |                            ^
ghostscript-10.06.0/devices/gdevsj48.c:43:28: note: ‘gs_sj48_device’ was previously declared here
#  427|   device_(gs_rpdl_device)
#  428|   device_(gs_samsunggdi_device)
#  429|-> device_(gs_sj48_device)
#  430|   device_(gs_st800_device)
#  431|   device_(gs_stcolor_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:430:1: warning[-Wlto-type-mismatch]: type of ‘gs_st800_device’ does not match original declaration
#  430 | device_(gs_st800_device)
#      | ^
ghostscript-10.06.0/devices/gdevescp.c:89:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   89 | const gx_device_printer far_data gs_st800_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevescp.c:89:34: note: ‘gs_st800_device’ was previously declared here
#  428|   device_(gs_samsunggdi_device)
#  429|   device_(gs_sj48_device)
#  430|-> device_(gs_st800_device)
#  431|   device_(gs_stcolor_device)
#  432|   device_(gs_t4693d2_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:431:1: warning[-Wlto-type-mismatch]: type of ‘gs_stcolor_device’ does not match original declaration
#  431 | device_(gs_stcolor_device)
#      | ^
ghostscript-10.06.0/devices/gdevstc.c:163:25: note: type ‘struct stcolor_device’ should match type ‘struct gx_device’
#  163 | stcolor_device far_data gs_stcolor_device = {
#      |                         ^
ghostscript-10.06.0/devices/gdevstc.c:163:25: note: ‘gs_stcolor_device’ was previously declared here
#  429|   device_(gs_sj48_device)
#  430|   device_(gs_st800_device)
#  431|-> device_(gs_stcolor_device)
#  432|   device_(gs_t4693d2_device)
#  433|   device_(gs_t4693d4_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:432:1: warning[-Wlto-type-mismatch]: type of ‘gs_t4693d2_device’ does not match original declaration
#  432 | device_(gs_t4693d2_device)
#      | ^
ghostscript-10.06.0/devices/gdev4693.c:44:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   44 | const gx_device_printer gs_t4693d2_device = t4693d_prn_device("t4693d2",8, 3);
#      |                         ^
ghostscript-10.06.0/devices/gdev4693.c:44:25: note: ‘gs_t4693d2_device’ was previously declared here
#  430|   device_(gs_st800_device)
#  431|   device_(gs_stcolor_device)
#  432|-> device_(gs_t4693d2_device)
#  433|   device_(gs_t4693d4_device)
#  434|   device_(gs_t4693d8_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:433:1: warning[-Wlto-type-mismatch]: type of ‘gs_t4693d4_device’ does not match original declaration
#  433 | device_(gs_t4693d4_device)
#      | ^
ghostscript-10.06.0/devices/gdev4693.c:45:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   45 | const gx_device_printer gs_t4693d4_device = t4693d_prn_device("t4693d4",16, 15);
#      |                         ^
ghostscript-10.06.0/devices/gdev4693.c:45:25: note: ‘gs_t4693d4_device’ was previously declared here
#  431|   device_(gs_stcolor_device)
#  432|   device_(gs_t4693d2_device)
#  433|-> device_(gs_t4693d4_device)
#  434|   device_(gs_t4693d8_device)
#  435|   device_(gs_tek4696_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:434:1: warning[-Wlto-type-mismatch]: type of ‘gs_t4693d8_device’ does not match original declaration
#  434 | device_(gs_t4693d8_device)
#      | ^
ghostscript-10.06.0/devices/gdev4693.c:46:25: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   46 | const gx_device_printer gs_t4693d8_device = t4693d_prn_device("t4693d8",24, 255);
#      |                         ^
ghostscript-10.06.0/devices/gdev4693.c:46:25: note: ‘gs_t4693d8_device’ was previously declared here
#  432|   device_(gs_t4693d2_device)
#  433|   device_(gs_t4693d4_device)
#  434|-> device_(gs_t4693d8_device)
#  435|   device_(gs_tek4696_device)
#  436|   device_(gs_uniprint_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:435:1: warning[-Wlto-type-mismatch]: type of ‘gs_tek4696_device’ does not match original declaration
#  435 | device_(gs_tek4696_device)
#      | ^
ghostscript-10.06.0/devices/gdevtknk.c:52:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#   52 | const gx_device_printer far_data gs_tek4696_device =
#      |                                  ^
ghostscript-10.06.0/devices/gdevtknk.c:52:34: note: ‘gs_tek4696_device’ was previously declared here
#  433|   device_(gs_t4693d4_device)
#  434|   device_(gs_t4693d8_device)
#  435|-> device_(gs_tek4696_device)
#  436|   device_(gs_uniprint_device)
#  437|   device_(gs_xes_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:436:1: warning[-Wlto-type-mismatch]: type of ‘gs_uniprint_device’ does not match original declaration
#  436 | device_(gs_uniprint_device)
#      | ^
ghostscript-10.06.0/devices/gdevupd.c:248:21: note: type ‘struct upd_device’ should match type ‘struct gx_device’
#  248 | upd_device far_data gs_uniprint_device = { /** */
#      |                     ^
ghostscript-10.06.0/devices/gdevupd.c:248:21: note: ‘gs_uniprint_device’ was previously declared here
#  434|   device_(gs_t4693d8_device)
#  435|   device_(gs_tek4696_device)
#  436|-> device_(gs_uniprint_device)
#  437|   device_(gs_xes_device)
#  438|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:437:1: warning[-Wlto-type-mismatch]: type of ‘gs_xes_device’ does not match original declaration
#  437 | device_(gs_xes_device)
#      | ^
ghostscript-10.06.0/contrib/gdevxes.c:69:19: note: type ‘struct gx_device_printer’ should match type ‘struct gx_device’
#   69 | gx_device_printer gs_xes_device =
#      |                   ^
ghostscript-10.06.0/contrib/gdevxes.c:69:19: note: ‘gs_xes_device’ was previously declared here
#  435|   device_(gs_tek4696_device)
#  436|   device_(gs_uniprint_device)
#  437|-> device_(gs_xes_device)
#  438|   #endif
#  439|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:440:1: warning[-Wlto-type-mismatch]: type of ‘gs_appleraster_device’ does not match original declaration
#  440 | device2_(gs_appleraster_device)
#      | ^
ghostscript-10.06.0/cups/gdevcups.c:486:17: note: type ‘struct gx_device_cups’ should match type ‘const struct gx_device’
#  486 | gx_device_cups  gs_appleraster_device = { gs_xxx_device("appleraster",
#      |                 ^
ghostscript-10.06.0/cups/gdevcups.c:486:17: note: ‘gs_appleraster_device’ was previously declared here
#  438|   #endif
#  439|   #ifdef device2_
#  440|-> device2_(gs_appleraster_device)
#  441|   device2_(gs_cups_device)
#  442|   device2_(gs_pwgraster_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:441:1: warning[-Wlto-type-mismatch]: type of ‘gs_cups_device’ does not match original declaration
#  441 | device2_(gs_cups_device)
#      | ^
ghostscript-10.06.0/cups/gdevcups.c:482:17: note: type ‘struct gx_device_cups’ should match type ‘const struct gx_device’
#  482 | gx_device_cups  gs_cups_device = { gs_xxx_device("cups", "") };
#      |                 ^
ghostscript-10.06.0/cups/gdevcups.c:482:17: note: ‘gs_cups_device’ was previously declared here
#  439|   #ifdef device2_
#  440|   device2_(gs_appleraster_device)
#  441|-> device2_(gs_cups_device)
#  442|   device2_(gs_pwgraster_device)
#  443|   device2_(gs_urf_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:442:1: warning[-Wlto-type-mismatch]: type of ‘gs_pwgraster_device’ does not match original declaration
#  442 | device2_(gs_pwgraster_device)
#      | ^
ghostscript-10.06.0/cups/gdevcups.c:483:17: note: type ‘struct gx_device_cups’ should match type ‘const struct gx_device’
#  483 | gx_device_cups  gs_pwgraster_device = { gs_xxx_device("pwgraster",
#      |                 ^
ghostscript-10.06.0/cups/gdevcups.c:483:17: note: ‘gs_pwgraster_device’ was previously declared here
#  440|   device2_(gs_appleraster_device)
#  441|   device2_(gs_cups_device)
#  442|-> device2_(gs_pwgraster_device)
#  443|   device2_(gs_urf_device)
#  444|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:443:1: warning[-Wlto-type-mismatch]: type of ‘gs_urf_device’ does not match original declaration
#  443 | device2_(gs_urf_device)
#      | ^
ghostscript-10.06.0/cups/gdevcups.c:488:17: note: type ‘struct gx_device_cups’ should match type ‘const struct gx_device’
#  488 | gx_device_cups  gs_urf_device = { gs_xxx_device("urf",
#      |                 ^
ghostscript-10.06.0/cups/gdevcups.c:488:17: note: ‘gs_urf_device’ was previously declared here
#  441|   device2_(gs_cups_device)
#  442|   device2_(gs_pwgraster_device)
#  443|-> device2_(gs_urf_device)
#  444|   #endif
#  445|   #ifdef device_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:446:1: warning[-Wlto-type-mismatch]: type of ‘gs_ijs_device’ does not match original declaration
#  446 | device_(gs_ijs_device)
#      | ^
ghostscript-10.06.0/devices/gdevijs.c:144:15: note: type ‘struct gx_device_ijs’ should match type ‘struct gx_device’
#  144 | gx_device_ijs gs_ijs_device =
#      |               ^
ghostscript-10.06.0/devices/gdevijs.c:144:15: note: ‘gs_ijs_device’ was previously declared here
#  444|   #endif
#  445|   #ifdef device_
#  446|-> device_(gs_ijs_device)
#  447|   #endif
#  448|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:449:1: warning[-Wlto-type-mismatch]: type of ‘gs_png16_device’ does not match original declaration
#  449 | device2_(gs_png16_device)
#      | ^
ghostscript-10.06.0/devices/gdevpng.c:123:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  123 | const gx_device_png gs_png16_device = {
#      |                     ^
ghostscript-10.06.0/devices/gdevpng.c:123:21: note: ‘gs_png16_device’ was previously declared here
#  447|   #endif
#  448|   #ifdef device2_
#  449|-> device2_(gs_png16_device)
#  450|   device2_(gs_png16m_device)
#  451|   device2_(gs_png16malpha_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:450:1: warning[-Wlto-type-mismatch]: type of ‘gs_png16m_device’ does not match original declaration
#  450 | device2_(gs_png16m_device)
#      | ^
ghostscript-10.06.0/devices/gdevpng.c:224:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  224 | const gx_device_png gs_png16m_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpng.c:224:21: note: ‘gs_png16m_device’ was previously declared here
#  448|   #ifdef device2_
#  449|   device2_(gs_png16_device)
#  450|-> device2_(gs_png16m_device)
#  451|   device2_(gs_png16malpha_device)
#  452|   device2_(gs_png256_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:451:1: warning[-Wlto-type-mismatch]: type of ‘gs_png16malpha_device’ does not match original declaration
#  451 | device2_(gs_png16malpha_device)
#      | ^
ghostscript-10.06.0/devices/gdevpng.c:332:26: note: type ‘const struct gx_device_pngalpha’ should match type ‘const struct gx_device’
#  332 | const gx_device_pngalpha gs_png16malpha_device = {
#      |                          ^
ghostscript-10.06.0/devices/gdevpng.c:332:26: note: ‘gs_png16malpha_device’ was previously declared here
#  449|   device2_(gs_png16_device)
#  450|   device2_(gs_png16m_device)
#  451|-> device2_(gs_png16malpha_device)
#  452|   device2_(gs_png256_device)
#  453|   device2_(gs_png48_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:452:1: warning[-Wlto-type-mismatch]: type of ‘gs_png256_device’ does not match original declaration
#  452 | device2_(gs_png256_device)
#      | ^
ghostscript-10.06.0/devices/gdevpng.c:148:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  148 | const gx_device_png gs_png256_device = {
#      |                     ^
ghostscript-10.06.0/devices/gdevpng.c:148:21: note: ‘gs_png256_device’ was previously declared here
#  450|   device2_(gs_png16m_device)
#  451|   device2_(gs_png16malpha_device)
#  452|-> device2_(gs_png256_device)
#  453|   device2_(gs_png48_device)
#  454|   device2_(gs_pngalpha_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:453:1: warning[-Wlto-type-mismatch]: type of ‘gs_png48_device’ does not match original declaration
#  453 | device2_(gs_png48_device)
#      | ^
ghostscript-10.06.0/devices/gdevpng.c:249:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  249 | const gx_device_png gs_png48_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpng.c:249:21: note: ‘gs_png48_device’ was previously declared here
#  451|   device2_(gs_png16malpha_device)
#  452|   device2_(gs_png256_device)
#  453|-> device2_(gs_png48_device)
#  454|   device2_(gs_pngalpha_device)
#  455|   device2_(gs_pnggray_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:454:1: warning[-Wlto-type-mismatch]: type of ‘gs_pngalpha_device’ does not match original declaration
#  454 | device2_(gs_pngalpha_device)
#      | ^
ghostscript-10.06.0/devices/gdevpng.c:296:26: note: type ‘const struct gx_device_pngalpha’ should match type ‘const struct gx_device’
#  296 | const gx_device_pngalpha gs_pngalpha_device = {
#      |                          ^
ghostscript-10.06.0/devices/gdevpng.c:296:26: note: ‘gs_pngalpha_device’ was previously declared here
#  452|   device2_(gs_png256_device)
#  453|   device2_(gs_png48_device)
#  454|-> device2_(gs_pngalpha_device)
#  455|   device2_(gs_pnggray_device)
#  456|   device2_(gs_pngmono_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:455:1: warning[-Wlto-type-mismatch]: type of ‘gs_pnggray_device’ does not match original declaration
#  455 | device2_(gs_pnggray_device)
#      | ^
ghostscript-10.06.0/devices/gdevpng.c:172:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  172 | const gx_device_png gs_pnggray_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpng.c:172:21: note: ‘gs_pnggray_device’ was previously declared here
#  453|   device2_(gs_png48_device)
#  454|   device2_(gs_pngalpha_device)
#  455|-> device2_(gs_pnggray_device)
#  456|   device2_(gs_pngmono_device)
#  457|   device2_(gs_pngmonod_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:456:1: warning[-Wlto-type-mismatch]: type of ‘gs_pngmono_device’ does not match original declaration
#  456 | device2_(gs_pngmono_device)
#      | ^
ghostscript-10.06.0/devices/gdevpng.c:97:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#   97 | const gx_device_png gs_pngmono_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpng.c:97:21: note: ‘gs_pngmono_device’ was previously declared here
#  454|   device2_(gs_pngalpha_device)
#  455|   device2_(gs_pnggray_device)
#  456|-> device2_(gs_pngmono_device)
#  457|   device2_(gs_pngmonod_device)
#  458|   device2_(gs_nullpage_device)

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:457:1: warning[-Wlto-type-mismatch]: type of ‘gs_pngmonod_device’ does not match original declaration
#  457 | device2_(gs_pngmonod_device)
#      | ^
ghostscript-10.06.0/devices/gdevpng.c:196:21: note: type ‘const struct gx_device_png’ should match type ‘const struct gx_device’
#  196 | const gx_device_png gs_pngmonod_device =
#      |                     ^
ghostscript-10.06.0/devices/gdevpng.c:196:21: note: ‘gs_pngmonod_device’ was previously declared here
#  455|   device2_(gs_pnggray_device)
#  456|   device2_(gs_pngmono_device)
#  457|-> device2_(gs_pngmonod_device)
#  458|   device2_(gs_nullpage_device)
#  459|   #endif

Error: COMPILER_WARNING (CWE-704):
ghostscript-10.06.0/soobj/gconfig.h:458:1: warning[-Wlto-type-mismatch]: type of ‘gs_nullpage_device’ does not match original declaration
#  458 | device2_(gs_nullpage_device)
#      | ^
ghostscript-10.06.0/base/gdevnfwd.c:1007:22: note: type ‘const struct gx_device_null’ should match type ‘const struct gx_device’
# 1007 | const gx_device_null gs_nullpage_device = {
#      |                      ^
ghostscript-10.06.0/base/gdevnfwd.c:1007:22: note: ‘gs_nullpage_device’ was previously declared here
#  456|   device2_(gs_pngmono_device)
#  457|   device2_(gs_pngmonod_device)
#  458|-> device2_(gs_nullpage_device)
#  459|   #endif
#  460|   #ifdef io_device_