ghostscript-10.04.0-1.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-477): [#def1]
/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): [#def2]
/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): [#def3]
/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): [#def4]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/fapi_ft.c: scope_hint: In function ‘gs_fapi_ft_get_scaled_font’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/fapi_ft.c:1284:86: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘a_font->retrieve_tt_font’ differ in signedness
# 1284 |                     code = a_font->retrieve_tt_font(a_font, (void **)&own_font_data, &ms);
#      |                                                                                      ^~~
#      |                                                                                      |
#      |                                                                                      unsigned int *
ghostscript-10.04.0-build/ghostscript-10.04.0/base/fapi_ft.c:1284:86: note: expected ‘int *’ but argument is of type ‘unsigned int *’
# 1282|                   if (a_font->retrieve_tt_font != NULL) {
# 1283|                       unsigned int ms;
# 1284|->                     code = a_font->retrieve_tt_font(a_font, (void **)&own_font_data, &ms);
# 1285|                       if (code == 0) {
# 1286|                           data_owned = false;

Error: CPPCHECK_WARNING (CWE-758): [#def5]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevbbox.c:119: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  117|        * Define the device as 8-bit gray scale to avoid computing halftones.
#  118|        */
#  119|->     std_device_dci_body(gx_device_bbox, bbox_initialize_device_procs, "bbox",
#  120|                           MAX_COORD, MAX_COORD,
#  121|                           MAX_RESOLUTION, MAX_RESOLUTION,

Error: CPPCHECK_WARNING (CWE-758): [#def6]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevbbox.c:140: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  138|       gs_fixed_rect *const pr = &bdev->bbox;
#  139|   
#  140|->     pr->p.x = pr->p.y = max_fixed;
#  141|       pr->q.x = pr->q.y = min_fixed;
#  142|       return bdev->white != bdev->transparent;

Error: CPPCHECK_WARNING (CWE-758): [#def7]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevbbox.c:141: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  139|   
#  140|       pr->p.x = pr->p.y = max_fixed;
#  141|->     pr->q.x = pr->q.y = min_fixed;
#  142|       return bdev->white != bdev->transparent;
#  143|   }

Error: CPPCHECK_WARNING (CWE-758): [#def8]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevddrw.c:144: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  142|       fixed h = tl->h;
#  143|   
#  144|->     if ( df < YMULT_LIMIT ) {
#  145|            if ( df == 0 )		/* vertical edge, worth checking for */
#  146|                tl->ldi = int2fixed(di), tl->ldf = 0, tl->xf = -h;

Error: CPPCHECK_WARNING (CWE-758): [#def9]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevddrw.c:428: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  426|           {
#  427|               /* Some devices init max->width to be int_max, which overflows when converted to fixed. */
#  428|->             int dw = dev->width > max_int_in_fixed ? max_int_in_fixed : dev->width;
#  429|               if (ytop < 0)
#  430|                   return 0;

Error: CPPCHECK_WARNING (CWE-758): [#def10]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevddrw.c:448: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  446|           {
#  447|               /* Some devices init max->height to be int_max, which overflows when converted to fixed. */
#  448|->             int dh = dev->height > max_int_in_fixed ? max_int_in_fixed : dev->height;
#  449|               if (ytop < 0)
#  450|                   return 0;

Error: CPPCHECK_WARNING (CWE-909): [#def11]
ghostscript-10.04.0-build/ghostscript-10.04.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-758): [#def12]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevdflt.c:858: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  856|   gx_get_largest_clipping_box(gx_device * dev, gs_fixed_rect * pbox)
#  857|   {
#  858|->     pbox->p.x = min_fixed;
#  859|       pbox->p.y = min_fixed;
#  860|       pbox->q.x = max_fixed;

Error: CPPCHECK_WARNING (CWE-758): [#def13]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevdflt.c:859: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  857|   {
#  858|       pbox->p.x = min_fixed;
#  859|->     pbox->p.y = min_fixed;
#  860|       pbox->q.x = max_fixed;
#  861|       pbox->q.y = max_fixed;

Error: CPPCHECK_WARNING (CWE-758): [#def14]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevdflt.c:860: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  858|       pbox->p.x = min_fixed;
#  859|       pbox->p.y = min_fixed;
#  860|->     pbox->q.x = max_fixed;
#  861|       pbox->q.y = max_fixed;
#  862|   }

Error: CPPCHECK_WARNING (CWE-758): [#def15]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevdflt.c:861: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  859|       pbox->p.y = min_fixed;
#  860|       pbox->q.x = max_fixed;
#  861|->     pbox->q.y = max_fixed;
#  862|   }
#  863|   

Error: COMPILER_WARNING (CWE-457): [#def16]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevdflt.c: scope_hint: In function ‘transform_pixel_region_render_portrait’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevdflt.c:1937:15: warning[-Wmaybe-uninitialized]: ‘run’ may be used uninitialized
# 1937 |     buffer[0] = run;
#      |     ~~~~~~~~~~^~~~~
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevdflt.c:1760:17: note: ‘run’ was declared here
# 1760 |     const byte *run;
#      |                 ^~~
# 1935|       /* Save position if error, in case we resume. */
# 1936|   err:
# 1937|->     buffer[0] = run;
# 1938|       return code;
# 1939|   }

Error: CPPCHECK_WARNING (CWE-457): [#def17]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-758): [#def18]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevepo.c:106: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  104|   gx_device_epo gs_epo_device =
#  105|   {
#  106|->     std_device_dci_type_body_sc(gx_device_epo, epo_initialize_device_procs,
#  107|                           EPO_DEVICENAME, &st_epo_device,
#  108|                           MAX_COORD, MAX_COORD,

Error: CPPCHECK_WARNING (CWE-758): [#def19]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevflp.c:130: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  128|   gx_device_flp gs_flp_device =
#  129|   {
#  130|->     std_device_dci_type_body_sc(gx_device_flp, flp_initialize_device_procs,
#  131|                           "first_lastpage", &st_flp_device,
#  132|                           MAX_COORD, MAX_COORD,

Error: CPPCHECK_WARNING (CWE-758): [#def20]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevmem.c:448: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  446|               * dev->color_info.depth + ESTIMATED_PDF14_ROW_SPACE(width, dev->color_info.num_components, deep ? 16 : 8),
#  447|                   dev->pad, dev->log2_align_mod) + sizeof(byte *) * (dev->num_planar_planes ? dev->num_planar_planes : 1));
#  448|->         height = (int)min(max_height, max_int);
#  449|       } else {
#  450|           /* For non PDF 1.4 transparency, we can do an exact calculation */

Error: CPPCHECK_WARNING (CWE-758): [#def21]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevmem.c:454: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  452|               (bitmap_raster_pad_align(width * dev->color_info.depth, dev->pad, dev->log2_align_mod) +
#  453|                sizeof(byte *) * (dev->num_planar_planes ? dev->num_planar_planes : 1));
#  454|->         height = (int)min(max_height, max_int);
#  455|           /*
#  456|            * Because of alignment rounding, the just-computed height might

Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevice.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevmem.c:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevmem.c: scope_hint: In function ‘mem_dev_initialize_device_procs’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevmem.c:959:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:845:55: note: in definition of macro ‘set_dev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevmem.c: scope_hint: In function ‘mem_dev_initialize_device_procs’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:845:55: note: in definition of macro ‘set_dev_proc’
#  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): [#def23]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevmem.c: scope_hint: In function ‘mem_word_dev_initialize_device_procs’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevmem.c:976:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:845:55: note: in definition of macro ‘set_dev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevmem.c: scope_hint: In function ‘mem_word_dev_initialize_device_procs’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:845:55: note: in definition of macro ‘set_dev_proc’
#  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-758): [#def24]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevmplt.c:120: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  118|        * Define the device as 8-bit gray scale to avoid computing halftones.
#  119|        */
#  120|->     std_device_dci_type_body_sc(gx_device_mplt, pcl_mono_palette_initialize,
#  121|                           "PCL_Mono_Palette", &st_pcl_mono_palette_device,
#  122|                           MAX_COORD, MAX_COORD,

Error: CPPCHECK_WARNING (CWE-758): [#def25]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevnup.c:108: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  106|        * Define the device as 8-bit gray scale to avoid computing halftones.
#  107|        */
#  108|->     std_device_dci_type_body_sc(gx_device_nup, nup_initialize_device_procs,
#  109|                           "N-up", &st_nup_device,
#  110|                           MAX_COORD, MAX_COORD,

Error: CPPCHECK_WARNING (CWE-758): [#def26]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevnup.c:290: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  288|   #define max_coord (max_fixed / fixed_1)
#  289|   #if max_coord < max_int
#  290|->             else if (width_new > (long)max_coord || height_new > (long)max_coord)
#  291|                   ecode = gs_note_error(gs_error_limitcheck);
#  292|   #endif

Error: CPPCHECK_WARNING (CWE-758): [#def27]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevoflt.c:124: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  122|        * Define the device as 8-bit gray scale to avoid computing halftones.
#  123|        */
#  124|->     std_device_dci_type_body_sc(gx_device_obj_filter,
#  125|                           obj_filter_initialize_device_procs,
#  126|                           "object_filter", &st_obj_filter_device,

Error: CPPCHECK_WARNING (CWE-758): [#def28]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:4269: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 4267|               if (gx_stroke_path_expansion(pgs, ppath, &expansion) < 0) {
# 4268|                   /* The expansion is so large it caused a limitcheck. */
# 4269|->                 path_box.p.x = path_box.p.y = min_fixed;
# 4270|                   path_box.q.x = path_box.q.y = max_fixed;
# 4271|               } else {

Error: CPPCHECK_WARNING (CWE-758): [#def29]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:4270: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 4268|                   /* The expansion is so large it caused a limitcheck. */
# 4269|                   path_box.p.x = path_box.p.y = min_fixed;
# 4270|->                 path_box.q.x = path_box.q.y = max_fixed;
# 4271|               } else {
# 4272|                   expansion.x += pgs->fill_adjust.x;

Error: CPPCHECK_WARNING (CWE-758): [#def30]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:4278: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 4276|                    * overflow, so we need to check for this.
# 4277|                    */
# 4278|->                 path_box.p.x = (path_box.p.x < min_fixed + expansion.x ? min_fixed :
# 4279|                                   path_box.p.x - expansion.x);
# 4280|                   path_box.p.y = (path_box.p.y < min_fixed + expansion.y ? min_fixed :

Error: CPPCHECK_WARNING (CWE-758): [#def31]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:4280: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 4278|                   path_box.p.x = (path_box.p.x < min_fixed + expansion.x ? min_fixed :
# 4279|                                   path_box.p.x - expansion.x);
# 4280|->                 path_box.p.y = (path_box.p.y < min_fixed + expansion.y ? min_fixed :
# 4281|                                   path_box.p.y - expansion.y);
# 4282|                   path_box.q.x = (path_box.q.x > max_fixed - expansion.x ? max_fixed :

Error: CPPCHECK_WARNING (CWE-758): [#def32]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:4282: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 4280|                   path_box.p.y = (path_box.p.y < min_fixed + expansion.y ? min_fixed :
# 4281|                                   path_box.p.y - expansion.y);
# 4282|->                 path_box.q.x = (path_box.q.x > max_fixed - expansion.x ? max_fixed :
# 4283|                                   path_box.q.x + expansion.x);
# 4284|                   path_box.q.y = (path_box.q.y > max_fixed - expansion.y ? max_fixed :

Error: CPPCHECK_WARNING (CWE-758): [#def33]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:4284: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 4282|                   path_box.q.x = (path_box.q.x > max_fixed - expansion.x ? max_fixed :
# 4283|                                   path_box.q.x + expansion.x);
# 4284|->                 path_box.q.y = (path_box.q.y > max_fixed - expansion.y ? max_fixed :
# 4285|                                   path_box.q.y + expansion.y);
# 4286|               }

Error: CPPCHECK_WARNING (CWE-457): [#def34]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:7395: warning[uninitvar]: Uninitialized variable: comp_bits
# 7393|       memset(&(pdev->color_info.comp_bits), 0, GX_DEVICE_COLOR_MAX_COMPONENTS);
# 7394|       memset(&(pdev->color_info.comp_shift), 0, GX_DEVICE_COLOR_MAX_COMPONENTS);
# 7395|->     memcpy(&(pdev->color_info.comp_bits), comp_bits, new_num_comps);
# 7396|       memcpy(&(pdev->color_info.comp_shift), comp_shift, new_num_comps);
# 7397|       group_color->max_color = pdev->color_info.max_color = deep ? 65535 : 255;

Error: CPPCHECK_WARNING (CWE-457): [#def35]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:7396: warning[uninitvar]: Uninitialized variable: comp_shift
# 7394|       memset(&(pdev->color_info.comp_shift), 0, GX_DEVICE_COLOR_MAX_COMPONENTS);
# 7395|       memcpy(&(pdev->color_info.comp_bits), comp_bits, new_num_comps);
# 7396|->     memcpy(&(pdev->color_info.comp_shift), comp_shift, new_num_comps);
# 7397|       group_color->max_color = pdev->color_info.max_color = deep ? 65535 : 255;
# 7398|       group_color->max_gray = pdev->color_info.max_gray = deep ? 65535 : 255;

Error: CPPCHECK_WARNING (CWE-457): [#def36]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:8684: warning[uninitvar]: Uninitialized variable: comp_value
# 8682|           for (i = pgs->color_component_map.num_components - 1; i >= 0; i--)
# 8683|               comp_value[i] = all;
# 8684|->         map_components_to_colorants(comp_value, &(pgs->color_component_map), cm_comps);
# 8685|       }
# 8686|   

Error: CPPCHECK_WARNING (CWE-758): [#def37]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:11588: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#11586|               if (gx_stroke_path_expansion(pgs, ppath, &expansion) < 0) {
#11587|                   /* The expansion is so large it caused a limitcheck. */
#11588|->                 path_box.p.x = path_box.p.y = min_fixed;
#11589|                   path_box.q.x = path_box.q.y = max_fixed;
#11590|               } else {

Error: CPPCHECK_WARNING (CWE-758): [#def38]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:11589: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#11587|                   /* The expansion is so large it caused a limitcheck. */
#11588|                   path_box.p.x = path_box.p.y = min_fixed;
#11589|->                 path_box.q.x = path_box.q.y = max_fixed;
#11590|               } else {
#11591|                   expansion.x += pgs->fill_adjust.x;

Error: CPPCHECK_WARNING (CWE-758): [#def39]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:11597: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#11595|                    * overflow, so we need to check for this.
#11596|                    */
#11597|->                 path_box.p.x = (path_box.p.x < min_fixed + expansion.x ? min_fixed :
#11598|                                   path_box.p.x - expansion.x);
#11599|                   path_box.p.y = (path_box.p.y < min_fixed + expansion.y ? min_fixed :

Error: CPPCHECK_WARNING (CWE-758): [#def40]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:11599: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#11597|                   path_box.p.x = (path_box.p.x < min_fixed + expansion.x ? min_fixed :
#11598|                                   path_box.p.x - expansion.x);
#11599|->                 path_box.p.y = (path_box.p.y < min_fixed + expansion.y ? min_fixed :
#11600|                                   path_box.p.y - expansion.y);
#11601|                   path_box.q.x = (path_box.q.x > max_fixed - expansion.x ? max_fixed :

Error: CPPCHECK_WARNING (CWE-758): [#def41]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:11601: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#11599|                   path_box.p.y = (path_box.p.y < min_fixed + expansion.y ? min_fixed :
#11600|                                   path_box.p.y - expansion.y);
#11601|->                 path_box.q.x = (path_box.q.x > max_fixed - expansion.x ? max_fixed :
#11602|                                   path_box.q.x + expansion.x);
#11603|                   path_box.q.y = (path_box.q.y > max_fixed - expansion.y ? max_fixed :

Error: CPPCHECK_WARNING (CWE-758): [#def42]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevp14.c:11603: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#11601|                   path_box.q.x = (path_box.q.x > max_fixed - expansion.x ? max_fixed :
#11602|                                   path_box.q.x + expansion.x);
#11603|->                 path_box.q.y = (path_box.q.y > max_fixed - expansion.y ? max_fixed :
#11604|                                   path_box.q.y + expansion.y);
#11605|               }

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

Error: GCC_ANALYZER_WARNING (CWE-465): [#def44]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevsclass.c: scope_hint: In function ‘default_subclass_composite_front’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevsclass.c:397:32: warning[-Wanalyzer-deref-before-check]: check of ‘dev’ for NULL after already dereferencing it
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevice.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevsclass.c:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevsclass.c:379:16: note: in expansion of macro ‘dev_proc’
#  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): [#def45]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevsclass.c:438:32: warning[-Wanalyzer-deref-before-check]: check of ‘dev’ for NULL after already dereferencing it
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevsclass.c:379:16: note: in expansion of macro ‘dev_proc’
#  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): [#def46]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevvec.c: scope_hint: In function ‘gdev_vector_dopath’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevvec.c:121:46: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘line_start.x’
#  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-688): [#def47]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c: scope_hint: In function ‘read_dev’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c:856:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(4097)’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c: scope_hint: In function ‘read_dev’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
#  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): [#def48]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c: scope_hint: In function ‘read_token’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c:897:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘token’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c: scope_hint: In function ‘read_token’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c: scope_hint: In function ‘read_token’
#  895|               continue;
#  896|           }
#  897|->         token[len++] = ch;
#  898|       }
#  899|       token[len] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c:899:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘token’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c: scope_hint: In function ‘read_token’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c: scope_hint: In function ‘read_token’
#  897|           token[len++] = ch;
#  898|       }
#  899|->     token[len] = 0;
#  900|       *pin = in;
#  901|       return (len >= max_len ? -1 /* token too long */ : len);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def50]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c: scope_hint: In function ‘write_list_pattern’
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/base/genconf.c: scope_hint: In function ‘write_list_pattern’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
# 1157|           char *alist;
# 1158|   
# 1159|->         strcpy(str, lstr);
# 1160|           if (pat->drop_extn) {
# 1161|               char *dot = str + len;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def51]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c:1177:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)(xlen + 1))’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/base/genconf.c: scope_hint: In function ‘write_list_pattern’
<built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null
# 1175|           /* We repeat str for the benefit of patterns that */
# 1176|           /* need the argument substituted in more than one place. */
# 1177|->         sprintf(xstr, pat->pattern, str, str, str);
# 1178|           /* Check to make sure the item is within the scope of */
# 1179|           /* an appropriate #ifdef, if necessary. */

Error: CPPCHECK_WARNING (CWE-190): [#def52]
ghostscript-10.04.0-build/ghostscript-10.04.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-758): [#def53]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsalloc.c:1068: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1066|       if (val < MIN_VM_THRESHOLD)
# 1067|           val = MIN_VM_THRESHOLD;
# 1068|->     else if (val > MAX_VM_THRESHOLD)
# 1069|           val = MAX_VM_THRESHOLD;
# 1070|       gs_memory_gc_status(mem, &stat);

Error: CPPCHECK_WARNING (CWE-758): [#def54]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsalloc.c:1069: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1067|           val = MIN_VM_THRESHOLD;
# 1068|       else if (val > MAX_VM_THRESHOLD)
# 1069|->         val = MAX_VM_THRESHOLD;
# 1070|       gs_memory_gc_status(mem, &stat);
# 1071|       stat.vm_threshold = val;

Error: CPPCHECK_WARNING (CWE-190): [#def55]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def56]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def57]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def58]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-190): [#def59]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def60]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def61]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def62]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-562): [#def63]
ghostscript-10.04.0-build/ghostscript-10.04.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: COMPILER_WARNING (CWE-758): [#def64]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gscspace.c:679:1: warning[-Wmissing-prototypes]: no previous prototype for ‘check_rgb_color_model_comps’
#  679 | check_rgb_color_model_comps(gx_device * dev)
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#  677|   
#  678|   void
#  679|-> check_rgb_color_model_comps(gx_device * dev)
#  680|   {
#  681|       gx_device_color_info *          pcinfo = &dev->color_info;

Error: CPPCHECK_WARNING (CWE-758): [#def65]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdevice.c:1102: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1100|                               if (strchr("0123456789", pfn->fname[i])) {
# 1101|                                   width[field] = width[field] * 10 + pfn->fname[i] - '0';
# 1102|->                                 if (width[field] > max_int)
# 1103|   	                                return_error(gs_error_undefinedfilename);
# 1104|                                   continue;

Error: CPPCHECK_WARNING (CWE-758): [#def66]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdevice.c:1132: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1130|           w = max(width[0], width[1]);
# 1131|           w = max(w, int_width) + 5;
# 1132|->         if (w > max_int)
# 1133|               return_error(gs_error_undefinedfilename);
# 1134|       }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def67]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdevice.c: scope_hint: In function ‘gx_device_delete_output_file’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdevice.c:1245:30: warning[-Wanalyzer-null-argument]: use of NULL ‘fmt’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
# 1243|           else
# 1244|               gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname, (int)count1);
# 1245|->     } else if (parsed.len && strchr(parsed.fname, '%'))	/* filename with "%%" but no "%nnd" */
# 1246|           gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname);
# 1247|       else

Error: GCC_ANALYZER_WARNING (CWE-688): [#def68]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdevice.c: scope_hint: In function ‘gx_device_open_output_file’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdevice.c:1322:30: warning[-Wanalyzer-null-argument]: use of NULL ‘fmt’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
# 1320|           else
# 1321|               gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname, (int)count1);
# 1322|->     } else if (parsed.len && strchr(parsed.fname, '%'))	/* filename with "%%" but no "%nnd" */
# 1323|           gs_snprintf(pfname, gp_file_name_sizeof, parsed.fname);
# 1324|       else

Error: CPPCHECK_WARNING (CWE-457): [#def69]
ghostscript-10.04.0-build/ghostscript-10.04.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-758): [#def70]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdps1.c:71: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   69|       /* Because we can't predict the magnitude of the dbox values, */
#   70|       /* we add/subtract the slop after fixing. */
#   71|->     if (dbox.p.x < fixed2float(min_fixed + box_rounding_slop_fixed) ||
#   72|           dbox.p.y < fixed2float(min_fixed + box_rounding_slop_fixed) ||
#   73|           dbox.q.x >= fixed2float(max_fixed - box_rounding_slop_fixed + fixed_epsilon) ||

Error: CPPCHECK_WARNING (CWE-758): [#def71]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdps1.c:72: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   70|       /* we add/subtract the slop after fixing. */
#   71|       if (dbox.p.x < fixed2float(min_fixed + box_rounding_slop_fixed) ||
#   72|->         dbox.p.y < fixed2float(min_fixed + box_rounding_slop_fixed) ||
#   73|           dbox.q.x >= fixed2float(max_fixed - box_rounding_slop_fixed + fixed_epsilon) ||
#   74|           dbox.q.y >= fixed2float(max_fixed - box_rounding_slop_fixed + fixed_epsilon)

Error: CPPCHECK_WARNING (CWE-758): [#def72]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdps1.c:73: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   71|       if (dbox.p.x < fixed2float(min_fixed + box_rounding_slop_fixed) ||
#   72|           dbox.p.y < fixed2float(min_fixed + box_rounding_slop_fixed) ||
#   73|->         dbox.q.x >= fixed2float(max_fixed - box_rounding_slop_fixed + fixed_epsilon) ||
#   74|           dbox.q.y >= fixed2float(max_fixed - box_rounding_slop_fixed + fixed_epsilon)
#   75|           )

Error: CPPCHECK_WARNING (CWE-758): [#def73]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdps1.c:74: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   72|           dbox.p.y < fixed2float(min_fixed + box_rounding_slop_fixed) ||
#   73|           dbox.q.x >= fixed2float(max_fixed - box_rounding_slop_fixed + fixed_epsilon) ||
#   74|->         dbox.q.y >= fixed2float(max_fixed - box_rounding_slop_fixed + fixed_epsilon)
#   75|           )
#   76|           return_error(gs_error_limitcheck);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:46: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c: scope_hint: In function ‘_put_params’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gserrors.h:140:41: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gserrors.h:142:28: note: in expansion of macro ‘gs_log_error’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gserrors.h:143:34: note: in expansion of macro ‘gs_note_error’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3463:13: note: in expansion of macro ‘return_error’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gserrors.h:142:28: note: in expansion of macro ‘gs_log_error’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gserrors.h:143:34: note: in expansion of macro ‘gs_note_error’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3463:13: note: in expansion of macro ‘return_error’
#  138|   int gs_log_error(int, const char *, int);
#  139|   #if !defined(DEBUG)
#  140|-> #  define gs_log_error(err, file, line) (err)
#  141|   #endif
#  142|   #define gs_note_error(err) gs_log_error(err, __FILE__, __LINE__)

Error: CPPCHECK_WARNING (CWE-758): [#def75]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsfcmap.c:299: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  297|       pcmap->id = gs_next_ids(mem, num_fonts);
#  298|       pcmap->num_fonts = num_fonts;
#  299|->     uid_set_invalid(&pcmap->uid);
#  300|   }
#  301|   

Error: CPPCHECK_WARNING (CWE-758): [#def76]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsfont.c:390: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  388|       pfont->FontBBox.p.x = pfont->FontBBox.p.y =
#  389|           pfont->FontBBox.q.x = pfont->FontBBox.q.y = 0;
#  390|->     uid_set_invalid(&pfont->UID);
#  391|       pfont->encoding_index = pfont->nearest_encoding_index = -1;
#  392|       return pfont;

Error: CPPCHECK_WARNING (CWE-758): [#def77]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsfont.c:920: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  918|               }
#  919|               if (glyph_info.width[wmode].y != 0)
#  920|->                 fixed_width = min_int;
#  921|               else if (fixed_width == 0)
#  922|                   fixed_width = (int)glyph_info.width[wmode].x;

Error: CPPCHECK_WARNING (CWE-758): [#def78]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsfont.c:924: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  922|                   fixed_width = (int)glyph_info.width[wmode].x;
#  923|               else if (glyph_info.width[wmode].x != fixed_width)
#  924|->                 fixed_width = min_int;
#  925|               has_glyphs = true;
#  926|           }

Error: CPPCHECK_WARNING (CWE-457): [#def79]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def80]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-758): [#def81]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsfunc4.c:329: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  327|               if (vsp->value.i == 0)
#  328|                   return_error(gs_error_undefinedresult);
#  329|->             if (vsp[-1].value.i == min_int &&
#  330|                   vsp->value.i == -1)  /* anomalous boundary case, fail */
#  331|                   return_error(gs_error_rangecheck);

Error: CPPCHECK_WARNING (CWE-758): [#def82]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsfunc4.c:350: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  348|               double prod = (double)vsp[-1].value.i * vsp->value.i;
#  349|   
#  350|->             if (prod < min_int || prod > max_int)
#  351|                   store_float(vsp - 1, prod);
#  352|               else

Error: CPPCHECK_WARNING (CWE-758): [#def83]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsfunc4.c:364: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  362|               /* fallthrough */
#  363|           case PtCr_neg_int:
#  364|->             if (vsp->value.i == min_int)
#  365|                   store_float(vsp, (double)vsp->value.i); /* =self negated */
#  366|               else

Error: CPPCHECK_WARNING (CWE-758): [#def84]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsht.c:1056: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1054|           lcm_width /= dw;
# 1055|           lcm_height /= dh;
# 1056|->         lcm_width = (w > max_int / lcm_width ? max_int : lcm_width * w);
# 1057|           lcm_height = (h > max_int / lcm_height ? max_int : lcm_height * h);
# 1058|   

Error: CPPCHECK_WARNING (CWE-758): [#def85]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsht.c:1057: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1055|           lcm_height /= dh;
# 1056|           lcm_width = (w > max_int / lcm_width ? max_int : lcm_width * w);
# 1057|->         lcm_height = (h > max_int / lcm_height ? max_int : lcm_height * h);
# 1058|   
# 1059|           if (porder->cache == 0) {

Error: CPPCHECK_WARNING (CWE-758): [#def86]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gshtscr.c:356: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  354|        * give up (silly values).
#  355|        */
#  356|->     if ((fabs(u0) + fabs(v0)) < ((double)5.0 / max_int))
#  357|           return_error(gs_error_rangecheck);
#  358|   

Error: CPPCHECK_WARNING (CWE-758): [#def87]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gshtscr.c:400: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  398|                   /* against max_size. */
#  399|                   raster = bitmap_raster(wt);
#  400|->                 if (raster > max_size / p.D || raster > max_long / wt)
#  401|                       continue;
#  402|   #ifdef DEBUG

Error: GCC_ANALYZER_WARNING (CWE-457): [#def88]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gshtx.c: scope_hint: In function ‘gs_ht_install’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gshtx.c:422:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘comp2order[i]’
#  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: GCC_ANALYZER_WARNING (CWE-476): [#def89]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_cache.c: scope_hint: In function ‘gsicc_transform_named_color’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_cache.c:1772:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_cache.c:21: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:268:6: note: in definition of macro ‘gs_alloc_byte_array’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_cache.c:1476:30: note: in expansion of macro ‘gs_malloc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxblend.h:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstrans.h:25: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxgstate.h:33: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_cache.c:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_cache.c:998:16: note: in expansion of macro ‘dev_proc’
# 1770|                                               curr_output_profile, rendering_params,
# 1771|                                               pgs->memory, false);
# 1772|->             if (icc_link->is_identity) {
# 1773|                   psrc_temp = &(psrc[0]);
# 1774|               } else {

Error: CPPCHECK_WARNING (CWE-562): [#def90]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def91]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def92]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def93]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-457): [#def94]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_create.c:3285: warning[uninitvar]: Uninitialized variable: tag_signature
# 3283|           buffer += 12;
# 3284|       }
# 3285|->     if (tag_signature != icSigMediaWhitePointTag)
# 3286|           return false;
# 3287|       buffer += 4;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def95]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_create.c: scope_hint: In function ‘get_mediawp’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_create.c:3285:8: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tag_signature’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_create.c: scope_hint: In function ‘get_mediawp’
# 3283|           buffer += 12;
# 3284|       }
# 3285|->     if (tag_signature != icSigMediaWhitePointTag)
# 3286|           return false;
# 3287|       buffer += 4;

Error: COMPILER_WARNING (CWE-457): [#def96]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_create.c:3285:8: warning[-Wmaybe-uninitialized]: ‘tag_signature’ may be used uninitialized
# 3285 |     if (tag_signature != icSigMediaWhitePointTag)
#      |        ^
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_create.c: scope_hint: In function ‘gsicc_create_getv2buffer’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_create.c:3272:9: note: ‘tag_signature’ was declared here
# 3272 |     int tag_signature;
#      |         ^~~~~~~~~~~~~
# 3283|           buffer += 12;
# 3284|       }
# 3285|->     if (tag_signature != icSigMediaWhitePointTag)
# 3286|           return false;
# 3287|       buffer += 4;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gscms.h:25: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsdcolor.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcmap.h:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxgstate.h:27: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_manage.c:27: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_manage.c: scope_hint: In function ‘gsicc_adjust_profile_rc.part.0’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_manage.c:577:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘profile_data’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxsync.h:79:51: note: in definition of macro ‘gx_monitor_leave’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxgstate.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:175:3: note: in expansion of macro ‘rc_adjust_’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_manage.c:576:13: note: in expansion of macro ‘rc_adjust’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:168:9: note: in expansion of macro ‘rc_free_struct’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:175:3: note: in expansion of macro ‘rc_adjust_’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsicc_manage.c:576:13: note: in expansion of macro ‘rc_adjust’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxsync.h:79:51: note: in definition of macro ‘gx_monitor_leave’
#  575|           } else {
#  576|               rc_adjust(profile_data, delta, name_str);
#  577|->             gx_monitor_leave(profile_data->lock);
#  578|           }
#  579|       }

Error: CPPCHECK_WARNING (CWE-758): [#def98]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsimage.c:572: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  570|       for (;;) {
#  571|           /* If wanted can vary, only transfer 1 row at a time. */
#  572|->         int h = (penum->wanted_varies ? 1 : max_int);
#  573|   
#  574|           /* Move partial rows from source[] to row[]. */

Error: CPPCHECK_WARNING (CWE-758): [#def99]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsioram.c:292: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  290|       int count;
#  291|   
#  292|->     if (s->file_limit < S_FILE_LIMIT_MAX) {
#  293|       long limit_count = s->file_offset + s->file_limit -
#  294|       ramfile_tell(file);

Error: CPPCHECK_WARNING (CWE-758): [#def100]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsioram.c:322: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  320|       s->file_modes = s->modes;
#  321|       s->file_offset = 0;        /* in case we switch to reading later */
#  322|->     s->file_limit = S_FILE_LIMIT_MAX;
#  323|   }
#  324|   

Error: CPPCHECK_WARNING (CWE-758): [#def101]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsiorom.c:122: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  120|       s->file_modes = s->modes;
#  121|       s->file_offset = 0;
#  122|->     s->file_limit = S_FILE_LIMIT_MAX;
#  123|   }
#  124|   

Error: CPPCHECK_WARNING (CWE-758): [#def102]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsiorom.c:201: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  199|       if (s->position + (s->cursor.r.limit - s->cbuf + 1) >= filelen || block_data == NULL)
#  200|           return EOFC;			/* at EOF */
#  201|->     if (s->file_limit < S_FILE_LIMIT_MAX) {
#  202|           /* Adjust count for subfile limit */
#  203|           uint32_t limit_count = s->file_offset + s->file_limit - s->position;

Error: GCC_ANALYZER_WARNING: [#def103]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsiorom.c: scope_hint: In function ‘s_block_read_process’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsiorom.c:235:13: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/string_.h:32: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsiorom.c:30: included_from: Included from here.
/usr/include/string.h:43:14: note: the behavior of ‘memcpy’ is undefined for overlapping buffers
#  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): [#def104]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-758): [#def105]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmatrix.c:502: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  500|                   return code;
#  501|               FINISH_DFMUL2FIXED_VARS(t, xtemp);
#  502|->             if ((code = CHECK_SET_FIXED_SUM(px, px, t)) < 0)
#  503|                   return code;
#  504|           }

Error: CPPCHECK_WARNING (CWE-758): [#def106]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmatrix.c:509: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  507|                   return code;
#  508|               FINISH_DFMUL2FIXED_VARS(t, ytemp);
#  509|->             if ((code = CHECK_SET_FIXED_SUM(py, py, t)) < 0)
#  510|                   return code;
#  511|           }

Error: CPPCHECK_WARNING (CWE-758): [#def107]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmatrix.c:523: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  521|                   return code;
#  522|               FINISH_DFMUL2FIXED_VARS(t, ytemp);
#  523|->             if ((code = CHECK_SET_FIXED_SUM(px, px, t)) < 0)
#  524|                   return code;
#  525|           }

Error: CPPCHECK_WARNING (CWE-758): [#def108]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmatrix.c:527: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  525|           }
#  526|       }
#  527|->     if (((code = CHECK_SET_FIXED_SUM(ppt->x, px, pmat->tx_fixed)) < 0) ||
#  528|           ((code = CHECK_SET_FIXED_SUM(ppt->y, py, pmat->ty_fixed)) < 0) )
#  529|           return code;

Error: CPPCHECK_WARNING (CWE-758): [#def109]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmatrix.c:528: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  526|       }
#  527|       if (((code = CHECK_SET_FIXED_SUM(ppt->x, px, pmat->tx_fixed)) < 0) ||
#  528|->         ((code = CHECK_SET_FIXED_SUM(ppt->y, py, pmat->ty_fixed)) < 0) )
#  529|           return code;
#  530|       return 0;

Error: CPPCHECK_WARNING (CWE-758): [#def110]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmatrix.c:571: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  569|               return code;
#  570|           FINISH_DFMUL2FIXED_VARS(t, ytemp);
#  571|->         if ((code = CHECK_SET_FIXED_SUM(px, px, t)) < 0)
#  572|               return code;
#  573|       }

Error: CPPCHECK_WARNING (CWE-758): [#def111]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmatrix.c:578: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  576|               return code;
#  577|           FINISH_DFMUL2FIXED_VARS(t, xtemp);
#  578|->         if ((code = CHECK_SET_FIXED_SUM(py, py, t)) < 0)
#  579|               return code;
#  580|       }

Error: CPPCHECK_WARNING (CWE-758): [#def112]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.c:93: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   91|   
#   92|       for (; msize; msize -= isize, p += isize) {
#   93|->         isize = min(msize, max_int);
#   94|           memset(p, fill, isize);
#   95|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def113]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsparaml.c: scope_hint: In function ‘out_string’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsparaml.c:760:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘str’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsparaml.c: scope_hint: In function ‘out_string’
#  758|       out->last = str[slen-1];
#  759|       if (out->value != NULL) {
#  760|->         memcpy(out->value, str, slen);
#  761|           out->value += slen;
#  762|           *out->value = 0;

Error: CPPCHECK_WARNING (CWE-758): [#def114]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gspath.c:88: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   86|   clamp_point(gs_fixed_point * ppt, double x, double y)
#   87|   {
#   88|->     ppt->x = clamp_coord(x);
#   89|       ppt->y = clamp_coord(y);
#   90|   }

Error: CPPCHECK_WARNING (CWE-758): [#def115]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gspath.c:89: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   87|   {
#   88|       ppt->x = clamp_coord(x);
#   89|->     ppt->y = clamp_coord(y);
#   90|   }
#   91|   

Error: CPPCHECK_WARNING (CWE-758): [#def116]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gspath1.c:222: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  220|           ar = -ar;
#  221|       }
#  222|->     if (ang1 > (max_int - 360) || ang2 > (max_int - 360))
#  223|           return_error(gs_error_limitcheck);
#  224|   

Error: CPPCHECK_WARNING (CWE-758): [#def117]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gspath1.c:607: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  605|           if (copied_path == 0)
#  606|               return_error(gs_error_VMerror);
#  607|->         code = gx_path_copy(pgs->path, copied_path);
#  608|           if (code < 0) {
#  609|               gx_path_free(copied_path, "gs_path_enum_init");

Error: CPPCHECK_WARNING (CWE-758): [#def118]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gspcolor.c:79: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   77|       ppat->type = type;
#   78|       ppat->PatternType = type->PatternType;
#   79|->     uid_set_invalid(&ppat->uid);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def119]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c: scope_hint: In function ‘image_PaintProc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c:1012:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c: scope_hint: In function ‘image_PaintProc’
# 1010|        * Otherwise we want to use image type 1 processing.
# 1011|        */
# 1012|->     int transparent = ppmap->white_index < (1 << (pbitmap->num_comps * pbitmap->pix_depth));
# 1013|   
# 1014|       /*

Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c: scope_hint: In function ‘pixmap_high_level_pattern’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c:1159:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c: scope_hint: In function ‘pixmap_high_level_pattern’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c: scope_hint: In function ‘pixmap_high_level_pattern’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcolor2.h:27: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c:30: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:844:28: note: in definition of macro ‘dev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:120:34: note: in definition of macro ‘float2fixed’
# 1157|       }
# 1158|   
# 1159|->     if (ppmap->pcspace != 0)
# 1160|           code = image_PaintProc(&pdc->ccolor, pgs);
# 1161|       else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c: scope_hint: In function ‘pixmap_remap_mask_pattern’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c:1202:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pinst’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:844:28: note: in definition of macro ‘dev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c: scope_hint: In function ‘pixmap_remap_mask_pattern’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:844:28: note: in definition of macro ‘dev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:844:28: note: in definition of macro ‘dev_proc’
# 1200|        */
# 1201|       if (pgs->have_pattern_streams)
# 1202|->         code = dev_proc(pcc->pattern->saved->device, dev_spec_op)(pcc->pattern->saved->device,
# 1203|                                   gxdso_pattern_can_accum, (void *)ppat, ppat->uid.id);
# 1204|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c: scope_hint: In function ‘pixmap_remap_image_pattern’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c:1230:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pinst’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:844:28: note: in definition of macro ‘dev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c: scope_hint: In function ‘pixmap_remap_image_pattern’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:844:28: note: in definition of macro ‘dev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:844:28: note: in definition of macro ‘dev_proc’
# 1228|        */
# 1229|       if (pgs->have_pattern_streams)
# 1230|->         code = dev_proc(pcc->pattern->saved->device, dev_spec_op)(pcc->pattern->saved->device,
# 1231|                                   gxdso_pattern_can_accum, (void *)ppat, ppat->uid.id);
# 1232|   

Error: CPPCHECK_WARNING (CWE-758): [#def123]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsptype1.c:1300: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1298|       /* set up the client pattern structure */
# 1299|       gs_pattern1_init(&pat);
# 1300|->     uid_set_UniqueID(&pat.uid, (id == no_UniqueID) ? gs_next_ids(mem, 1) : id);
# 1301|       pat.PaintType = (mask ? 2 : 1);
# 1302|       pat.TilingType = 1;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def124]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gssprintf.c: scope_hint: In function ‘conv_fp’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gssprintf.c:583:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘p’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/math_.h:29: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gssprintf.c:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gssprintf.c: scope_hint: In function ‘conv_fp’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gssprintf.c: scope_hint: In function ‘conv_fp’
#  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): [#def125]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsstate.c: scope_hint: In function ‘gstate_clone_core’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsstate.c:1327:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pfrom’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstext.h:27: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxtext.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:37: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxblend.h:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstrans.h:25: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxgstate.h:33: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gzstate.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsstate.c:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsstate.c:1240:10: note: in expansion of macro ‘gx_path_alloc’
# 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): [#def126]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def127]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-758): [#def128]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:89: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   87|          which is a weaker limit.
#   88|        */
#   89|->     if (any_abs(lw / denom) > max_int_in_fixed) {
#   90|           return_error(gs_error_rangecheck);
#   91|       }

Error: GCC_ANALYZER_WARNING (CWE-127): [#def129]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/math_.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:18: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c: scope_hint: In function ‘gs_type1_interpret’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:198:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:88:28: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:111:28: note: in expansion of macro ‘fixed2int’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:198:21: note: in expansion of macro ‘fixed2int_var’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:31: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:158:5: note: in expansion of macro ‘INIT_CSTACK’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:173:9: note: in expansion of macro ‘charstring_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:197:17: note: in expansion of macro ‘CS_CHECK_POP’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:88:28: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:111:28: note: in expansion of macro ‘fixed2int’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:198:21: note: in expansion of macro ‘fixed2int_var’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:88:28: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:111:28: note: in expansion of macro ‘fixed2int’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:198:21: note: in expansion of macro ‘fixed2int_var’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:198:35: note: valid subscripts for ‘cstack’ are ‘[0]’ to ‘[47]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:88:28: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:111:28: note: in expansion of macro ‘fixed2int’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:198:21: note: in expansion of macro ‘fixed2int_var’
#  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-124): [#def130]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:428:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:158:5: note: in expansion of macro ‘INIT_CSTACK’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:173:9: note: in expansion of macro ‘charstring_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:427:25: note: in expansion of macro ‘CS_CHECK_POP’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:120:34: note: in definition of macro ‘float2fixed’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:428:33: note: valid subscripts for ‘cstack’ are ‘[0]’ to ‘[47]’
#  426|                       case ce1_div:
#  427|                           CS_CHECK_POP(&csp[-1], cstack);
#  428|->                         csp[-1] = float2fixed((double)csp[-1] / (double)*csp);
#  429|                           --csp;
#  430|                           goto pushed;

Error: GCC_ANALYZER_WARNING (CWE-127): [#def131]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:428:58: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:120:34: note: in definition of macro ‘float2fixed’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:158:5: note: in expansion of macro ‘INIT_CSTACK’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:173:9: note: in expansion of macro ‘charstring_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:427:25: note: in expansion of macro ‘CS_CHECK_POP’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:120:34: note: in definition of macro ‘float2fixed’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:120:34: note: in definition of macro ‘float2fixed’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:428:58: note: valid subscripts for ‘cstack’ are ‘[0]’ to ‘[47]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:120:34: note: in definition of macro ‘float2fixed’
#  426|                       case ce1_div:
#  427|                           CS_CHECK_POP(&csp[-1], cstack);
#  428|->                         csp[-1] = float2fixed((double)csp[-1] / (double)*csp);
#  429|                           --csp;
#  430|                           goto pushed;

Error: GCC_ANALYZER_WARNING (CWE-127): [#def132]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:428:73: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:120:34: note: in definition of macro ‘float2fixed’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:158:5: note: in expansion of macro ‘INIT_CSTACK’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:173:9: note: in expansion of macro ‘charstring_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:427:25: note: in expansion of macro ‘CS_CHECK_POP’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:120:34: note: in definition of macro ‘float2fixed’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:120:34: note: in definition of macro ‘float2fixed’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:428:73: note: valid subscripts for ‘cstack’ are ‘[0]’ to ‘[47]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:120:34: note: in definition of macro ‘float2fixed’
#  426|                       case ce1_div:
#  427|                           CS_CHECK_POP(&csp[-1], cstack);
#  428|->                         csp[-1] = float2fixed((double)csp[-1] / (double)*csp);
#  429|                           --csp;
#  430|                           goto pushed;

Error: GCC_ANALYZER_WARNING (CWE-127): [#def133]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:441:61: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:88:28: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:111:28: note: in expansion of macro ‘fixed2int’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:441:47: note: in expansion of macro ‘fixed2int_var’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:158:5: note: in expansion of macro ‘INIT_CSTACK’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:173:9: note: in expansion of macro ‘charstring_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:88:28: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:111:28: note: in expansion of macro ‘fixed2int’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:441:47: note: in expansion of macro ‘fixed2int_var’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:441:61: note: valid subscripts for ‘cstack’ are ‘[0]’ to ‘[47]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:88:28: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:111:28: note: in expansion of macro ‘fixed2int’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:441:47: note: in expansion of macro ‘fixed2int_var’
#  439|                               /* We must remember to pop both the othersubr # */
#  440|                               /* and the argument count off the stack. */
#  441|->                             switch (*pindex = fixed2int_var(*csp)) {
#  442|                                   case 0:
#  443|                                       if (!CS_CHECK_CSTACK_BOUNDS(&csp[-4], cstack))

Error: GCC_ANALYZER_WARNING (CWE-127): [#def134]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:446:47: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:158:5: note: in expansion of macro ‘INIT_CSTACK’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:173:9: note: in expansion of macro ‘charstring_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:446:47: note: valid subscripts for ‘cstack’ are ‘[0]’ to ‘[47]’
#  444|                                           return_error(gs_error_invalidfont);
#  445|                                       {
#  446|->                                         fixed fheight = csp[-4];
#  447|                                           /* Assume the next two opcodes */
#  448|                                           /* are `pop' `pop'.  Unfortunately, some */

Error: GCC_ANALYZER_WARNING (CWE-124): [#def135]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:453:49: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:158:5: note: in expansion of macro ‘INIT_CSTACK’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:173:9: note: in expansion of macro ‘charstring_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:453:49: note: valid subscripts for ‘cstack’ are ‘[0]’ to ‘[47]’
#  451|                                           /* opcode stream. */
#  452|                                           pcis->ignore_pops = 2;
#  453|->                                         csp[-4] = csp[-3] - pcis->asb_diff;
#  454|                                           csp[-3] = csp[-2];
#  455|                                           csp -= 3;

Error: GCC_ANALYZER_WARNING (CWE-127): [#def136]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:453:54: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:158:5: note: in expansion of macro ‘INIT_CSTACK’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:173:9: note: in expansion of macro ‘charstring_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:453:54: note: valid subscripts for ‘cstack’ are ‘[0]’ to ‘[47]’
#  451|                                           /* opcode stream. */
#  452|                                           pcis->ignore_pops = 2;
#  453|->                                         csp[-4] = csp[-3] - pcis->asb_diff;
#  454|                                           csp[-3] = csp[-2];
#  455|                                           csp -= 3;

Error: GCC_ANALYZER_WARNING (CWE-127): [#def137]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:454:49: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:158:5: note: in expansion of macro ‘INIT_CSTACK’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:173:9: note: in expansion of macro ‘charstring_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:454:49: note: valid subscripts for ‘cstack’ are ‘[0]’ to ‘[47]’
#  452|                                           pcis->ignore_pops = 2;
#  453|                                           csp[-4] = csp[-3] - pcis->asb_diff;
#  454|->                                         csp[-3] = csp[-2];
#  455|                                           csp -= 3;
#  456|                                           code = t1_hinter__flex_end(h, fheight);

Error: GCC_ANALYZER_WARNING (CWE-124): [#def138]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:454:49: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:158:5: note: in expansion of macro ‘INIT_CSTACK’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:173:9: note: in expansion of macro ‘charstring_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype1.c:454:49: note: valid subscripts for ‘cstack’ are ‘[0]’ to ‘[47]’
#  452|                                           pcis->ignore_pops = 2;
#  453|                                           csp[-4] = csp[-3] - pcis->asb_diff;
#  454|->                                         csp[-3] = csp[-2];
#  455|                                           csp -= 3;
#  456|                                           code = t1_hinter__flex_end(h, fheight);

Error: CPPCHECK_WARNING (CWE-758): [#def139]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype2.c:772: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  770|   
#  771|                               csp[-1] =
#  772|->                                 (prod > max_fixed ? max_fixed :
#  773|                                    prod < min_fixed ? min_fixed : (fixed)prod);
#  774|                           }

Error: CPPCHECK_WARNING (CWE-758): [#def140]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype2.c:773: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  771|                               csp[-1] =
#  772|                                   (prod > max_fixed ? max_fixed :
#  773|->                                  prod < min_fixed ? min_fixed : (fixed)prod);
#  774|                           }
#  775|                           --csp;

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

Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype42.c: scope_hint: In function ‘gs_woff_pop_flate_filter’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype42.c:2114:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype42.c:2174:15: note: in expansion of macro ‘u32’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstype42.c:2180:15: note: in expansion of macro ‘U16’
# 2112|   gs_woff_pop_flate_filter(stream *s)
# 2113|   {
# 2114|->     gs_memory_t *mem = s->memory;
# 2115|       stream *strm = s->strm;
# 2116|       byte *buf = s->cbuf;

Error: CPPCHECK_WARNING (CWE-758): [#def143]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:101: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   99|       fixed upperx = pbox->q.x;
#  100|       fixed uppery = pbox->q.y;
#  101|->     if (upperx > max_fixed - fixed_scale - 1)
#  102|           upperx = max_fixed - fixed_scale - 1;
#  103|       if (uppery > max_fixed - fixed_scale - 1)

Error: CPPCHECK_WARNING (CWE-758): [#def144]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:102: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  100|       fixed uppery = pbox->q.y;
#  101|       if (upperx > max_fixed - fixed_scale - 1)
#  102|->         upperx = max_fixed - fixed_scale - 1;
#  103|       if (uppery > max_fixed - fixed_scale - 1)
#  104|           uppery = max_fixed - fixed_scale - 1;

Error: CPPCHECK_WARNING (CWE-758): [#def145]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:103: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  101|       if (upperx > max_fixed - fixed_scale - 1)
#  102|           upperx = max_fixed - fixed_scale - 1;
#  103|->     if (uppery > max_fixed - fixed_scale - 1)
#  104|           uppery = max_fixed - fixed_scale - 1;
#  105|       if (padev->list.transpose) {

Error: CPPCHECK_WARNING (CWE-758): [#def146]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:104: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  102|           upperx = max_fixed - fixed_scale - 1;
#  103|       if (uppery > max_fixed - fixed_scale - 1)
#  104|->         uppery = max_fixed - fixed_scale - 1;
#  105|       if (padev->list.transpose) {
#  106|           padev->clip_box.p.x = fixed2int_var(pbox->p.y);

Error: CPPCHECK_WARNING (CWE-758): [#def147]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:269: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  267|   
#  268|       gx_clip_list_init(&adev->list);
#  269|->     adev->bbox.p.x = adev->bbox.p.y = fixed2int(max_fixed);
#  270|       adev->bbox.q.x = adev->bbox.q.y = fixed2int(min_fixed);
#  271|       adev->clip_box.p.x = adev->clip_box.p.y = fixed2int(min_fixed);

Error: CPPCHECK_WARNING (CWE-758): [#def148]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:270: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  268|       gx_clip_list_init(&adev->list);
#  269|       adev->bbox.p.x = adev->bbox.p.y = fixed2int(max_fixed);
#  270|->     adev->bbox.q.x = adev->bbox.q.y = fixed2int(min_fixed);
#  271|       adev->clip_box.p.x = adev->clip_box.p.y = fixed2int(min_fixed);
#  272|       adev->clip_box.q.x = adev->clip_box.q.y = fixed2int(max_fixed);

Error: CPPCHECK_WARNING (CWE-758): [#def149]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:271: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  269|       adev->bbox.p.x = adev->bbox.p.y = fixed2int(max_fixed);
#  270|       adev->bbox.q.x = adev->bbox.q.y = fixed2int(min_fixed);
#  271|->     adev->clip_box.p.x = adev->clip_box.p.y = fixed2int(min_fixed);
#  272|       adev->clip_box.q.x = adev->clip_box.q.y = fixed2int(max_fixed);
#  273|       return 0;

Error: CPPCHECK_WARNING (CWE-758): [#def150]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:272: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  270|       adev->bbox.q.x = adev->bbox.q.y = fixed2int(min_fixed);
#  271|       adev->clip_box.p.x = adev->clip_box.p.y = fixed2int(min_fixed);
#  272|->     adev->clip_box.q.x = adev->clip_box.q.y = fixed2int(max_fixed);
#  273|       return 0;
#  274|   }

Error: CPPCHECK_WARNING (CWE-758): [#def151]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:338: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  336|   /* Allocate a rectangle to be added to the list. */
#  337|   static const gx_clip_rect clip_head_rect = {
#  338|->     0, 0, min_int, min_int, min_int, min_int
#  339|   };
#  340|   static const gx_clip_rect clip_tail_rect = {

Error: CPPCHECK_WARNING (CWE-758): [#def152]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:341: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  339|   };
#  340|   static const gx_clip_rect clip_tail_rect = {
#  341|->     0, 0, max_int, max_int, max_int, max_int
#  342|   };
#  343|   static gx_clip_rect *

Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c: scope_hint: In function ‘accum_fill_rectangle’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:484:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:507:5: note: in expansion of macro ‘ACCUM_ALLOC’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:507:5: note: in expansion of macro ‘ACCUM_ALLOC’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:507:5: note: in expansion of macro ‘ACCUM_ALLOC’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:389:17: note: in expansion of macro ‘ACCUM_SET’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxacpath.c:507:5: note: in expansion of macro ‘ACCUM_ALLOC’
#  482|       }
#  483|       else
#  484|->         rptr = adev->list.tail->prev;
#  485|       if (y >= rptr->ymax) {
#  486|           if (y == rptr->ymax && x == rptr->xmin && xe == rptr->xmax &&

Error: CPPCHECK_WARNING (CWE-476): [#def154]
ghostscript-10.04.0-build/ghostscript-10.04.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: GCC_ANALYZER_WARNING (CWE-476): [#def155]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxblend.c: scope_hint: In function ‘template_mark_fill_rect16’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxblend.c:5281:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 5279|                       /* Hybrid case, additive with subtractive spots */
# 5280|                       for (k = 0; k < (num_comp - num_spots); k++) {
# 5281|->                         dst_ptr[k * planestride] = pdst[k];
# 5282|                       }
# 5283|                       for (k = 0; k < num_spots; k++) {

Error: CPPCHECK_WARNING (CWE-758): [#def156]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxccache.c:96: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   94|                               &mxx, &mxy, &myx, &myy);
#   95|       if (font->FontType == ft_composite || font->PaintType != 0) {	/* We can't cache by UID alone. */
#   96|->         uid_set_invalid(&uid);
#   97|       } else {
#   98|           uid = ((gs_font_base *) font)->UID;

Error: CPPCHECK_WARNING (CWE-758): [#def157]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxccache.c:99: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   97|       } else {
#   98|           uid = ((gs_font_base *) font)->UID;
#   99|->         if (uid_is_valid(&uid))
#  100|               font = 0;
#  101|       }

Error: CPPCHECK_WARNING (CWE-758): [#def158]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxccman.c:139: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  137|            i < dir->fmcache.mmax; i++, pair++) {
#  138|           pair->index = i;
#  139|->         fm_pair_init(pair);
#  140|           pair->ttf = 0;
#  141|           pair->ttr = 0;

Error: CPPCHECK_WARNING (CWE-758): [#def159]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxccman.c:340: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  338|       code = uid_copy(&pair->UID, dir->memory->stable_memory, "gx_add_fm_pair");
#  339|       if (code < 0) {
#  340|->         uid_set_invalid(&pair->UID);
#  341|           return code;
#  342|       }

Error: CPPCHECK_WARNING (CWE-758): [#def160]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxccman.c:451: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  449|           }
#  450|   
#  451|->         fm_pair_set_free(pair);
#  452|           code = fm_pair_remove_from_list(dir, pair, &dir->fmcache.used);
#  453|           if (code < 0)

Error: CPPCHECK_WARNING (CWE-190): [#def161]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxccman.c:762: error[integerOverflow]: Signed integer overflow for expression '-(((1<<3)>((8>8)?(8):8))?(1<<3):((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-758): [#def162]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxccman.c:798: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  796|       for (; count--; pair++) {
#  797|           if (pair->font == font) {
#  798|->             if (!force && uid_is_valid(&pair->UID)) {	/* Keep the entry. */
#  799|                   gs_clean_fm_pair(dir, pair);
#  800|               } else {

Error: CPPCHECK_WARNING (CWE-190): [#def163]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def164]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def165]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxchar.c: scope_hint: In function ‘gx_compute_text_oversampling’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxchar.c:412:23: 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: CPPCHECK_WARNING (CWE-758): [#def166]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:294: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  292|            * (max_int, max_int). Hence it doesn't 'stop' cases when y == max_int.
#  293|            * These shouldn't really happen, but let's be sure. */
#  294|->         if (y == max_int)
#  295|               return 0;
#  296|           if ((rptr = rptr->next) != 0)

Error: CPPCHECK_WARNING (CWE-758): [#def167]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1426: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1424|                   /* Our initial scan is done as ints, but we'll convert to
# 1425|                    * fixed later. */
# 1426|->                 cbox.p.x = cbox.p.y = max_int;
# 1427|                   cbox.q.x = cbox.q.y = min_int;
# 1428|                   /* scan the list for the outer bbox */

Error: CPPCHECK_WARNING (CWE-758): [#def168]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1427: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1425|                    * fixed later. */
# 1426|                   cbox.p.x = cbox.p.y = max_int;
# 1427|->                 cbox.q.x = cbox.q.y = min_int;
# 1428|                   /* scan the list for the outer bbox */
# 1429|                   while (curr->next != NULL) {	/* stop before tail */

Error: CPPCHECK_WARNING (CWE-758): [#def169]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1442: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1440|                   /* Clamp the values so they won't overflow when converting to fixed. */
# 1441|   #define SAFE_CONVERT2FIXED(x)  if (x < fixed2int(min_int)) x = fixed2int(min_int); else if (x > fixed2int(max_int)) x = fixed2int(max_int); else x = int2fixed(x);
# 1442|->                 SAFE_CONVERT2FIXED(cbox.p.x);
# 1443|                   SAFE_CONVERT2FIXED(cbox.p.y);
# 1444|                   SAFE_CONVERT2FIXED(cbox.q.x);

Error: CPPCHECK_WARNING (CWE-758): [#def170]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1443: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1441|   #define SAFE_CONVERT2FIXED(x)  if (x < fixed2int(min_int)) x = fixed2int(min_int); else if (x > fixed2int(max_int)) x = fixed2int(max_int); else x = int2fixed(x);
# 1442|                   SAFE_CONVERT2FIXED(cbox.p.x);
# 1443|->                 SAFE_CONVERT2FIXED(cbox.p.y);
# 1444|                   SAFE_CONVERT2FIXED(cbox.q.x);
# 1445|                   SAFE_CONVERT2FIXED(cbox.q.y);

Error: CPPCHECK_WARNING (CWE-758): [#def171]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1444: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1442|                   SAFE_CONVERT2FIXED(cbox.p.x);
# 1443|                   SAFE_CONVERT2FIXED(cbox.p.y);
# 1444|->                 SAFE_CONVERT2FIXED(cbox.q.x);
# 1445|                   SAFE_CONVERT2FIXED(cbox.q.y);
# 1446|   #undef SAFE_CONVERT2FIXED

Error: CPPCHECK_WARNING (CWE-758): [#def172]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1445: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1443|                   SAFE_CONVERT2FIXED(cbox.p.y);
# 1444|                   SAFE_CONVERT2FIXED(cbox.q.x);
# 1445|->                 SAFE_CONVERT2FIXED(cbox.q.y);
# 1446|   #undef SAFE_CONVERT2FIXED
# 1447|               }

Error: CPPCHECK_WARNING (CWE-758): [#def173]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1463: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1461|                   ty = int2fixed(rdev->translation.y);
# 1462|   
# 1463|->             if (tbox.p.x != min_fixed)
# 1464|                   tbox.p.x -= tx;
# 1465|               if (tbox.p.y != min_fixed)

Error: CPPCHECK_WARNING (CWE-758): [#def174]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1465: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1463|               if (tbox.p.x != min_fixed)
# 1464|                   tbox.p.x -= tx;
# 1465|->             if (tbox.p.y != min_fixed)
# 1466|                   tbox.p.y -= ty;
# 1467|               if (tbox.q.x != max_fixed)

Error: CPPCHECK_WARNING (CWE-758): [#def175]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1467: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1465|               if (tbox.p.y != min_fixed)
# 1466|                   tbox.p.y -= ty;
# 1467|->             if (tbox.q.x != max_fixed)
# 1468|                   tbox.q.x -= tx;
# 1469|               if (tbox.q.y != max_fixed)

Error: CPPCHECK_WARNING (CWE-758): [#def176]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1469: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1467|               if (tbox.q.x != max_fixed)
# 1468|                   tbox.q.x -= tx;
# 1469|->             if (tbox.q.y != max_fixed)
# 1470|                   tbox.q.y -= ty;
# 1471|           }

Error: CPPCHECK_WARNING (CWE-758): [#def177]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclip.c:1523: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1521|            * (max_int, max_int). Hence it doesn't 'stop' cases when y == max_int.
# 1522|            * These shouldn't really happen, but let's be sure. */
# 1523|->         if (y == max_int)
# 1524|               return 0;
# 1525|           if ((rptr = rptr->next) != NULL)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def178]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclist.c: scope_hint: In function ‘clist_init_tile_cache’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclist.c:276:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘hsize’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclist.c: scope_hint: In function ‘clist_init_tile_cache’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevice.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclist.c:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclist.c:404:9: note: in expansion of macro ‘dev_proc’
#  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: CPPCHECK_WARNING (CWE-758): [#def179]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclist.c:527: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  525|   
#  526|           for (band = 0; band < nbands; band++, states++) {
#  527|->             static const gx_clist_state cls_initial = { cls_initial_values };
#  528|   
#  529|               *states = cls_initial;

Error: COMPILER_WARNING: [#def180]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclmem.c: scope_hint: In function ‘memfile_get_pdata.isra.0’
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/base/gxclmem.c:21: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def181]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclmem.c: scope_hint: In function ‘memfile_free_mem’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclmem.c:1167:26: warning[-Wanalyzer-deref-before-check]: check of ‘pphys’ for NULL after already dereferencing it
# 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: CPPCHECK_WARNING (CWE-758): [#def182]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1126: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1124|           /* Don't skip segments when expansion is unknown.  */
# 1125|   
# 1126|->         code = cmd_put_path(cdev, re.pcls, ppath, min_fixed, max_fixed,
# 1127|                               op, false, (segment_notes)~0);
# 1128|           if (code < 0)

Error: CPPCHECK_WARNING (CWE-758): [#def183]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1303: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1301|   
# 1302|               if (pattern_size || expansion_code < 0 ) {
# 1303|->                 ymin = min_fixed;
# 1304|                   ymax = max_fixed;
# 1305|               } else {

Error: CPPCHECK_WARNING (CWE-758): [#def184]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1304: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1302|               if (pattern_size || expansion_code < 0 ) {
# 1303|                   ymin = min_fixed;
# 1304|->                 ymax = max_fixed;
# 1305|               } else {
# 1306|                   ymin = int2fixed(re.y - adjust_y);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def185]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c: scope_hint: In function ‘cmd_put_segment’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1574:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&*psw.cmd’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1749:27: note: in expansion of macro ‘A’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1943:21: note: in expansion of macro ‘set_first_point’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1749:27: note: in expansion of macro ‘A’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1751:42: note: in expansion of macro ‘which_side’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1751:42: note: in expansion of macro ‘which_side’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1760:24: note: in expansion of macro ‘cmd_put_rmoveto’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:27: included_from: Included from here.
# 1572|           if (code < 0)
# 1573|               return code;
# 1574|->         memcpy(dp + 1, psw->cmd, len - 1);
# 1575|           psw->len = len;
# 1576|           psw->dp = dp;

Error: CPPCHECK_WARNING (CWE-758): [#def186]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclpath.c:1617: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1615|   far_out(gs_fixed_point out)
# 1616|   {
# 1617|->     return (out.y >= max_fixed/2 || out.y <= -(max_fixed/2) || out.x >= max_fixed/2 || out.x <= -(max_fixed/2));
# 1618|   }
# 1619|   

Error: CPPCHECK_WARNING (CWE-758): [#def187]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclrast.c:620: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  618|       data_x = 0;
#  619|       {
#  620|->         static const gx_clist_state cls_initial = { cls_initial_values };
#  621|   
#  622|           state = cls_initial;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def188]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclrast.c: scope_hint: In function ‘clist_playback_band’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclrast.c:1492:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘image_info’
# 1490|                           if (data_height == 0) {
# 1491|                               if_debug0m('L', mem, " done image\n");
# 1492|->                             code = gx_image_end(image_info, true);
# 1493|                               if (code < 0)
# 1494|                                   goto out;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def189]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclrast.c:1504:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘image_info’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclrast.c:1502:29: note: in expansion of macro ‘cmd_getw’
# 1502|                               cmd_getw(flags, cbp);
# 1503|                               for (plane = 0;
# 1504|->                                  plane < image_info->num_planes;
# 1505|                                    ++plane, flags >>= 1) {
# 1506|                                   if (flags & 1) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def190]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclrast.c:1527:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘image_info’
# 1525|                           if (data_height == 0) {
# 1526|                               if_debug0m('L', mem, " done image\n");
# 1527|->                             code = gx_image_end(image_info, true);
# 1528|                               if (code < 0)
# 1529|                                   goto out;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def191]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclrast.c:1540:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘image_info’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclrast.c:1536:29: note: in expansion of macro ‘cmd_getw’
# 1538|                                          data_height, bytes_per_plane);
# 1539|                               for (plane = 0;
# 1540|->                                  plane < image_info->num_planes;
# 1541|                                    ++plane
# 1542|                                    ) {

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

Error: GCC_ANALYZER_WARNING (CWE-457): [#def193]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclthrd.c: scope_hint: In function ‘clist_render_thread_no_output_fn’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxclthrd.c:904:8: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘code’
#  902|           (endtime[1] - starttime[1]) / 1000000;
#  903|   #endif
#  904|->     if (code < 0)
#  905|           thread->status = THREAD_ERROR;          /* shouldn't happen */
#  906|       else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def194]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcmap.c: scope_hint: In function ‘cmap_separation_direct’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcmap.c:1516:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cv[j]’
# 1514|           int j;
# 1515|           for (j = 0; j < num_additives; j++)
# 1516|->             cv[j] = 65535 - cv[j];
# 1517|       }
# 1518|       /* Copy tags untransformed. */

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

Error: CPPCHECK_WARNING (CWE-758): [#def196]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:107: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  105|           0,       /* next */
#  106|           0,       /* prev */
#  107|->         min_int, /* ymin */
#  108|           max_int, /* ymax */
#  109|           0,       /* xmin */

Error: CPPCHECK_WARNING (CWE-758): [#def197]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:108: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  106|           0,       /* prev */
#  107|           min_int, /* ymin */
#  108|->         max_int, /* ymax */
#  109|           0,       /* xmin */
#  110|           0,       /* xmax */

Error: CPPCHECK_WARNING (CWE-758): [#def198]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:807: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  805|       pr->v = (s >= 0 ? pr->v << s : pr->v >> -s)
#  806|   
#  807|->                 SCALE_V(xmin, log2_scale_x);
#  808|                   SCALE_V(xmax, log2_scale_x);
#  809|                   SCALE_V(ymin, log2_scale_y);

Error: CPPCHECK_WARNING (CWE-758): [#def199]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:808: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  806|   
#  807|                   SCALE_V(xmin, log2_scale_x);
#  808|->                 SCALE_V(xmax, log2_scale_x);
#  809|                   SCALE_V(ymin, log2_scale_y);
#  810|                   SCALE_V(ymax, log2_scale_y);

Error: CPPCHECK_WARNING (CWE-758): [#def200]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:809: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  807|                   SCALE_V(xmin, log2_scale_x);
#  808|                   SCALE_V(xmax, log2_scale_x);
#  809|->                 SCALE_V(ymin, log2_scale_y);
#  810|                   SCALE_V(ymax, log2_scale_y);
#  811|   #undef SCALE_V

Error: CPPCHECK_WARNING (CWE-758): [#def201]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:810: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  808|                   SCALE_V(xmax, log2_scale_x);
#  809|                   SCALE_V(ymin, log2_scale_y);
#  810|->                 SCALE_V(ymax, log2_scale_y);
#  811|   #undef SCALE_V
#  812|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c: scope_hint: In function ‘gx_cpath_enum_next.part.0’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:963:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rp’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstext.h:27: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxtext.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:37: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevice.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:487:9: note: in expansion of macro ‘gx_path_init_local’
#  961|                 left:		/* Trace upward along a left edge. */
#  962|                   /* We're at the lower left corner of rp. */
#  963|->                 rp->to_visit &= ~visit_left;
#  964|                   /* Look for an adjacent rectangle above rp. */
#  965|                   for (look = rp;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def203]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:1009:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rp’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcpath.c:487:9: note: in expansion of macro ‘gx_path_init_local’
# 1007|                 right:		/* Trace downward along a right edge. */
# 1008|                   /* We're at the upper right corner of rp. */
# 1009|->                 rp->to_visit &= ~visit_right;
# 1010|                   /* Look for an adjacent rectangle below rp. */
# 1011|                   for (look = rp;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def204]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxiscale.c:32: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxiscale.c: scope_hint: In function ‘image_render_interpolate_landscape’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdcolor.h:321:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc.type’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdcolor.h:323:3: note: in expansion of macro ‘gx_device_color_fill_rectangle’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxiscale.c:2450:37: note: in expansion of macro ‘gx_fill_rectangle_device_rop’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevice.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxiscale.c:30: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:844:28: note: in definition of macro ‘dev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdcolor.h:323:3: note: in expansion of macro ‘gx_device_color_fill_rectangle’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxiscale.c:2450:37: note: in expansion of macro ‘gx_fill_rectangle_device_rop’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdcolor.h:323:3: note: in expansion of macro ‘gx_device_color_fill_rectangle’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxiscale.c:2450:37: note: in expansion of macro ‘gx_fill_rectangle_device_rop’
#  319|   /* Fill a rectangle with a color. */
#  320|   #define gx_device_color_fill_rectangle(pdevc, x, y, w, h, dev, lop, source)\
#  321|->   (*(pdevc)->type->fill_rectangle)(pdevc, x, y, w, h, dev, lop, source)
#  322|   #define gx_fill_rectangle_device_rop(x, y, w, h, pdevc, dev, lop)\
#  323|     gx_device_color_fill_rectangle(pdevc, x, y, w, h, dev, lop, NULL)

Error: CPPCHECK_WARNING (CWE-758): [#def205]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdtfill.h:270: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  268|           } else {
#  269|               compute_dx(&l, dxl, ysl);
#  270|->             fxl = YMULT_QUO(ysl, l);
#  271|               l.x += fxl;
#  272|           }

Error: CPPCHECK_WARNING (CWE-758): [#def206]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdtfill.h:299: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  297|                   r.x += fxl;
#  298|               else
#  299|->                 r.x += YMULT_QUO(ysr, r);
#  300|           } else {
#  301|               compute_dx(&r, dxr, ysr);

Error: CPPCHECK_WARNING (CWE-758): [#def207]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdtfill.h:302: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  300|           } else {
#  301|               compute_dx(&r, dxr, ysr);
#  302|->             r.x += YMULT_QUO(ysr, r);
#  303|           }
#  304|           /* Compute one line's worth of dx/dy. */

Error: CPPCHECK_WARNING (CWE-758): [#def208]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:120: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  118|       y += olh->y0;
#  119|   
#  120|->     if (x > (int64_t) max_coord_fixed || x < (int64_t) min_coord_fixed
#  121|        || y > (int64_t) max_coord_fixed || y < (int64_t) min_coord_fixed) {
#  122|            I->gs_error = gs_error_undefinedresult;

Error: CPPCHECK_WARNING (CWE-758): [#def209]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:121: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  119|   
#  120|       if (x > (int64_t) max_coord_fixed || x < (int64_t) min_coord_fixed
#  121|->      || y > (int64_t) max_coord_fixed || y < (int64_t) min_coord_fixed) {
#  122|            I->gs_error = gs_error_undefinedresult;
#  123|       }

Error: CPPCHECK_WARNING (CWE-758): [#def210]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:155: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  153|       y += olh->y0;
#  154|   
#  155|->     if (x > (int64_t) max_coord_fixed || x < (int64_t) min_coord_fixed
#  156|        || y > (int64_t) max_coord_fixed || y < (int64_t) min_coord_fixed) {
#  157|            I->gs_error = gs_error_undefinedresult;

Error: CPPCHECK_WARNING (CWE-758): [#def211]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:156: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  154|   
#  155|       if (x > (int64_t) max_coord_fixed || x < (int64_t) min_coord_fixed
#  156|->      || y > (int64_t) max_coord_fixed || y < (int64_t) min_coord_fixed) {
#  157|            I->gs_error = gs_error_undefinedresult;
#  158|       }

Error: CPPCHECK_WARNING (CWE-758): [#def212]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:206: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  204|       y2 += olh->y0;
#  205|   
#  206|->     if (x0 > (int64_t) max_coord_fixed || x0 < (int64_t) min_coord_fixed
#  207|        || y0 > (int64_t) max_coord_fixed || y0 < (int64_t) min_coord_fixed
#  208|        || x1 > (int64_t) max_coord_fixed || x1 < (int64_t) min_coord_fixed

Error: CPPCHECK_WARNING (CWE-758): [#def213]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:207: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  205|   
#  206|       if (x0 > (int64_t) max_coord_fixed || x0 < (int64_t) min_coord_fixed
#  207|->      || y0 > (int64_t) max_coord_fixed || y0 < (int64_t) min_coord_fixed
#  208|        || x1 > (int64_t) max_coord_fixed || x1 < (int64_t) min_coord_fixed
#  209|        || y1 > (int64_t) max_coord_fixed || y1 < (int64_t) min_coord_fixed

Error: CPPCHECK_WARNING (CWE-758): [#def214]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:208: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  206|       if (x0 > (int64_t) max_coord_fixed || x0 < (int64_t) min_coord_fixed
#  207|        || y0 > (int64_t) max_coord_fixed || y0 < (int64_t) min_coord_fixed
#  208|->      || x1 > (int64_t) max_coord_fixed || x1 < (int64_t) min_coord_fixed
#  209|        || y1 > (int64_t) max_coord_fixed || y1 < (int64_t) min_coord_fixed
#  210|        || x2 > (int64_t) max_coord_fixed || x2 < (int64_t) min_coord_fixed

Error: CPPCHECK_WARNING (CWE-758): [#def215]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:209: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  207|        || y0 > (int64_t) max_coord_fixed || y0 < (int64_t) min_coord_fixed
#  208|        || x1 > (int64_t) max_coord_fixed || x1 < (int64_t) min_coord_fixed
#  209|->      || y1 > (int64_t) max_coord_fixed || y1 < (int64_t) min_coord_fixed
#  210|        || x2 > (int64_t) max_coord_fixed || x2 < (int64_t) min_coord_fixed
#  211|        || y2 > (int64_t) max_coord_fixed || y2 < (int64_t) min_coord_fixed)

Error: CPPCHECK_WARNING (CWE-758): [#def216]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:210: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  208|        || x1 > (int64_t) max_coord_fixed || x1 < (int64_t) min_coord_fixed
#  209|        || y1 > (int64_t) max_coord_fixed || y1 < (int64_t) min_coord_fixed
#  210|->      || x2 > (int64_t) max_coord_fixed || x2 < (int64_t) min_coord_fixed
#  211|        || y2 > (int64_t) max_coord_fixed || y2 < (int64_t) min_coord_fixed)
#  212|       {

Error: CPPCHECK_WARNING (CWE-758): [#def217]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:211: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  209|        || y1 > (int64_t) max_coord_fixed || y1 < (int64_t) min_coord_fixed
#  210|        || x2 > (int64_t) max_coord_fixed || x2 < (int64_t) min_coord_fixed
#  211|->      || y2 > (int64_t) max_coord_fixed || y2 < (int64_t) min_coord_fixed)
#  212|       {
#  213|           I->gs_error = gs_error_undefinedresult;

Error: CPPCHECK_WARNING (CWE-758): [#def218]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfapi.c:611: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  609|           if ((code = add_closepath(&path_interface)) < 0)
#  610|               goto done;
#  611|->     code = gx_path_copy(&path1, path);
#  612|   done:
#  613|       code = code >= 0 || code == gs_error_undefinedresult ? 0 : code;

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

Error: CPPCHECK_WARNING (CWE-758): [#def220]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfill.c:1145: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1143|       int code;
# 1144|   
# 1145|->     ll->y_break = max_fixed;
# 1146|   
# 1147|       for (;psub; psub = (subpath *)psub->last->next) {

Error: CPPCHECK_WARNING (CWE-758): [#def221]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfill.c:1202: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1200|       alp->diff.y = alp->end.y - alp->start.y;
# 1201|       SET_NUM_ADJUST(alp);
# 1202|->     (alp)->y_fast_max = MAX_MINUS_NUM_ADJUST(alp) /
# 1203|         ((alp->diff.x >= 0 ? alp->diff.x : -alp->diff.x) | 1) + alp->start.y;
# 1204|       return 0;

Error: CPPCHECK_WARNING (CWE-758): [#def222]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfill.c:1660: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1658|       int code;
# 1659|   
# 1660|->     for (x = min_fixed, alp = ll->x_list; alp != 0; alp = nlp) {
# 1661|           bool notend = false;
# 1662|           alp->x_current = alp->x_next;

Error: CPPCHECK_WARNING (CWE-758): [#def223]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfill.c:1831: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1829|   intersect_al(line_list *ll, fixed y, fixed *y_top, int draw, bool all_bands)
# 1830|   {
# 1831|->     fixed x = min_fixed, y1 = *y_top;
# 1832|       active_line *alp, *stopx = NULL;
# 1833|       active_line *endp = NULL;

Error: CPPCHECK_WARNING (CWE-758): [#def224]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfill.c:2204: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2202|       pcrl->local.limit = pcr_local + num_local;
# 2203|       pcrl->allocated = pcrl->freed = 0;
# 2204|->     pcrl->first.rmin = pcrl->first.rmax = MIN_COORD_VALUE;
# 2205|       pcrl->first.prev = 0;
# 2206|       pcrl->last.rmin = pcrl->last.rmax = MAX_COORD_VALUE;

Error: CPPCHECK_WARNING (CWE-758): [#def225]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfill.c:2206: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2204|       pcrl->first.rmin = pcrl->first.rmax = MIN_COORD_VALUE;
# 2205|       pcrl->first.prev = 0;
# 2206|->     pcrl->last.rmin = pcrl->last.rmax = MAX_COORD_VALUE;
# 2207|       pcrl->last.next = 0;
# 2208|       range_list_clear(pcrl);

Error: CPPCHECK_WARNING (CWE-758): [#def226]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfillsl.h:50: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   48|       fixed y_frac_max =
#   49|           fixed_half + fo.adjust_below;
#   50|->     int y0 = fixed2int(min_fixed);
#   51|       fixed y_bot = min_fixed;	/* normally int2fixed(y0) + y_frac_min */
#   52|       fixed y_top = min_fixed;	/* normally int2fixed(y0) + y_frac_max */

Error: CPPCHECK_WARNING (CWE-758): [#def227]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfillsl.h:51: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   49|           fixed_half + fo.adjust_below;
#   50|       int y0 = fixed2int(min_fixed);
#   51|->     fixed y_bot = min_fixed;	/* normally int2fixed(y0) + y_frac_min */
#   52|       fixed y_top = min_fixed;	/* normally int2fixed(y0) + y_frac_max */
#   53|       fixed y = min_fixed;

Error: CPPCHECK_WARNING (CWE-758): [#def228]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfillsl.h:52: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   50|       int y0 = fixed2int(min_fixed);
#   51|       fixed y_bot = min_fixed;	/* normally int2fixed(y0) + y_frac_min */
#   52|->     fixed y_top = min_fixed;	/* normally int2fixed(y0) + y_frac_max */
#   53|       fixed y = min_fixed;
#   54|       coord_range_list_t rlist;

Error: CPPCHECK_WARNING (CWE-758): [#def229]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfillsl.h:53: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   51|       fixed y_bot = min_fixed;	/* normally int2fixed(y0) + y_frac_min */
#   52|       fixed y_top = min_fixed;	/* normally int2fixed(y0) + y_frac_max */
#   53|->     fixed y = min_fixed;
#   54|       coord_range_list_t rlist;
#   55|       coord_range_t rlocal[MAX_LOCAL_ACTIVE];

Error: CPPCHECK_WARNING (CWE-758): [#def230]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfillsl.h:62: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   60|       range_list_init(&rlist, rlocal, countof(rlocal), ll->memory);
#   61|       ll->x_list = 0;
#   62|->     ll->x_head.x_current = min_fixed;	/* stop backward scan */
#   63|       do {
#   64|           active_line *alp, *nlp;

Error: CPPCHECK_WARNING (CWE-758): [#def231]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfillsl.h:106: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  104|           /* Update active lines to y. */
#  105|   
#  106|->         x = min_fixed;
#  107|           for (alp = ll->x_list; alp != 0; alp = nlp) {
#  108|               fixed nx;

Error: CPPCHECK_WARNING (CWE-758): [#def232]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfillsl.h:219: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  217|                   }
#  218|               out:
#  219|->                 y_min = min_fixed;
#  220|               } else
#  221|                   y_min = y;

Error: CPPCHECK_WARNING (CWE-758): [#def233]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfilltr.h:55: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   53|       y = yll->start.y;		/* first Y value */
#   54|       ll->x_list = 0;
#   55|->     ll->x_head.x_current = min_fixed;	/* stop backward scan */
#   56|       while (1) {
#   57|           fixed y1;

Error: CPPCHECK_WARNING (CWE-758): [#def234]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxhintn.c:1448: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1446|           hint->g1 = hint->ag1 = g1;
# 1447|           hint->aligned0 = hint->aligned1 = unaligned;
# 1448|->         hint->q0 = hint->q1 = max_int;
# 1449|           hint->b0 = hint->b1 = false;
# 1450|           hint->stem3_index = stem3_index;

Error: CPPCHECK_WARNING (CWE-758): [#def235]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxhintn.c:1654: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1652|   
# 1653|       if (gx == 0 && gy == 0) {
# 1654|->         *quality = max_int;
# 1655|           return false;
# 1656|       }

Error: CPPCHECK_WARNING (CWE-758): [#def236]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxhintn.c:1658: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1656|       }
# 1657|       if (vp1 >= sp1) {
# 1658|->         *quality = max_int;
# 1659|           return false;
# 1660|       }

Error: CPPCHECK_WARNING (CWE-758): [#def237]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxhintn.c:1662: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1660|       }
# 1661|       if (vp1 / alpha_div > sp1 / alpha) {
# 1662|->         *quality = max_int;
# 1663|           return false;
# 1664|       }

Error: CPPCHECK_WARNING (CWE-758): [#def238]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxhintn.c:2222: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2220|                   int end_range_pole = self->hint_range[k].end_pole;
# 2221|                   bool horiz = (self->hint[i].type == hstem);
# 2222|->                 int quality = max_int;
# 2223|   
# 2224|                   if (self->pole[beg_range_pole].type == closepath) {

Error: CPPCHECK_WARNING (CWE-758): [#def239]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxht_thresh.c:718: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  716|           if (max_height <= 0)
#  717|               return -1;		/* shouldn't happen, but check so we don't div by zero */
#  718|->         if (penum->ht_stride * spp_out > max_int / max_height)
#  719|               return -1;         /* overflow */
#  720|   

Error: CPPCHECK_WARNING (CWE-758): [#def240]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxht_thresh.c:741: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  739|           temp = (int) ceil((float) ((dev_width + 15.0) + 15.0)/16.0);
#  740|           penum->line_size = bitmap_raster(temp * 16 * 8);  /* The stride */
#  741|->         if (penum->line_size > max_int / max_height) {
#  742|               gs_free_object(penum->memory, penum->ht_buffer, "gxht_thresh");
#  743|               penum->ht_buffer = NULL;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def241]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c: scope_hint: In function ‘image_render_color_thresh’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:790:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[0]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:19: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:470:16: note: in expansion of macro ‘gs_rethrow’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stdio_.h:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:89:36: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:112:36: note: in expansion of macro ‘fixed2int_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:10: note: in expansion of macro ‘fixed2int_var_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:235:26: note: in expansion of macro ‘dda_state_current’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:32: note: in expansion of macro ‘dda_current’
#  788|           /* Monochrome output case */
#  789|           case 1:
#  790|->             devc_contone_gray = devc_contone[0];
#  791|               switch (posture) {
#  792|                   /* Monochrome portrait */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def242]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:903:63: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[0]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:470:16: note: in expansion of macro ‘gs_rethrow’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:89:36: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:112:36: note: in expansion of macro ‘fixed2int_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:10: note: in expansion of macro ‘fixed2int_var_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:235:26: note: in expansion of macro ‘dda_state_current’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:32: note: in expansion of macro ‘dda_current’
#  901|                       if (penum->dst_width > 0) {
#  902|                           if (src_size == dest_width) {
#  903|->                             memcpy(devc_contone[0], psrc_plane[0], data_length);
#  904|                               memcpy(devc_contone[1], psrc_plane[1], data_length);
#  905|                               memcpy(devc_contone[2], psrc_plane[2], data_length);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def243]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:910:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[0]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:470:16: note: in expansion of macro ‘gs_rethrow’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:89:36: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:112:36: note: in expansion of macro ‘fixed2int_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:10: note: in expansion of macro ‘fixed2int_var_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:235:26: note: in expansion of macro ‘dda_state_current’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:32: note: in expansion of macro ‘dda_current’
#  908|                               for (k = 0; k < data_length; k+=2) {
#  909|                                   *(devc_contone[0]) = *(devc_contone[0]+1) =
#  910|->                                     *psrc_plane[0]++;
#  911|                                   *(devc_contone[1]) = *(devc_contone[1]+1) =
#  912|                                       *psrc_plane[1]++;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def244]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:928:71: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[0]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:470:16: note: in expansion of macro ‘gs_rethrow’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:89:36: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:112:36: note: in expansion of macro ‘fixed2int_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:10: note: in expansion of macro ‘fixed2int_var_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:235:26: note: in expansion of macro ‘dda_state_current’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:32: note: in expansion of macro ‘dda_current’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:43: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxblend.h:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gstrans.h:25: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxgstate.h:33: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gzstate.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:29: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:251:23: note: in expansion of macro ‘dda_state_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:925:33: note: in expansion of macro ‘dda_next’
#  926|                                   xn = fixed2int_var_rounded(dda_current(dda_ht));
#  927|                                   while (xr < xn) {
#  928|->                                     *(devc_contone[0])++ = (psrc_plane[0])[j];
#  929|                                       *(devc_contone[1])++ = (psrc_plane[1])[j];
#  930|                                       *(devc_contone[2])++ = (psrc_plane[2])[j];

Error: GCC_ANALYZER_WARNING (CWE-457): [#def245]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:940:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[0]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:470:16: note: in expansion of macro ‘gs_rethrow’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:89:36: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:112:36: note: in expansion of macro ‘fixed2int_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:10: note: in expansion of macro ‘fixed2int_var_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:235:26: note: in expansion of macro ‘dda_state_current’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:32: note: in expansion of macro ‘dda_current’
#  938|                           /* CMYK case, backwards */
#  939|                           /* Move to the other end and we will decrement */
#  940|->                         devc_contone[0] += (data_length - 1);
#  941|                           devc_contone[1] += (data_length - 1);
#  942|                           devc_contone[2] += (data_length - 1);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def246]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:973:80: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘psrc_plane[j]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:89:36: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:112:36: note: in expansion of macro ‘fixed2int_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:10: note: in expansion of macro ‘fixed2int_var_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:235:26: note: in expansion of macro ‘dda_state_current’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:32: note: in expansion of macro ‘dda_current’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:251:23: note: in expansion of macro ‘dda_state_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:969:29: note: in expansion of macro ‘dda_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:251:23: note: in expansion of macro ‘dda_state_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:969:29: note: in expansion of macro ‘dda_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:251:23: note: in expansion of macro ‘dda_state_next’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:969:29: note: in expansion of macro ‘dda_next’
#  971|                               while (xr > xn) {
#  972|                                   for (j = 0; j < spp_out; j++)
#  973|->                                     *(devc_contone[j] + position) = (psrc_plane[j])[i];
#  974|                                   position -= LAND_BITS;
#  975|                                   xr--;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def247]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:986:59: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘devc_contone[k]’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:104:31: note: in definition of macro ‘arith_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:89:36: note: in expansion of macro ‘_fixed_rshift’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:112:36: note: in expansion of macro ‘fixed2int_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:10: note: in expansion of macro ‘fixed2int_var_rounded’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdda.h:235:26: note: in expansion of macro ‘dda_state_current’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxicolor.c:781:32: note: in expansion of macro ‘dda_current’
#  984|                           /* Apply initial offset */
#  985|                           for (k = 0; k < spp_out; k++)
#  986|->                             devc_contone[k] = devc_contone[k] + position;
#  987|                           if (src_size == dest_height) {
#  988|                               for (k = 0; k < data_length; k++) {

Error: CPPCHECK_WARNING (CWE-758): [#def248]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxidata.c:101: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   99|           /* Bump DDA's if it doesn't cause overflow */
#  100|           penum->cur.x = dda_current(penum->dda.row.x);
#  101|->         if (max_int - any_abs(penum->dda.row.x.step.dQ) > any_abs(penum->cur.x))
#  102|               dda_next(penum->dda.row.x);
#  103|           penum->cur.y = dda_current(penum->dda.row.y);

Error: CPPCHECK_WARNING (CWE-758): [#def249]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxidata.c:104: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  102|               dda_next(penum->dda.row.x);
#  103|           penum->cur.y = dda_current(penum->dda.row.y);
#  104|->         if (max_int - any_abs(penum->dda.row.y.step.dQ) > any_abs(penum->cur.y))
#  105|               dda_next(penum->dda.row.y);
#  106|   

Error: CPPCHECK_WARNING (CWE-758): [#def250]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxifast.c:349: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  347|       /* Extreme negative values of x_extent cause the xl0 calculation
#  348|        * to explode. Workaround this here. */
#  349|->     if (x_extent < min_int + 0x100)
#  350|         x_extent += 0x100;
#  351|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c: scope_hint: In function ‘image_render_mono’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c:402:21: warning[-Wanalyzer-jump-through-null]: jump through null pointer
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c:927:33: note: in expansion of macro ‘IMAGE_SET_GRAY’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c:927:33: note: in expansion of macro ‘IMAGE_SET_GRAY’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c:927:33: note: in expansion of macro ‘IMAGE_SET_GRAY’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c:927:33: note: in expansion of macro ‘IMAGE_SET_GRAY’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c:927:33: note: in expansion of macro ‘IMAGE_SET_GRAY’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c:35: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c:401:13: note: in expansion of macro ‘decode_sample’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c:927:33: note: in expansion of macro ‘IMAGE_SET_GRAY’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gximono.c:927:33: note: in expansion of macro ‘IMAGE_SET_GRAY’
#  400|           else {\
#  401|               decode_sample(sample_value, cc, 0);\
#  402|->             code = (*remap_color)(&cc, pcs, pdevc, pgs, dev, gs_color_select_source);\
#  403|               if (code < 0)\
#  404|                   goto err;\

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

Error: CPPCHECK_WARNING (CWE-758): [#def253]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxipixel.c:217: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  215|       float v = floor(src*fixed_scale + 0.5);
#  216|   
#  217|->     if (v <= min_fixed)
#  218|           return min_fixed;
#  219|       else if (v >= max_fixed)

Error: CPPCHECK_WARNING (CWE-758): [#def254]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxipixel.c:218: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  216|   
#  217|       if (v <= min_fixed)
#  218|->         return min_fixed;
#  219|       else if (v >= max_fixed)
#  220|           return max_fixed;

Error: CPPCHECK_WARNING (CWE-758): [#def255]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxipixel.c:219: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  217|       if (v <= min_fixed)
#  218|           return min_fixed;
#  219|->     else if (v >= max_fixed)
#  220|           return max_fixed;
#  221|       else

Error: CPPCHECK_WARNING (CWE-758): [#def256]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxipixel.c:220: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  218|           return min_fixed;
#  219|       else if (v >= max_fixed)
#  220|->         return max_fixed;
#  221|       else
#  222|           return 	(fixed)v;

Error: CPPCHECK_WARNING (CWE-758): [#def257]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxp1fill.c:274: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  272|                   yoff = 0;
#  273|               /* Check for overflow */
#  274|->             if (h > 0 && max_int - h < y)
#  275|                   h = max_int - y;
#  276|               if (w > 0 && max_int - w < x)

Error: CPPCHECK_WARNING (CWE-758): [#def258]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxp1fill.c:275: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  273|               /* Check for overflow */
#  274|               if (h > 0 && max_int - h < y)
#  275|->                 h = max_int - y;
#  276|               if (w > 0 && max_int - w < x)
#  277|                   w = max_int - x;

Error: CPPCHECK_WARNING (CWE-758): [#def259]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxp1fill.c:276: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  274|               if (h > 0 && max_int - h < y)
#  275|                   h = max_int - y;
#  276|->             if (w > 0 && max_int - w < x)
#  277|                   w = max_int - x;
#  278|               if (x + w > x1)

Error: CPPCHECK_WARNING (CWE-758): [#def260]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxp1fill.c:277: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  275|                   h = max_int - y;
#  276|               if (w > 0 && max_int - w < x)
#  277|->                 w = max_int - x;
#  278|               if (x + w > x1)
#  279|                   w = x1 - x;

Error: CPPCHECK_WARNING (CWE-758): [#def261]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpath.c:114: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  112|       ppath->bbox_accurate = 0;
#  113|       ppath->last_charpath_segment = 0;
#  114|->     ppath->bbox.p.x = max_fixed;
#  115|       ppath->bbox.p.y = max_fixed;
#  116|       ppath->bbox.q.x = min_fixed;

Error: CPPCHECK_WARNING (CWE-758): [#def262]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpath.c:115: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  113|       ppath->last_charpath_segment = 0;
#  114|       ppath->bbox.p.x = max_fixed;
#  115|->     ppath->bbox.p.y = max_fixed;
#  116|       ppath->bbox.q.x = min_fixed;
#  117|       ppath->bbox.q.y = min_fixed;

Error: CPPCHECK_WARNING (CWE-758): [#def263]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpath.c:116: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  114|       ppath->bbox.p.x = max_fixed;
#  115|       ppath->bbox.p.y = max_fixed;
#  116|->     ppath->bbox.q.x = min_fixed;
#  117|       ppath->bbox.q.y = min_fixed;
#  118|   }

Error: CPPCHECK_WARNING (CWE-758): [#def264]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpath.c:117: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  115|       ppath->bbox.p.y = max_fixed;
#  116|       ppath->bbox.q.x = min_fixed;
#  117|->     ppath->bbox.q.y = min_fixed;
#  118|   }
#  119|   

Error: CPPCHECK_WARNING (CWE-758): [#def265]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpath.c:1015: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1013|   
# 1014|       gx_path_init_local(&path_new, ppath->memory);
# 1015|->     code = gx_path_copy(ppath, &path_new);
# 1016|       if (code < 0) {
# 1017|           gx_path_free(&path_new, "path_alloc_copy error");

Error: CPPCHECK_WARNING (CWE-758): [#def266]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpath2.c:348: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  346|   
#  347|       if (sx > 0) {
#  348|->         v = (max_int - int2fixed(1000)) >> sx; /* arbitrary */
#  349|           if (pt->x > v)
#  350|               pt->x = v;

Error: CPPCHECK_WARNING (CWE-758): [#def267]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpath2.c:358: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  356|   
#  357|       if (sy > 0) {
#  358|->         v = (max_int - int2fixed(1000)) >> sy;
#  359|           if (pt->y > v)
#  360|               pt->y = v;

Error: CPPCHECK_WARNING (CWE-758): [#def268]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpcmap.c:845: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  843|           tiles->id = gx_no_bitmap_id;
#  844|           /* Clear the pointers to pacify the GC. */
#  845|->         uid_set_invalid(&tiles->uid);
#  846|           tiles->bits_used = 0;
#  847|   #ifdef PACIFY_VALGRIND

Error: CPPCHECK_WARNING (CWE-758): [#def269]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpcopy.c:126: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  124|                       const curve_segment *pc = (const curve_segment *)pseg;
#  125|   
#  126|->                     if (fixed_flatness == max_fixed) {	/* don't flatten */
#  127|                           if (options & pco_monotonize)
#  128|                               code = gx_curve_monotonize(ppath, pc);

Error: CPPCHECK_WARNING (CWE-758): [#def270]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpdash.c:43: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   41|   
#   42|       if (dash->pattern_size == 0)
#   43|->         return gx_path_copy(ppath_old, ppath);
#   44|       for (psub = ppath_old->first_subpath; psub != 0 && code >= 0;
#   45|            psub = (const subpath *)psub->last->next

Error: CPPCHECK_WARNING (CWE-758): [#def271]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpflat.c:168: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  166|   #   define in_range(v) (v < max_fast && v > min_fast)
#  167|       if (k > k_sample_max ||
#  168|->         !in_range(*ax) || !in_range(*ay) ||
#  169|           !in_range(*bx) || !in_range(*by) ||
#  170|           !in_range(*cx) || !in_range(*cy)

Error: CPPCHECK_WARNING (CWE-758): [#def272]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpflat.c:169: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  167|       if (k > k_sample_max ||
#  168|           !in_range(*ax) || !in_range(*ay) ||
#  169|->         !in_range(*bx) || !in_range(*by) ||
#  170|           !in_range(*cx) || !in_range(*cy)
#  171|           )

Error: CPPCHECK_WARNING (CWE-758): [#def273]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpflat.c:170: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  168|           !in_range(*ax) || !in_range(*ay) ||
#  169|           !in_range(*bx) || !in_range(*by) ||
#  170|->         !in_range(*cx) || !in_range(*cy)
#  171|           )
#  172|           return false;

Error: CPPCHECK_WARNING (CWE-758): [#def274]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpflat.c:272: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  270|   {
#  271|       if (v1 > 0)
#  272|->         return (v0 < min_fixed + v1);
#  273|       else if (v1 < 0)
#  274|           return (v0 > max_fixed + v1);

Error: CPPCHECK_WARNING (CWE-758): [#def275]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxpflat.c:274: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  272|           return (v0 < min_fixed + v1);
#  273|       else if (v1 < 0)
#  274|->         return (v0 > max_fixed + v1);
#  275|       return false;
#  276|   }

Error: CPPCHECK_WARNING (CWE-758): [#def276]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:1177: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1175|               row[2 * count    ] = cr->right;
# 1176|           } else {
# 1177|->             assert(cr->left == max_fixed && cr->right == min_fixed);
# 1178|           }
# 1179|       }

Error: CPPCHECK_WARNING (CWE-758): [#def277]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:1390: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1388|           if (cr->d == DIRN_UNSET && (cr->y & 0xff) == 0)
# 1389|               return;
# 1390|->         assert(cr->left != max_fixed && cr->right != min_fixed);
# 1391|           if (iy >= 0 && iy < cr->scanlines) {
# 1392|               int *row = &cr->table[cr->index[iy]];

Error: CPPCHECK_WARNING (CWE-758): [#def278]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:1429: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1427|   cursor_null(cursor *cr)
# 1428|   {
# 1429|->     cr->right = min_fixed;
# 1430|       cr->left  = max_fixed;
# 1431|       cr->d     = DIRN_UNSET;

Error: CPPCHECK_WARNING (CWE-758): [#def279]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:1430: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1428|   {
# 1429|       cr->right = min_fixed;
# 1430|->     cr->left  = max_fixed;
# 1431|       cr->d     = DIRN_UNSET;
# 1432|   }

Error: CPPCHECK_WARNING (CWE-758): [#def280]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:2126: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2124|   
# 2125|           if ((ey & 0xff) == 0) {
# 2126|->             cr.left  = max_fixed;
# 2127|               cr.right = min_fixed;
# 2128|           } else {

Error: CPPCHECK_WARNING (CWE-758): [#def281]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:2127: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2125|           if ((ey & 0xff) == 0) {
# 2126|               cr.left  = max_fixed;
# 2127|->             cr.right = min_fixed;
# 2128|           } else {
# 2129|               cr.left = cr.right = ex;

Error: CPPCHECK_WARNING (CWE-758): [#def282]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:3101: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 3099|               row[4 * count    ] = cr->rid;
# 3100|           } else {
# 3101|->             assert(cr->left == max_fixed && cr->right == min_fixed);
# 3102|           }
# 3103|       }

Error: CPPCHECK_WARNING (CWE-758): [#def283]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:3346: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 3344|           if (cr->d == DIRN_UNSET && (cr->y & 0xff) == 0)
# 3345|               return;
# 3346|->         assert(cr->left != max_fixed && cr->right != min_fixed);
# 3347|           if (iy >= 0 && iy < cr->scanlines) {
# 3348|               int *row = &cr->table[cr->index[iy]];

Error: CPPCHECK_WARNING (CWE-758): [#def284]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:3395: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 3393|   cursor_null_tr(cursor_tr *cr)
# 3394|   {
# 3395|->     cr->right = min_fixed;
# 3396|       cr->left  = max_fixed;
# 3397|       cr->d     = DIRN_UNSET;

Error: CPPCHECK_WARNING (CWE-758): [#def285]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:3396: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 3394|   {
# 3395|       cr->right = min_fixed;
# 3396|->     cr->left  = max_fixed;
# 3397|       cr->d     = DIRN_UNSET;
# 3398|   }

Error: CPPCHECK_WARNING (CWE-758): [#def286]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:4111: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 4109|   
# 4110|           if ((ey & 0xff) == 0) {
# 4111|->             cr.left  = max_fixed;
# 4112|               cr.right = min_fixed;
# 4113|           } else {

Error: CPPCHECK_WARNING (CWE-758): [#def287]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxscanc.c:4112: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 4110|           if ((ey & 0xff) == 0) {
# 4111|               cr.left  = max_fixed;
# 4112|->             cr.right = min_fixed;
# 4113|           } else {
# 4114|               cr.left = cr.right = ex;

Error: CPPCHECK_WARNING (CWE-758): [#def288]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxshade.c:68: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   66|           stream *s = cs->s = params->DataSource.data.strm;
#   67|   
#   68|->         if ((s->file != 0 && s->file_limit != max_long) ||
#   69|               (s->file == 0 && s->strm == 0)
#   70|               )

Error: CPPCHECK_WARNING (CWE-758): [#def289]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxshade1.c:76: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   74|   
#   75|       gs_point_transform(x, y, (const gs_matrix *)pmat, &fpt);
#   76|->     ppt->x = clamp_coord(fpt.x);
#   77|       ppt->y = clamp_coord(fpt.y);
#   78|   }

Error: CPPCHECK_WARNING (CWE-758): [#def290]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxshade1.c:77: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   75|       gs_point_transform(x, y, (const gs_matrix *)pmat, &fpt);
#   76|       ppt->x = clamp_coord(fpt.x);
#   77|->     ppt->y = clamp_coord(fpt.y);
#   78|   }
#   79|   

Error: COMPILER_WARNING (CWE-457): [#def291]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/base/gxshade6.c: scope_hint: In function ‘fill_quadrangle.isra.0’
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-758): [#def292]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxstroke.c:348: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  346|       gx_clip_path stroke_as_clip_path;
#  347|       int code;
#  348|->     gs_fixed_rect dev_clip_rect = { {min_fixed, min_fixed}, {max_fixed, max_fixed}};
#  349|   
#  350|       /* We want to make a image of the stroke as a clip path, so

Error: CPPCHECK_WARNING (CWE-758): [#def293]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxstroke.c:598: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  596|           if (gx_stroke_path_expansion(pgs, ppath, &expansion) < 0) {
#  597|               /* The expansion is so large it caused a limitcheck. */
#  598|->             ibox.p.x = ibox.p.y = min_fixed;
#  599|               ibox.q.x = ibox.q.y = max_fixed;
#  600|           } else {

Error: CPPCHECK_WARNING (CWE-758): [#def294]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxstroke.c:599: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  597|               /* The expansion is so large it caused a limitcheck. */
#  598|               ibox.p.x = ibox.p.y = min_fixed;
#  599|->             ibox.q.x = ibox.q.y = max_fixed;
#  600|           } else {
#  601|               expansion.x += pgs->fill_adjust.x;

Error: CPPCHECK_WARNING (CWE-758): [#def295]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxstroke.c:607: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  605|                * overflow, so we need to check for this.
#  606|                */
#  607|->             ibox.p.x = (ibox.p.x < min_fixed + expansion.x ? min_fixed :
#  608|                           ibox.p.x - expansion.x);
#  609|               ibox.p.y = (ibox.p.y < min_fixed + expansion.y ? min_fixed :

Error: CPPCHECK_WARNING (CWE-758): [#def296]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxstroke.c:609: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  607|               ibox.p.x = (ibox.p.x < min_fixed + expansion.x ? min_fixed :
#  608|                           ibox.p.x - expansion.x);
#  609|->             ibox.p.y = (ibox.p.y < min_fixed + expansion.y ? min_fixed :
#  610|                           ibox.p.y - expansion.y);
#  611|               ibox.q.x = (ibox.q.x > max_fixed - expansion.x ? max_fixed :

Error: CPPCHECK_WARNING (CWE-758): [#def297]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxstroke.c:611: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  609|               ibox.p.y = (ibox.p.y < min_fixed + expansion.y ? min_fixed :
#  610|                           ibox.p.y - expansion.y);
#  611|->             ibox.q.x = (ibox.q.x > max_fixed - expansion.x ? max_fixed :
#  612|                           ibox.q.x + expansion.x);
#  613|               ibox.q.y = (ibox.q.y > max_fixed - expansion.y ? max_fixed :

Error: CPPCHECK_WARNING (CWE-758): [#def298]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxstroke.c:613: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  611|               ibox.q.x = (ibox.q.x > max_fixed - expansion.x ? max_fixed :
#  612|                           ibox.q.x + expansion.x);
#  613|->             ibox.q.y = (ibox.q.y > max_fixed - expansion.y ? max_fixed :
#  614|                           ibox.q.y + expansion.y);
#  615|           }

Error: CPPCHECK_WARNING (CWE-758): [#def299]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxstroke.c:1479: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1477|       double ydiff = pp2->y - pp1->y;
# 1478|       double f1;
# 1479|->     double max_result = any_abs(denom) * (double)max_fixed;
# 1480|   
# 1481|   #ifdef DEBUG

Error: CPPCHECK_WARNING (CWE-758): [#def300]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gzspotan.c:256: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  254|   san_get_clipping_box(gx_device * dev, gs_fixed_rect * pbox)
#  255|   {
#  256|->     pbox->p.x = min_int;
#  257|       pbox->p.y = min_int;
#  258|       pbox->q.x = max_int;

Error: CPPCHECK_WARNING (CWE-758): [#def301]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gzspotan.c:257: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  255|   {
#  256|       pbox->p.x = min_int;
#  257|->     pbox->p.y = min_int;
#  258|       pbox->q.x = max_int;
#  259|       pbox->q.y = max_int;

Error: CPPCHECK_WARNING (CWE-758): [#def302]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gzspotan.c:258: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  256|       pbox->p.x = min_int;
#  257|       pbox->p.y = min_int;
#  258|->     pbox->q.x = max_int;
#  259|       pbox->q.y = max_int;
#  260|   }

Error: CPPCHECK_WARNING (CWE-758): [#def303]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gzspotan.c:259: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  257|       pbox->p.y = min_int;
#  258|       pbox->q.x = max_int;
#  259|->     pbox->q.y = max_int;
#  260|   }
#  261|   

Error: CPPCHECK_WARNING (CWE-758): [#def304]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gzspotan.c:434: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  432|   
#  433|       if (padev->top_band != NULL && padev->top_band->ytop != ytop) {
#  434|->         code = try_unite_last_trap(padev, max_int);
#  435|           if (code < 0)
#  436|               return code;

Error: GCC_ANALYZER_WARNING (CWE-835): [#def305]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/pack_ps.c: scope_hint: In function ‘main’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/pack_ps.c:279:18: warning[-Wanalyzer-infinite-loop]: infinite loop
#  277|   
#  278|       /* Process arguments denoted with dashes. */
#  279|->     while (atarg < argc) {
#  280|           if (argv[atarg][0] != '-') {
#  281|               /* End of optional arguments */

Error: GCC_ANALYZER_WARNING (CWE-835): [#def306]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/ramfs.c: scope_hint: In function ‘resize’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/ramfs.c:162:19: warning[-Wanalyzer-infinite-loop]: infinite loop
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/ramfs.c:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:135:12: note: in definition of macro ‘gs_free_object’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/ramfs.c:163:13: note: in expansion of macro ‘gs_free_object’
#  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): [#def307]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-758): [#def308]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/seexec.c:72: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   70|       ss->binary = -1;		/* unknown */
#   71|       ss->lenIV = 4;
#   72|->     ss->hex_left = max_long;
#   73|       /* Clear pointers for GC */
#   74|       ss->pfb_state = 0;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def309]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/sfilter2.c: scope_hint: In function ‘s_A85E_process’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/sfilter2.c:206:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buf[1]’
#  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): [#def310]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/sfilter2.c:219:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&buf’
#  217|                   if (space)
#  218|                     *++q = ' ';
#  219|->                 memcpy(q+1, buf, count+1);
#  220|                   q += count+1;
#  221|                   p += count;

Error: CPPCHECK_WARNING (CWE-758): [#def311]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/sfxstdio.c:73: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   71|       s->file_modes = s->modes;
#   72|       s->file_offset = 0;
#   73|->     s->file_limit = (sizeof(gs_offset_t) > 4 ? max_int64_t : max_long);
#   74|   }
#   75|   

Error: CPPCHECK_WARNING (CWE-758): [#def312]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/sfxstdio.c:82: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   80|       if (s->file == 0 || s->modes != s_mode_read + s_mode_seek ||
#   81|           s->file_offset != 0 ||
#   82|->         s->file_limit != S_FILE_LIMIT_MAX ||
#   83|           ((s->position < start || s->position > start + length) && sseek(s, start) < 0)
#   84|           )

Error: CPPCHECK_WARNING (CWE-758): [#def313]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/sfxstdio.c:167: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  165|       int count;
#  166|   
#  167|->     if (s->file_limit < S_FILE_LIMIT_MAX) {
#  168|           gs_offset_t limit_count = s->file_offset + s->file_limit - gp_ftell(file);
#  169|   

Error: CPPCHECK_WARNING (CWE-758): [#def314]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/sfxstdio.c:199: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  197|       s->file_modes = s->modes;
#  198|       s->file_offset = 0;		/* in case we switch to reading later */
#  199|->     s->file_limit = S_FILE_LIMIT_MAX;
#  200|   }
#  201|   /* Initialize for appending to an OS file. */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def315]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/slzwd.c: scope_hint: In function ‘s_LZWD_process’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/slzwd.c:371:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b’
#  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): [#def316]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/spsdf.c:99: error[uninitvar]: Uninitialized variable: buf
#   97|           stream_cursor_read_init(&r, str, size);
#   98|           do {
#   99|->             stream_cursor_write_init(&w, buf, sizeof(buf));
#  100|   
#  101|               status = (*templat->process) (st, &r, &w, true);

Error: CPPCHECK_WARNING (CWE-758): [#def317]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/spwgd.c:65: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   63|       int line_pos = ss->line_pos;
#   64|   
#   65|->     if (ss->width > max_int / bpp)
#   66|           return ERRC;
#   67|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def318]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.c: scope_hint: In function ‘stream_compact’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.c:1015:9: warning[-Wanalyzer-null-argument]: use of NULL ‘*s.cursor.r._skip’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memmove’ must be non-null
# 1013|           uint dist = s->cursor.r.ptr + 1 - s->cbuf;
# 1014|   
# 1015|->         memmove(s->cbuf, s->cursor.r.ptr + 1,
# 1016|                   (uint) (s->cursor.r.limit - s->cursor.r.ptr));
# 1017|           s->cursor.r.ptr = s->cbuf - 1;

Error: CPPCHECK_WARNING (CWE-758): [#def319]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/strmio.c:240: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  238|       s->file_modes = s->modes;
#  239|       s->file_offset = 0;
#  240|->     s->file_limit = S_FILE_LIMIT_MAX;
#  241|       s->save_close = s_std_null;
#  242|       *ps = s;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def320]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c: scope_hint: In function ‘trans_modelname’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:796:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdest’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:42: included_from: Included from here.
#  794|   
#  795|       while ( ( len < (dest_len -1) ) && *cp && ( '_' != *cp) ) {
#  796|->       *pdest = toupper( *cp );
#  797|         pdest++;
#  798|         cp++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def321]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:800:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdest’
#  798|         cp++;
#  799|       }
#  800|->     *pdest = '\0';
#  801|     }
#  802|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def322]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c: scope_hint: In function ‘dmp_print_page’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:212:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevprn.h:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c: scope_hint: In function ‘dmp_print_page’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:268:6: note: in definition of macro ‘gs_alloc_byte_array’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:178:30: note: in expansion of macro ‘gs_malloc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevice.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevprn.h:29: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:201:20: note: in expansion of macro ‘y_pixels_per_inch’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:142: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/memory_.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevprn.h:22: included_from: Included from here.
/usr/include/stdio.h:707:12: note: argument 2 of ‘fputs’ must be non-null
#  210|           /* Initialize the printer and reset the margins. */
#  211|   
#  212|->         fputs("\r\n\033>\033T16", prn_stream);
#  213|   
#  214|           switch(dev_type)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def323]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c: scope_hint: In function ‘sixel_print_page’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:367:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c’
#  365|               }
#  366|           }
#  367|->         if (c != 077) {
#  368|              if (count > 3) {
#  369|                   /* use run length encoding */

Error: COMPILER_WARNING (CWE-457): [#def324]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevlx32.c: scope_hint: In function ‘finalizeheader’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevlx32.c:1298:23: warning[-Wmaybe-uninitialized]: ‘offs2’ may be used uninitialized
# 1298 |             nstartabs = newstart + offs2;
#      |             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def325]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevmd2k.c: scope_hint: In function ‘runlength’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevmd2k.c:386:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘contflag’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevmd2k.c: scope_hint: In function ‘runlength’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/memory_.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevprn.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stdpre.h:402:30: note: in definition of macro ‘min’
#  384|           }
#  385|   
#  386|->         if (contflag) {
#  387|               climit = min(129, p_end - p_in);
#  388|               p_in += 3;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def326]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4v.c: scope_hint: In function ‘sput_lips_int’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4v.c:332:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c[0]’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4v.c:69: included_from: Included from here.
/usr/include/string.h:407:15: note: argument 1 of ‘strlen’ must be a pointer to a null-terminated string
#  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): [#def327]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def328]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4v.c:1928: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 1926|           int i, j;
# 1927|           uint width_bytes = (w + 7) >> 3;
# 1928|->         uint num_bytes = round_up(width_bytes, 4) * h;
# 1929|           byte *buf = gs_alloc_bytes(vdev->memory, num_bytes,
# 1930|                                      "lips4v_copy_mono(buf)");

Error: CPPCHECK_WARNING (CWE-190): [#def329]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4v.c:2092: error[integerOverflow]: Signed integer overflow for expression '-4'.
# 2090|           int i;
# 2091|           uint width_bytes = (w + 7) >> 3;
# 2092|->         uint num_bytes = round_up(width_bytes, 4) * h;
# 2093|           byte *buf = gs_alloc_bytes(vdev->memory, num_bytes,
# 2094|                                      "lips4v_fill_mask(buf)");

Error: CPPCHECK_WARNING (CWE-758): [#def330]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevlprn.c:128: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  126|                                     &BlockWidth)) {
#  127|           case 0:
#  128|->             if (BlockWidth <= 0 || BlockWidth > (max_int / BlockWidth))
#  129|                   ecode = gs_error_rangecheck;
#  130|               else

Error: CPPCHECK_WARNING (CWE-758): [#def331]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevlprn.c:163: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  161|                * so we need to ensure that calculation won't overflow.
#  162|                */
#  163|->             if (BlockHeight <= 0 || BlockHeight > (max_int / BlockHeight))
#  164|                   ecode = gs_error_rangecheck;
#  165|               else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def332]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c: scope_hint: In function ‘SetBgColorWrapper’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:768:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*brush.colorSpace’
#  766|           return -1;
#  767|       }
#  768|->     if (brush->colorSpace == OPVP_CSPACE_DEVICEKRGB) {
#  769|           /* 0.2 doesn't have OPVP_CSPACE_DEVICEKRGB */
#  770|           *(opdev->globals.ErrorNo) = OPVP_NOTSUPPORTED_0_2;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def333]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c: scope_hint: In function ‘opvp_cat_string’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:1569:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strcat’ must be non-null
# 1567|       if (string) {
# 1568|           *destin = realloc(*destin, strlen(*destin) +strlen(string)+1);
# 1569|->         strcat(*destin, string);
# 1570|       }
# 1571|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c: scope_hint: In function ‘opvp_to_utf8’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:1657:24: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UTF-8", locale)’
# 1655|               if (locale) {
# 1656|                   if (strcmp(locale, "C") && buff) {
# 1657|->                     if ((cd = iconv_open("UTF-8", locale)) != (iconv_t)-1) {
# 1658|                           ibuff = string;
# 1659|                           obuff = buff;

Error: CPPCHECK_WARNING (CWE-401): [#def335]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:2399: error[memleakOnRealloc]: Common realloc mistake: 'p' nulled but not freed upon failure
# 2397|                == OPVP_PARAMERROR && nn > n) {
# 2398|               /* realloc buffer and retry */
# 2399|->             p = realloc(p,nn*sizeof(opvp_cspace_t));
# 2400|               r = gsopvpQueryColorSpace(dev, pdev->globals.printerContext,&nn,p);
# 2401|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c: scope_hint: In function ‘opvp_copy_color’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3264:8: warning[-Wanalyzer-malloc-leak]: leak of ‘mybuf’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/opvp_common.h:50: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:77: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3239:5: note: in expansion of macro ‘OPVP_I2FIX’
# 3262|   #endif
# 3263|   
# 3264|->     if (buff != data) {
# 3265|           /* buff was allocated from this function */
# 3266|           if (mybuf) free(mybuf);

Error: CPPCHECK_WARNING (CWE-401): [#def337]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3465: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3463|               return_error(gs_error_invalidaccess);
# 3464|           }
# 3465|->         buff = realloc(buff, vdps.size + 1);
# 3466|           memcpy(buff, vdps.data, vdps.size);
# 3467|           buff[vdps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def338]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3466:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3464|           }
# 3465|           buff = realloc(buff, vdps.size + 1);
# 3466|->         memcpy(buff, vdps.data, vdps.size);
# 3467|           buff[vdps.size] = 0;
# 3468|           opvp_alloc_string(&(opdev->globals.vectorDriver), buff);

Error: CPPCHECK_WARNING (CWE-401): [#def339]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3483: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3481|       switch (code) {
# 3482|       case 0:
# 3483|->         buff = realloc(buff, pmps.size + 1);
# 3484|           memcpy(buff, pmps.data, pmps.size);
# 3485|           buff[pmps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def340]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3484:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3482|       case 0:
# 3483|           buff = realloc(buff, pmps.size + 1);
# 3484|->         memcpy(buff, pmps.data, pmps.size);
# 3485|           buff[pmps.size] = 0;
# 3486|           opvp_alloc_string(&(opdev->globals.printerModel), buff);

Error: CPPCHECK_WARNING (CWE-401): [#def341]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3501: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3499|       switch (code) {
# 3500|       case 0:
# 3501|->         buff = realloc(buff, jips.size + 1);
# 3502|           memcpy(buff, jips.data, jips.size);
# 3503|           buff[jips.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def342]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3501:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
# 3499|       switch (code) {
# 3500|       case 0:
# 3501|->         buff = realloc(buff, jips.size + 1);
# 3502|           memcpy(buff, jips.data, jips.size);
# 3503|           buff[jips.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def343]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3502:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3500|       case 0:
# 3501|           buff = realloc(buff, jips.size + 1);
# 3502|->         memcpy(buff, jips.data, jips.size);
# 3503|           buff[jips.size] = 0;
# 3504|           opvp_alloc_string(&(opdev->globals.jobInfo), buff);

Error: CPPCHECK_WARNING (CWE-401): [#def344]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3519: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3517|       switch (code) {
# 3518|       case 0:
# 3519|->         buff = realloc(buff, dips.size + 1);
# 3520|           memcpy(buff, dips.data, dips.size);
# 3521|           buff[dips.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def345]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3519:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
# 3517|       switch (code) {
# 3518|       case 0:
# 3519|->         buff = realloc(buff, dips.size + 1);
# 3520|           memcpy(buff, dips.data, dips.size);
# 3521|           buff[dips.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def346]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3520:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3518|       case 0:
# 3519|           buff = realloc(buff, dips.size + 1);
# 3520|->         memcpy(buff, dips.data, dips.size);
# 3521|           buff[dips.size] = 0;
# 3522|           opvp_alloc_string(&(opdev->globals.docInfo), buff);

Error: CPPCHECK_WARNING (CWE-401): [#def347]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3537: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3535|       switch (code) {
# 3536|       case 0:
# 3537|->         buff = realloc(buff, fips.size + 1);
# 3538|           memcpy(buff, fips.data, fips.size);
# 3539|           buff[fips.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def348]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3537:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
# 3535|       switch (code) {
# 3536|       case 0:
# 3537|->         buff = realloc(buff, fips.size + 1);
# 3538|           memcpy(buff, fips.data, fips.size);
# 3539|           buff[fips.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def349]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3538:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3536|       case 0:
# 3537|           buff = realloc(buff, fips.size + 1);
# 3538|->         memcpy(buff, fips.data, fips.size);
# 3539|           buff[fips.size] = 0;
# 3540|           opvp_alloc_string(&fastImage, buff);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def350]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3541:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/string.h:462: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:30: included_from: Included from here.
/usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null
# 3539|           buff[fips.size] = 0;
# 3540|           opvp_alloc_string(&fastImage, buff);
# 3541|->         if (strcasecmp(fastImage,"NoCTM")==0) {
# 3542|               FastImageMode = FastImageNoCTM;
# 3543|           } else if (strncasecmp(fastImage,"NoRotate",8)==0) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def351]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3541:13: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
/usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null
# 3539|           buff[fips.size] = 0;
# 3540|           opvp_alloc_string(&fastImage, buff);
# 3541|->         if (strcasecmp(fastImage,"NoCTM")==0) {
# 3542|               FastImageMode = FastImageNoCTM;
# 3543|           } else if (strncasecmp(fastImage,"NoRotate",8)==0) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def352]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3541:13: warning[-Wanalyzer-null-argument]: use of NULL ‘fastImage’ where non-null expected
/usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null
# 3539|           buff[fips.size] = 0;
# 3540|           opvp_alloc_string(&fastImage, buff);
# 3541|->         if (strcasecmp(fastImage,"NoCTM")==0) {
# 3542|               FastImageMode = FastImageNoCTM;
# 3543|           } else if (strncasecmp(fastImage,"NoRotate",8)==0) {

Error: CPPCHECK_WARNING (CWE-401): [#def353]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3568: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3566|       switch (code) {
# 3567|       case 0:
# 3568|->         buff = realloc(buff, mlps.size + 1);
# 3569|           memcpy(buff, mlps.data, mlps.size);
# 3570|           buff[mlps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def354]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3568:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
# 3566|       switch (code) {
# 3567|       case 0:
# 3568|->         buff = realloc(buff, mlps.size + 1);
# 3569|           memcpy(buff, mlps.data, mlps.size);
# 3570|           buff[mlps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def355]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3569:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3567|       case 0:
# 3568|           buff = realloc(buff, mlps.size + 1);
# 3569|->         memcpy(buff, mlps.data, mlps.size);
# 3570|           buff[mlps.size] = 0;
# 3571|           opdev->globals.margins[0] = atof(buff);

Error: CPPCHECK_WARNING (CWE-401): [#def356]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3583: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3581|       switch (code) {
# 3582|       case 0:
# 3583|->         buff = realloc(buff, mtps.size + 1);
# 3584|           memcpy(buff, mtps.data, mtps.size);
# 3585|           buff[mtps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def357]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3583:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
# 3581|       switch (code) {
# 3582|       case 0:
# 3583|->         buff = realloc(buff, mtps.size + 1);
# 3584|           memcpy(buff, mtps.data, mtps.size);
# 3585|           buff[mtps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def358]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3584:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3582|       case 0:
# 3583|           buff = realloc(buff, mtps.size + 1);
# 3584|->         memcpy(buff, mtps.data, mtps.size);
# 3585|           buff[mtps.size] = 0;
# 3586|           opdev->globals.margins[3] = atof(buff);

Error: CPPCHECK_WARNING (CWE-401): [#def359]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3598: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3596|       switch (code) {
# 3597|       case 0:
# 3598|->         buff = realloc(buff, mrps.size + 1);
# 3599|           memcpy(buff, mrps.data, mrps.size);
# 3600|           buff[mrps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def360]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3598:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
# 3596|       switch (code) {
# 3597|       case 0:
# 3598|->         buff = realloc(buff, mrps.size + 1);
# 3599|           memcpy(buff, mrps.data, mrps.size);
# 3600|           buff[mrps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def361]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3599:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3597|       case 0:
# 3598|           buff = realloc(buff, mrps.size + 1);
# 3599|->         memcpy(buff, mrps.data, mrps.size);
# 3600|           buff[mrps.size] = 0;
# 3601|           opdev->globals.margins[2] = atof(buff);

Error: CPPCHECK_WARNING (CWE-401): [#def362]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3613: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3611|       switch (code) {
# 3612|       case 0:
# 3613|->         buff = realloc(buff, mbps.size + 1);
# 3614|           memcpy(buff, mbps.data, mbps.size);
# 3615|           buff[mbps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def363]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3613:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
# 3611|       switch (code) {
# 3612|       case 0:
# 3613|->         buff = realloc(buff, mbps.size + 1);
# 3614|           memcpy(buff, mbps.data, mbps.size);
# 3615|           buff[mbps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def364]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3614:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3612|       case 0:
# 3613|           buff = realloc(buff, mbps.size + 1);
# 3614|->         memcpy(buff, mbps.data, mbps.size);
# 3615|           buff[mbps.size] = 0;
# 3616|           opdev->globals.margins[1] = atof(buff);

Error: CPPCHECK_WARNING (CWE-401): [#def365]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3630: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
# 3628|       switch (code) {
# 3629|       case 0:
# 3630|->         buff = realloc(buff, zmps.size + 1);
# 3631|           memcpy(buff, zmps.data, zmps.size);
# 3632|           buff[zmps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def366]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3630:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
# 3628|       switch (code) {
# 3629|       case 0:
# 3630|->         buff = realloc(buff, zmps.size + 1);
# 3631|           memcpy(buff, zmps.data, zmps.size);
# 3632|           buff[zmps.size] = 0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def367]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:3631:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 3629|       case 0:
# 3630|           buff = realloc(buff, zmps.size + 1);
# 3631|->         memcpy(buff, zmps.data, zmps.size);
# 3632|           buff[zmps.size] = 0;
# 3633|           if (strncasecmp(buff, "Auto", 4)) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def368]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c: scope_hint: In function ‘opvp_vector_dopath’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5067:16: warning[-Wanalyzer-malloc-leak]: leak of ‘points’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:59: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5076:14: note: in expansion of macro ‘vdev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevcli.h:36: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevice.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:54: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:124:26: note: in definition of macro ‘fixed2float’
# 5065|       /* check page-in */
# 5066|       if (opvp_check_in_page(opdev))
# 5067|->         return -1;
# 5068|   
# 5069|       if (gx_path_is_rectangle(ppath, &rect))

Error: CPPCHECK_WARNING (CWE-401): [#def369]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5091: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5089|   #ifdef  OPVP_OPT_MULTI_PATH
# 5090|               npoints = 1;
# 5091|->             points = realloc(points, sizeof(_fPoint));
# 5092|               current = start;
# 5093|   #endif

Error: GCC_ANALYZER_WARNING (CWE-476): [#def370]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5095:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘points’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5076:14: note: in expansion of macro ‘vdev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:124:26: note: in definition of macro ‘fixed2float’
# 5093|   #endif
# 5094|   
# 5095|->             points[0] = start;
# 5096|   
# 5097|   #ifdef  OPVP_OPT_MULTI_PATH

Error: CPPCHECK_WARNING (CWE-401): [#def371]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5100: error[memleakOnRealloc]: Common realloc mistake: 'opvp_p' nulled but not freed upon failure
# 5098|           } else if (op != pop) {
# 5099|               /* convert float to Fix */
# 5100|->             opvp_p = realloc(opvp_p, sizeof(opvp_point_t) * npoints);
# 5101|               for (i = 0; i < npoints; i++) {
# 5102|                   OPVP_F2FIX(points[i].x, opvp_p[i].x);

Error: GCC_ANALYZER_WARNING (CWE-415): [#def372]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5100:22: warning[-Wanalyzer-double-free]: double-‘free’ of ‘opvp_p’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5076:14: note: in expansion of macro ‘vdev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:124:26: note: in definition of macro ‘fixed2float’
# 5098|           } else if (op != pop) {
# 5099|               /* convert float to Fix */
# 5100|->             opvp_p = realloc(opvp_p, sizeof(opvp_point_t) * npoints);
# 5101|               for (i = 0; i < npoints; i++) {
# 5102|                   OPVP_F2FIX(points[i].x, opvp_p[i].x);

Error: CPPCHECK_WARNING (CWE-401): [#def373]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5151: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5149|               /* reset */
# 5150|               npoints = 1;
# 5151|->             points = realloc(points, sizeof(_fPoint));
# 5152|               points[0] = current;
# 5153|   #endif

Error: CPPCHECK_WARNING (CWE-401): [#def374]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5164: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5162|               i = npoints;
# 5163|               npoints += 1;
# 5164|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5165|               points[i].x = fixed2float(vs[0]) / scale.x;
# 5166|               points[i].y = fixed2float(vs[1]) / scale.y;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def375]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5164:22: warning[-Wanalyzer-double-free]: double-‘free’ of ‘points’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5076:14: note: in expansion of macro ‘vdev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:124:26: note: in definition of macro ‘fixed2float’
# 5162|               i = npoints;
# 5163|               npoints += 1;
# 5164|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5165|               points[i].x = fixed2float(vs[0]) / scale.x;
# 5166|               points[i].y = fixed2float(vs[1]) / scale.y;

Error: CPPCHECK_WARNING (CWE-401): [#def376]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5191: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5189|               i = npoints;
# 5190|               npoints += 1;
# 5191|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5192|               points[i].x = fixed2float(vs[0]) / scale.x;
# 5193|               points[i].y = fixed2float(vs[1]) / scale.y;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def377]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5191:22: warning[-Wanalyzer-double-free]: double-‘free’ of ‘points’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5076:14: note: in expansion of macro ‘vdev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:124:26: note: in definition of macro ‘fixed2float’
# 5189|               i = npoints;
# 5190|               npoints += 1;
# 5191|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5192|               points[i].x = fixed2float(vs[0]) / scale.x;
# 5193|               points[i].y = fixed2float(vs[1]) / scale.y;

Error: CPPCHECK_WARNING (CWE-401): [#def378]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5215: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
# 5213|               i = npoints;
# 5214|               npoints += 3;
# 5215|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5216|               points[i  ].x = fixed2float(vs[0]) / scale.x;
# 5217|               points[i  ].y = fixed2float(vs[1]) / scale.y;

Error: GCC_ANALYZER_WARNING (CWE-415): [#def379]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5215:22: warning[-Wanalyzer-double-free]: double-‘free’ of ‘points’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5076:14: note: in expansion of macro ‘vdev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:124:26: note: in definition of macro ‘fixed2float’
# 5213|               i = npoints;
# 5214|               npoints += 3;
# 5215|->             points = realloc(points, sizeof(_fPoint) * npoints);
# 5216|               points[i  ].x = fixed2float(vs[0]) / scale.x;
# 5217|               points[i  ].y = fixed2float(vs[1]) / scale.y;

Error: GCC_ANALYZER_WARNING (CWE-416): [#def380]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5247:21: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘points’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5076:14: note: in expansion of macro ‘vdev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:124:26: note: in definition of macro ‘fixed2float’
# 5245|           case gs_pe_closepath:
# 5246|               /* close path */
# 5247|->             code = (*vdev_proc(vdev, closepath))(
# 5248|                          vdev,
# 5249|                          points[0].x,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def381]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/opvp.h:68:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘points’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5102:17: note: in expansion of macro ‘OPVP_F2FIX’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5076:14: note: in expansion of macro ‘vdev_proc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfixed.h:124:26: note: in definition of macro ‘fixed2float’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/opvp.h:68:50: note: in definition of macro ‘OPVP_F2FIX’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/opvp.h:68:50: note: in definition of macro ‘OPVP_F2FIX’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/opvp.h:68:50: note: in definition of macro ‘OPVP_F2FIX’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/opvp/gdevopvp.c:5102:17: note: in expansion of macro ‘OPVP_F2FIX’
#   66|   /* convert macro */
#   67|   #define	OPVP_I2FIX(i,fix)	(fix=i<<OPVP_FIX_FRACT_WIDTH)
#   68|-> #define	OPVP_F2FIX(f,fix)	(fix=((int)floor(f)<<OPVP_FIX_FRACT_WIDTH)\
#   69|                                       |((int)((f-floor(f))*OPVP_FIX_FRACT_DENOM)\
#   70|                                         &(OPVP_FIX_FRACT_DENOM-1)))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def382]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/eprnparm.c:47: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/eprnparm.c: scope_hint: In function ‘eprn_read_media_data’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/eprnparm.c:447:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevprn.h:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/gdeveprn.h:187: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/eprnparm.c:59: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:268:6: note: in definition of macro ‘gs_alloc_byte_array’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/eprnparm.c:655:32: note: in expansion of macro ‘gs_malloc’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/eprnparm.c: scope_hint: In function ‘eprn_read_media_data’
#  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-416): [#def383]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/eprnparm.c:447:34: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘s’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:268:6: note: in definition of macro ‘gs_alloc_byte_array’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/eprnparm.c:655:32: note: in expansion of macro ‘gs_malloc’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/eprnparm.c: scope_hint: In function ‘eprn_read_media_data’
#  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): [#def384]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/mediasize.c: scope_hint: In function ‘ms_find_code_from_name’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/mediasize.c:308:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/mediasize.c:299:7: note: in expansion of macro ‘set_if’
#  306|         flags |= flag;
#  307|         s = t;
#  308|->     } while (*t != '\0');
#  309|     }
#  310|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def385]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/mediasize.c: scope_hint: In function ‘add_substrings’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/mediasize.c:376:7: warning[-Wanalyzer-null-argument]: use of NULL ‘buffer’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
#  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): [#def386]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/pagecount.c: scope_hint: In function ‘lock_file’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/pagecount.c:67:8: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/pagecount.c: scope_hint: In function ‘lock_file’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:142: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/eprn/pagecount.c:25: included_from: Included from here.
/usr/include/stdio.h:873:12: note: argument 1 of ‘fileno’ must be non-null
#   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): [#def387]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:38: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c: scope_hint: In function ‘get_int_for_string’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:360:29: warning[-Wanalyzer-null-dereference]: 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): [#def388]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:361:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
#  359|   
#  360|       while (s < t && isspace(*(t-1))) t--;
#  361|->     *t = '\0';
#  362|     }
#  363|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def389]
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c: scope_hint: In function ‘find_subdevice_name’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:493:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c: scope_hint: In function ‘find_subdevice_name’
#  491|     assert(found != NULL);
#  492|   
#  493|->   return found->name;
#  494|   }
#  495|   

Error: CPPCHECK_WARNING (CWE-457): [#def390]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def391]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def392]
ghostscript-10.04.0-build/ghostscript-10.04.0/cups/gdevcups.c: scope_hint: In function ‘cups_print_pages’
ghostscript-10.04.0-build/ghostscript-10.04.0/cups/gdevcups.c:2994:25: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/cups/gdevcups.c: scope_hint: In function ‘cups_print_pages’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:142: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/cups/gdevcups.c:70: included_from: Included from here.
/usr/include/stdio.h:873:12: note: argument 1 of ‘fileno’ must be non-null
# 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): [#def393]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdev4693.c: scope_hint: In function ‘t4693d_print_page’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdev4693.c:124:35: warning[-Wanalyzer-infinite-loop]: infinite loop
#  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): [#def394]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevdjtc.c: scope_hint: In function ‘mode2compress’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevdjtc.c:267:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘row’
#  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): [#def395]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevdsp.c:979: warning[nullPointer]: Possible null pointer dereference: dh.data
#  977|               code = 0;
#  978|               for (i=0; i<dh.size; i++) {
#  979|->                 val = dh.data[i];
#  980|                   if ((val >= '0') && (val <= '9'))
#  981|                       val = val - '0';

Error: GCC_ANALYZER_WARNING (CWE-457): [#def396]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevdsp.c: scope_hint: In function ‘display_alloc_bitmap’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevdsp.c:1687:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buf_space.bits’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevdsp.c:40: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gserrors.h:142:28: note: in expansion of macro ‘gs_log_error’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gserrors.h:143:34: note: in expansion of macro ‘gs_note_error’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevdsp.c:1541:9: note: in expansion of macro ‘return_error’
# 1685|       display_size_buf_device(&buf_space, (gx_device *)ddev,
# 1686|                               NULL, ddev->height, false);
# 1687|->     ddev->zBitmapSize = buf_space.bits + buf_space.line_ptrs;
# 1688|   
# 1689|       if (ddev->callback->version_major > DISPLAY_VERSION_MAJOR_V2 ||

Error: CPPCHECK_WARNING (CWE-758): [#def397]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-457): [#def398]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def399]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:608: error[uninitvar]: Uninitialized variable: buf
#  606|   
#  607|           do {
#  608|->             stream_cursor_write_init(&w, buf, sizeof(buf));
#  609|               status = (*templat->process) (st, &r, &w, true);
#  610|               stream_write(s, buf, (uint) (w.ptr + 1 - buf));

Error: COMPILER_WARNING (CWE-563): [#def400]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpppm.c:141:9: warning[-Wunused-variable]: unused variable ‘x’
#  141 |     int x, y;
#      |         ^
#  139|       int raster = bitmap_raster(bdev->width * 3 * 8);
#  140|       int h = rect->q.y - rect->p.y;
#  141|->     int x, y;
#  142|       unsigned char *p;
#  143|       gs_int_rect my_rect;

Error: COMPILER_WARNING (CWE-563): [#def401]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpppm.c:144:9: warning[-Wunused-variable]: unused variable ‘err’
#  144 |     int err;
#      |         ^~~
#  142|       unsigned char *p;
#  143|       gs_int_rect my_rect;
#  144|->     int err;
#  145|       int page_height = gx_downscaler_scale_rounded(dev->height, fdev->downscale.downscale_factor);
#  146|       gs_offset_t offset = fdev->header_len;

Error: COMPILER_WARNING (CWE-563): [#def402]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpppm.c: scope_hint: In function ‘pppm_process_and_output’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpppm.c:145:9: warning[-Wunused-variable]: unused variable ‘page_height’
#  145 |     int page_height = gx_downscaler_scale_rounded(dev->height, fdev->downscale.downscale_factor);
#      |         ^~~~~~~~~~~
#  143|       gs_int_rect my_rect;
#  144|       int err;
#  145|->     int page_height = gx_downscaler_scale_rounded(dev->height, fdev->downscale.downscale_factor);
#  146|       gs_offset_t offset = fdev->header_len;
#  147|       gx_device_clist_reader *clrdev = (gx_device_clist_reader *)dev;

Error: CPPCHECK_WARNING (CWE-190): [#def403]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:3517: error[integerOverflow]: Signed integer overflow for expression 'hv-lv'.
# 3515|               upd->valbuf[i] = v;
# 3516|            }
# 3517|->          scale = (float) comp->threshold / (float) (hv - lv);
# 3518|            lv   += (int32_t)(comp->threshold / (2*scale));
# 3519|            for(i = icomp; i < upd->nvalbuf; i += upd->ncomp)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def404]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c: scope_hint: In function ‘upd_open_writer’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4216:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ip’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4210:10: note: in expansion of macro ‘UPD_MM_DEL_PARAM’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4211:10: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
# 4214|   
# 4215|            for(iy = 1; iy < upd->ints[I_NYPASS]; ++iy) {
# 4216|->             for(ix = 1; ix < upd->ints[I_NXPASS]; ++ix) *ip++ = 0;
# 4217|               *ip++ = 1;
# 4218|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def405]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4217:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ip’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4210:10: note: in expansion of macro ‘UPD_MM_DEL_PARAM’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4211:10: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
# 4215|            for(iy = 1; iy < upd->ints[I_NYPASS]; ++iy) {
# 4216|               for(ix = 1; ix < upd->ints[I_NXPASS]; ++ix) *ip++ = 0;
# 4217|->             *ip++ = 1;
# 4218|            }
# 4219|            for(ix = 1; ix < upd->ints[I_NXPASS]; ++ix) *ip++ = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4219:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ip’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4210:10: note: in expansion of macro ‘UPD_MM_DEL_PARAM’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4211:10: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
# 4217|               *ip++ = 1;
# 4218|            }
# 4219|->          for(ix = 1; ix < upd->ints[I_NXPASS]; ++ix) *ip++ = 0;
# 4220|            *ip = upd->ints[I_NYPASS] * upd->ints[I_PINS2WRITE]
# 4221|                - upd->ints[I_NYPASS] + 1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def407]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4220:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ip’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4210:10: note: in expansion of macro ‘UPD_MM_DEL_PARAM’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4211:10: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
# 4218|            }
# 4219|            for(ix = 1; ix < upd->ints[I_NXPASS]; ++ix) *ip++ = 0;
# 4220|->          *ip = upd->ints[I_NYPASS] * upd->ints[I_PINS2WRITE]
# 4221|                - upd->ints[I_NYPASS] + 1;
# 4222|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def408]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4262:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ip’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:879:12: note: in definition of macro ‘UPD_MM_GET_ARRAY’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:4257:10: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
# 4260|   
# 4261|            for(i = 0, ix = 0; i < upd->int_a[IA_STD_IX].size; ++i) {
# 4262|->             *ip++ = ix++;
# 4263|               if(ix == upd->ints[I_NXPASS]) ix = 0;
# 4264|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def409]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c: scope_hint: In function ‘upd_open_wrtescp2’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:5442:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bp’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:5437:13: note: in expansion of macro ‘UPD_MM_DEL_PARAM’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:5438:13: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
# 5440|               upd->int_a[IA_ROWMASK].data = bp;
# 5441|               for (i = 0 ; i < upd->ints[I_PATRPT] ; i++){
# 5442|->                *bp++  = 1; /* black */
# 5443|               }
# 5444|            }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def410]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:5453:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bp’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:5448:13: note: in expansion of macro ‘UPD_MM_DEL_PARAM’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:5449:13: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
# 5451|               upd->int_a[IA_SCNOFS].data = bp;
# 5452|               for (i = 0 ; i < upd->ints[I_PATRPT] ; i++){
# 5453|->                *bp++  = i;
# 5454|               }
# 5455|            }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def411]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c: scope_hint: In function ‘upd_open_wrtrtl’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6529:14: warning[-Wanalyzer-null-argument]: use of NULL ‘bp’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6526:14: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 6527|   
# 6528|                if(0 <= j) memcpy(bp,upd->strings[S_BEGIN].data,j+1);
# 6529|->              memcpy(bp+j+1,    cv,ncv);
# 6530|                memcpy(bp+j+1+ncv,upd->strings[S_BEGIN].data+i,
# 6531|                                  upd->strings[S_BEGIN].size-i);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def412]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6547:14: warning[-Wanalyzer-null-argument]: use of NULL ‘bp’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6544:14: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 6545|   
# 6546|                if(0 <= j) memcpy(bp,upd->strings[S_BEGIN].data,j+1);
# 6547|->              memcpy(bp+j+1,    cv,ncv);
# 6548|                memcpy(bp+j+1+ncv,upd->strings[S_BEGIN].data+i,
# 6549|                                  upd->strings[S_BEGIN].size-i);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def413]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6578:25: warning[-Wanalyzer-null-argument]: use of NULL ‘bp’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxdevice.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gdevprn.h:29: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:91: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6570:24: note: in expansion of macro ‘y_pixels_per_inch’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6576:14: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6576:14: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6570:24: note: in expansion of macro ‘y_pixels_per_inch’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6576:14: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 6576|                UPD_MM_GET_ARRAY(udev->memory, bp,nbp);
# 6577|   
# 6578|->              if(0 <= j) memcpy(bp,upd->strings[S_BEGIN].data,j+1);
# 6579|                memcpy(bp+j+1,    cv,ncv);
# 6580|                memcpy(bp+j+1+ncv,upd->strings[S_BEGIN].data+i,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def414]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6579:14: warning[-Wanalyzer-null-argument]: use of NULL ‘bp’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6570:24: note: in expansion of macro ‘y_pixels_per_inch’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6576:14: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 6577|   
# 6578|                if(0 <= j) memcpy(bp,upd->strings[S_BEGIN].data,j+1);
# 6579|->              memcpy(bp+j+1,    cv,ncv);
# 6580|                memcpy(bp+j+1+ncv,upd->strings[S_BEGIN].data+i,
# 6581|                                  upd->strings[S_BEGIN].size-i);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def415]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6784:16: warning[-Wanalyzer-null-argument]: use of NULL ‘bp’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6781:16: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 6782|   
# 6783|                  if(0 <= j) memcpy(bp,upd->strings[S_BEGIN].data,j+1);
# 6784|->                memcpy(bp+j+1,    cv,ncv);
# 6785|                  memcpy(bp+j+1+ncv,upd->strings[S_BEGIN].data+i,
# 6786|                                  upd->strings[S_BEGIN].size-i);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def416]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6849:16: warning[-Wanalyzer-null-argument]: use of NULL ‘bp’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6846:16: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 6847|   
# 6848|                  if(0 <= j) memcpy(bp,upd->strings[S_BEGIN].data,j+1);
# 6849|->                memcpy(bp+j+1,    cv,ncv);
# 6850|                  memcpy(bp+j+1+ncv,upd->strings[S_BEGIN].data+i,
# 6851|                                  upd->strings[S_BEGIN].size-i);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def417]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6946:16: warning[-Wanalyzer-null-argument]: use of NULL ‘bp’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6937:26: note: in expansion of macro ‘y_pixels_per_inch’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:6943:16: note: in expansion of macro ‘UPD_MM_GET_ARRAY’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 6944|   
# 6945|                  if(0 <= j) memcpy(bp,upd->strings[S_BEGIN].data,j+1);
# 6946|->                memcpy(bp+j+1,    cv,ncv);
# 6947|                  memcpy(bp+j+1+ncv,upd->strings[S_BEGIN].data+i,
# 6948|                                  upd->strings[S_BEGIN].size-i);

Error: CPPCHECK_WARNING (CWE-758): [#def418]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevx.c:164: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  162|       x_finalize, st_device_bbox, buffer);
#  163|   
#  164|-> x_device(gs_x11_device,
#  165|            std_device_color_stype_body(gx_device_X,
#  166|                                        gdev_x_initialize_device_procs,

Error: CPPCHECK_WARNING (CWE-758): [#def419]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevx.c:173: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  171|                                        24, 255, 256 ))
#  172|   
#  173|-> x_device(gs_x11alpha_device,
#  174|            std_device_dci_alpha_type_body(gx_device_X,
#  175|                                           gdev_x_initialize_device_procs,

Error: CPPCHECK_WARNING (CWE-758): [#def420]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevx.c:871: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  869|   update_init(gx_device_X *xdev)
#  870|   {
#  871|->     xdev->update.box.p.x = xdev->update.box.p.y = max_int_in_fixed;
#  872|       xdev->update.box.q.x = xdev->update.box.q.y = min_int_in_fixed;
#  873|       xdev->update.area = xdev->update.total = xdev->update.count = 0;

Error: CPPCHECK_WARNING (CWE-758): [#def421]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevx.c:872: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  870|   {
#  871|       xdev->update.box.p.x = xdev->update.box.p.y = max_int_in_fixed;
#  872|->     xdev->update.box.q.x = xdev->update.box.q.y = min_int_in_fixed;
#  873|       xdev->update.area = xdev->update.total = xdev->update.count = 0;
#  874|   }

Error: CPPCHECK_WARNING (CWE-758): [#def422]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevx.c:881: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  879|   {
#  880|       flush_text(xdev);
#  881|->     if (xdev->update.box.q.x == min_int_in_fixed || xdev->update.box.q.y == min_int_in_fixed)
#  882|           return;
#  883|       if (xdev->update.box.p.x == max_int_in_fixed || xdev->update.box.p.y == max_int_in_fixed)

Error: CPPCHECK_WARNING (CWE-758): [#def423]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevx.c:883: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  881|       if (xdev->update.box.q.x == min_int_in_fixed || xdev->update.box.q.y == min_int_in_fixed)
#  882|           return;
#  883|->     if (xdev->update.box.p.x == max_int_in_fixed || xdev->update.box.p.y == max_int_in_fixed)
#  884|           return;
#  885|       if (xdev->update.count != 0) {

Error: CPPCHECK_WARNING (CWE-758): [#def424]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gxfcopy.c:2205: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 2203|           code = uid_copy(&bfont->UID, mem, "gs_copy_font(UID)");
# 2204|           if (code < 0) {
# 2205|->             uid_set_invalid(&bfont->UID);
# 2206|               goto fail;
# 2207|           }

Error: CPPCHECK_WARNING (CWE-401): [#def425]
ghostscript-10.04.0-build/ghostscript-10.04.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-476): [#def426]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c: scope_hint: In function ‘even_better_compress_rll’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1406:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
# 1404|             if (count > 0xffff - whole || val != last_val)
# 1405|               {
# 1406|->               dst[rll_idx].length = count;
# 1407|                 dst[rll_idx].value = last_val;
# 1408|                 rll_idx++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def427]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1424:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
# 1422|             if (count >= 0xffff - whole || val != last_val)
# 1423|               {
# 1424|->               dst[rll_idx].length = count;
# 1425|                 dst[rll_idx].value = last_val;
# 1426|                 rll_idx++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def428]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1439:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
# 1437|           }
# 1438|       }
# 1439|->   dst[rll_idx].length = count;
# 1440|     dst[rll_idx].value = last_val;
# 1441|     rll_idx++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def429]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c: scope_hint: In function ‘even_better_plane_new’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1551:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
# 1549|     result = (EBPlaneCtx *)malloc (sizeof(EBPlaneCtx));
# 1550|   
# 1551|->   result->source_width = source_width;
# 1552|     result->dest_width = dest_width;
# 1553|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def430]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1569:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_lut’
# 1567|         else
# 1568|           nli = lut[i] >> (24 - EVEN_SHIFT);
# 1569|->       new_lut[i] = (1 << EVEN_SHIFT) - nli;
# 1570|       }
# 1571|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def431]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1594:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs_lut’
# 1592|   
# 1593|         rs = eb_compute_randshift(nl, rs_base, do_shadows, params->levels);
# 1594|->       rs_lut[i] = rs;
# 1595|   
# 1596|         if (params->do_shadows)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def432]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1611:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rb_lut’
# 1609|               }
# 1610|           }
# 1611|->       rb_lut[i] = rb;
# 1612|   
# 1613|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def433]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1639:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)dest_width, 4)’
# 1637|     for (i = 0; i < dest_width; i++)
# 1638|       {
# 1639|->       result->a_line[i] = 1;
# 1640|         result->b_line[i] = 1;
# 1641|         result->iir_line[i] = -((rand () & 0x7fff) << 6) >> (24 - EVEN_SHIFT);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def434]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1640:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)dest_width, 4)’
# 1638|       {
# 1639|         result->a_line[i] = 1;
# 1640|->       result->b_line[i] = 1;
# 1641|         result->iir_line[i] = -((rand () & 0x7fff) << 6) >> (24 - EVEN_SHIFT);
# 1642|         if (do_shadows)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def435]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1641:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)dest_width, 4)’
# 1639|         result->a_line[i] = 1;
# 1640|         result->b_line[i] = 1;
# 1641|->       result->iir_line[i] = -((rand () & 0x7fff) << 6) >> (24 - EVEN_SHIFT);
# 1642|         if (do_shadows)
# 1643|           {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def436]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c: scope_hint: In function ‘even_better_new’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1686:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
# 1684|       }
# 1685|   
# 1686|->   result->source_width = params->source_width;
# 1687|     result->dest_width = params->dest_width;
# 1688|     result->n_planes = n_planes;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def437]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1697:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)n_planes * 4)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 1695|   
# 1696|     result->strengths = (int *)malloc (sizeof(int) * n_planes);
# 1697|->   memcpy (result->strengths, params->strengths,
# 1698|             sizeof(int) * n_planes);
# 1699|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def438]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/evenbetter-rll.c:1754:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)n_planes * 8)’
# 1752|         result->plane_ctx = (EBPlaneCtx **)malloc(sizeof(EBPlaneCtx *) * n_planes);
# 1753|         for (i = 0; i < n_planes; i++)
# 1754|->         result->plane_ctx[i] = even_better_plane_new (params, result, i);
# 1755|       }
# 1756|     return result;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def439]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-byte-stream.c: scope_hint: In function ‘rinkj_byte_stream_file_new’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-byte-stream.c:105:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
#  103|   
#  104|     result->super.write = rinkj_byte_stream_file_write;
#  105|->   result->f = f;
#  106|   
#  107|     return &result->super;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def440]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-byte-stream.c:107:10: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
#  105|     result->f = f;
#  106|   
#  107|->   return &result->super;
#  108|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def441]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-config.c: scope_hint: In function ‘rinkj_strdup_size’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-config.c:41:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘result’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   39|   
#   40|     result = malloc (size + 1);
#   41|->   memcpy (result, src, size);
#   42|     result[size] = 0;
#   43|     return result;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def442]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-device.c: scope_hint: In function ‘rinkj_device_set_param’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-device.c:45:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   43|     /* This implementation is in terms of device_set, but we're going to
#   44|        change the prototype of the device so this is native. */
#   45|->   memcpy (buf, key, keylen);
#   46|     memcpy (buf + keylen, ": ", 2);
#   47|     memcpy (buf + keylen + 2, value, value_size);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def443]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_escp_shuffle_dblx’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:586:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
#  584|         s0 = src[i * 2] << pass;
#  585|         s1 = src[i * 2 + 1] << pass;
#  586|->       dst[i] = (s0 & 0x80) | ((s0 & 0x20) << 1) | ((s0 & 8) << 2) | ((s0 & 2) << 3) |
#  587|           ((s1 & 0x80) >> 4) | ((s1 & 0x20) >> 3) | ((s1 & 8) >> 2) | ((s1 & 2) >> 1);
#  588|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def444]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_escp_shuffle_4pass_1bit’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:622:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
#  620|         s2 = src[i * 4 + 2] << shift;
#  621|         s3 = src[i * 4 + 3] << shift;
#  622|->       dst[i] = (s0 & 0x80) | ((s0 & 8) << 3) |
#  623|           ((s1 & 0x80) >> 2) | ((s1 & 8) << 1) |
#  624|           ((s2 & 0x80) >> 4) | ((s2 & 8) >> 1) |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def445]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_escp_shuffle_2pass_2bit’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:664:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
#  662|         s0 = src[i * 2] << shift;
#  663|         s1 = src[i * 2 + 1] << shift;
#  664|->       dst[i] = (s0 & 0xc0) | ((s0 & 0x0c) << 2) |
#  665|           ((s1 & 0xc0) >> 4) | ((s1 & 0x0c) >> 2);
#  666|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def446]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:670:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
#  668|       {
#  669|         s0 = src[n_bytes - 1] << shift;
#  670|->       dst[i] = (s0 & 0xc0) | ((s0 & 0x0c) << 2);
#  671|       }
#  672|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def447]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_escp_shuffle_4pass_2bit’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:700:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
#  698|         s2 = src[i * 4 + 2] << shift;
#  699|         s3 = src[i * 4 + 3] << shift;
#  700|->       dst[i] = (s0 & 0xc0) | ((s1 & 0xc0) >> 2) |
#  701|           ((s2 & 0xc0) >> 4) | ((s3 & 0xc0) >> 6);
#  702|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def448]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_escp_1pass_dblx’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:724:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
#  722|       {
#  723|         unsigned char s = src[i];
#  724|->       dst[i * 2] = (((s & 0x80) >> 1) | ((s & 0x40) >> 2) |
#  725|                       ((s & 0x20) >> 3) | ((s & 0x10) >> 4)) * DOT;
#  726|         dst[i * 2 + 1] = (((s & 8) << 3) | ((s & 4) << 2) |

Error: GCC_ANALYZER_WARNING (CWE-476): [#def449]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:737:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_escp_shuffle’
#  735|   
#  736|     for (i = 0; i < n_bytes; i++)
#  737|->     dst[i] = (src[i] >> (1 - x_pass) & 0x55) * DOT;
#  738|   }
#  739|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def450]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_escp_sel_shuffle_dblx’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:752:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
#  750|         s0 = src[i * 2] << pass;
#  751|         s1 = src[i * 2 + 1] << pass;
#  752|->       dst[i] = (((s0 & 0x80) >> 1) | ((s0 & 8) << 1) |
#  753|           ((s1 & 0x80) >> 5) | ((s1 & 0x8) >> 3)) * DOT;
#  754|       }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def451]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_escp_shuffle’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:769:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dst’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  767|       {
#  768|         if (passes_per_scan == 1)
#  769|->         memcpy (dst, src, n_bytes);
#  770|         else if (passes_per_scan == 2)
#  771|           rinkj_escp_shuffle_2pass_2bit (dst, src, pass, n_bytes);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def452]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:787:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dst’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  785|       {
#  786|         if (passes_per_scan == 1)
#  787|->         memcpy (dst, src, n_bytes);
#  788|         else if (passes_per_scan == 2)
#  789|           rinkj_escp_shuffle_dblx (dst, src, pass, n_bytes);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def453]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_escp_compress_rle’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:816:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘src’
#  814|     for (i = 0; i < n; i += run)
#  815|       {
#  816|->       b = src[i];
#  817|         for (run = 1; run < 129 && i + run < n; run++)
#  818|           if (b != src[i + run])

Error: GCC_ANALYZER_WARNING (CWE-457): [#def454]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:816:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  814|     for (i = 0; i < n; i += run)
#  815|       {
#  816|->       b = src[i];
#  817|         for (run = 1; run < 129 && i + run < n; run++)
#  818|           if (b != src[i + run])

Error: GCC_ANALYZER_WARNING (CWE-476): [#def455]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:834:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
#  832|                   break;
#  833|               }
#  834|->           dst[j++] = run - 1;
#  835|             memcpy (dst + j, src + i, run);
#  836|             j += run;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def456]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_escp_flush’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:951:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘thisbuf’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  949|                                   z->passes_per_scan, z->bps, z->head_bps);
#  950|             else
#  951|->             memset (thisbuf, 0, xsb_out);
#  952|             z->buf_linevalid[bufy * z->num_chan + i] &= ~pass_mask;
#  953|   #ifdef VERBOSE

Error: GCC_ANALYZER_WARNING (CWE-476): [#def457]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c: scope_hint: In function ‘rinkj_epson870_new’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:1070:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
# 1068|     result->super.init = rinkj_escp_init;
# 1069|     result->super.init_happened = 0;
# 1070|->   result->width = 0;
# 1071|     result->out = out;
# 1072|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-epson870.c:1084:10: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
# 1082|     result->printer_weave = -1;
# 1083|   
# 1084|->   return &result->super;
# 1085|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def459]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-screen-eb.c: scope_hint: In function ‘rinkj_screen_eb_write’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-screen-eb.c:178:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out_data’
#  176|     for (i = 0; i < n_planes; i++)
#  177|       {
#  178|->       out_data[i] = malloc (xsb);
#  179|         out_buf[i] = malloc (xs);
#  180|         data_permuted[i] = (const uchar *)data[permutation[i]];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def460]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-screen-eb.c:179:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out_buf’
#  177|       {
#  178|         out_data[i] = malloc (xsb);
#  179|->       out_buf[i] = malloc (xs);
#  180|         data_permuted[i] = (const uchar *)data[permutation[i]];
#  181|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def461]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-screen-eb.c:180:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data_permuted’
#  178|         out_data[i] = malloc (xsb);
#  179|         out_buf[i] = malloc (xs);
#  180|->       data_permuted[i] = (const uchar *)data[permutation[i]];
#  181|       }
#  182|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def462]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-screen-eb.c: scope_hint: In function ‘rinkj_screen_eb_new’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-screen-eb.c:271:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
#  269|     result->super.init = rinkj_screen_eb_init;
#  270|     result->super.init_happened = 0;
#  271|->   result->dev_out = dev_out;
#  272|     result->lut = NULL;
#  273|     result->xscale = 1.0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-screen-eb.c:278:10: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
#  276|     result->bps = 1;
#  277|   
#  278|->   return &result->super;
#  279|   }
#  280|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def464]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-screen-eb.c: scope_hint: In function ‘rinkj_screen_eb_set_lut’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/rinkj/rinkj-screen-eb.c:329:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown> + (long unsigned int)i * 4’
#  327|         double v;
#  328|         v = 1.0 - lut[i];
#  329|->       z->lut[plane][i] = floor (0.5 + 0x1000000 * v);
#  330|       }
#  331|   }

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

Error: CPPCHECK_WARNING (CWE-758): [#def466]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdf.c:904: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  902|       pdev->max_outline_depth = INITIAL_MAX_OUTLINE_DEPTH;
#  903|       pdev->outline_levels[0].first.id = 0;
#  904|->     pdev->outline_levels[0].left = max_int;
#  905|       pdev->outline_levels[0].first.action = 0;
#  906|       pdev->outline_levels[0].last.action = 0;

Error: CPPCHECK_WARNING (CWE-758): [#def467]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdf.c:1623: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1621|               } else
# 1622|                   index = 0;
# 1623|->             if (pos & ASIDES_BASE_POSITION)
# 1624|                   pos += resource_pos - ASIDES_BASE_POSITION;
# 1625|               pos -= pdev->OPDFRead_procset_length;

Error: CPPCHECK_WARNING (CWE-758): [#def468]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdf.c:1624: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1622|                   index = 0;
# 1623|               if (pos & ASIDES_BASE_POSITION)
# 1624|->                 pos += resource_pos - ASIDES_BASE_POSITION;
# 1625|               pos -= pdev->OPDFRead_procset_length;
# 1626|               if (pos == 0 && index == 0) {

Error: CPPCHECK_WARNING (CWE-758): [#def469]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdf.c:1660: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1658|               }
# 1659|   
# 1660|->             if (pos & ASIDES_BASE_POSITION)
# 1661|                   pos += resource_pos - ASIDES_BASE_POSITION;
# 1662|               pos -= pdev->OPDFRead_procset_length;

Error: CPPCHECK_WARNING (CWE-758): [#def470]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdf.c:1661: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1659|   
# 1660|               if (pos & ASIDES_BASE_POSITION)
# 1661|->                 pos += resource_pos - ASIDES_BASE_POSITION;
# 1662|               pos -= pdev->OPDFRead_procset_length;
# 1663|   

Error: CPPCHECK_WARNING (CWE-758): [#def471]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdf.c:1717: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1715|   
# 1716|               if (!pdev->doubleXref || objstm == 0) {
# 1717|->                 if (pos & ASIDES_BASE_POSITION)
# 1718|                       pos += resource_pos - ASIDES_BASE_POSITION;
# 1719|                   pos -= pdev->OPDFRead_procset_length;

Error: CPPCHECK_WARNING (CWE-758): [#def472]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdf.c:1718: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1716|               if (!pdev->doubleXref || objstm == 0) {
# 1717|                   if (pos & ASIDES_BASE_POSITION)
# 1718|->                     pos += resource_pos - ASIDES_BASE_POSITION;
# 1719|                   pos -= pdev->OPDFRead_procset_length;
# 1720|   

Error: CPPCHECK_WARNING (CWE-758): [#def473]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfb.h:82: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   80|    12000,				/* MaxClipPathSize */ /* HP LaserJet 1320 hangs with 14000. */
#   81|    256000,			/* MaxShadingBitmapSize */
#   82|->  PDF_DEVICE_MaxInlineImageSize,	/* MaxInlineImageSize */
#   83|    {0, 0, 0},			/* OwnerPassword */
#   84|    {0, 0, 0},			/* UserPassword */

Error: CPPCHECK_WARNING (CWE-758): [#def474]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfc.c:602: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  600|           /* Find the legal range for the color components. */
#  601|           for (j = 0; j < num_components; ++j)
#  602|->             cmin.paint.values[j] = (float)min_long,
#  603|                   cmax.paint.values[j] = (float)max_long;
#  604|           gs_color_space_restrict_color(&cmin, base_space);

Error: CPPCHECK_WARNING (CWE-758): [#def475]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfc.c:603: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  601|           for (j = 0; j < num_components; ++j)
#  602|               cmin.paint.values[j] = (float)min_long,
#  603|->                 cmax.paint.values[j] = (float)max_long;
#  604|           gs_color_space_restrict_color(&cmin, base_space);
#  605|           gs_color_space_restrict_color(&cmax, base_space);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def476]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfe.c: scope_hint: In function ‘pdf_xmp_time’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfe.c:232:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
ghostscript-10.04.0-build/ghostscript-10.04.0/base/std.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stdio_.h:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfe.c:18: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stdpre.h:402:24: note: in definition of macro ‘min’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfe.c:232:5: note: read of 29 bytes from after the end of ‘buf1’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfe.c:232:5: note: valid subscripts for ‘buf1’ are ‘[0]’ to ‘[10]’
#  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): [#def477]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfg.c: scope_hint: In function ‘pdf_write_ccolor’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfg.c:343:65: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pcc.paint.values[i]’
#  341|       pprintg1(pdev->strm, "%g", psdf_round(pcc->paint.values[0], 255, 8));
#  342|       for (i = 1; i < n; i++) {
#  343|->         pprintg1(pdev->strm, " %g", psdf_round(pcc->paint.values[i], 255, 8));
#  344|       }
#  345|       return 0;

Error: CPPCHECK_WARNING (CWE-457): [#def478]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def479]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def480]
ghostscript-10.04.0-build/ghostscript-10.04.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-758): [#def481]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfp.c:806: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  804|           pdev->HaveStrokeColor = false;
#  805|           cl = (float)1.2; /* Instead pdev->CompatibilityLevel = 1.2; - see below. */
#  806|->         pdev->MaxInlineImageSize = max_long; /* Save printer's RAM from saving temporary image data.
#  807|                                                   Immediate images doen't need buffering. */
#  808|           pdev->version = psdf_version_level2;

Error: CPPCHECK_WARNING (CWE-457): [#def482]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfr.c:328: error[uninitvar]: Uninitialized variable: buf
#  326|   
#  327|           do {
#  328|->             stream_cursor_write_init(&w, buf, sizeof(buf));
#  329|               status = (*s_PSSD_template.process)
#  330|                   ((stream_state *) & ss, &r, &w, true);

Error: CPPCHECK_WARNING (CWE-758): [#def483]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfu.c:699: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  697|   
#  698|       if (s == pdev->asides.strm)
#  699|->         pos += ASIDES_BASE_POSITION;
#  700|       return pos;
#  701|   }

Error: CPPCHECK_WARNING (CWE-457): [#def484]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfu.c:1016: error[uninitvar]: Uninitialized variable: key
# 1014|       byte key[16];
# 1015|   
# 1016|->     return s_arcfour_set_key(psarc4, key, pdf_object_key(pdev, object_id, key));
# 1017|   }
# 1018|   

Error: CPPCHECK_WARNING (CWE-457): [#def485]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfu.c:1542: warning[uninitvar]: Uninitialized variable: *pprev
# 1540|       for (i = 0; i < NUM_RESOURCE_CHAINS; i++) {
# 1541|           pprev = pchain + i;
# 1542|->         for (; (pres = *pprev) != 0; ) {
# 1543|               if (cond(pdev, pres)) {
# 1544|                   *pprev = pres->next;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def486]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfu.c: scope_hint: In function ‘pdf_write_function’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfu.c:2994:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘value.contents.object’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdfu.c:20: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:254:13: note: in definition of macro ‘gs_alloc_struct’
# 2992|       if (code < 0)
# 2993|           return code;
# 2994|->     *pid = value.contents.object->id;
# 2995|       return 0;
# 2996|   }

Error: CPPCHECK_WARNING (CWE-758): [#def487]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtd.c:414: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  412|           members &= ~GLYPH_INFO_BBOX;
#  413|       } else {
#  414|->         desc.FontBBox.p.x = desc.FontBBox.p.y = max_int;
#  415|           desc.FontBBox.q.x = desc.FontBBox.q.y = min_int;
#  416|       }

Error: CPPCHECK_WARNING (CWE-758): [#def488]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtd.c:415: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  413|       } else {
#  414|           desc.FontBBox.p.x = desc.FontBBox.p.y = max_int;
#  415|->         desc.FontBBox.q.x = desc.FontBBox.q.y = min_int;
#  416|       }
#  417|       /*

Error: CPPCHECK_WARNING (CWE-758): [#def489]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtd.c:493: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  491|           }
#  492|           if (info.width[wmode].y != 0)
#  493|->             fixed_width = min_int;
#  494|           else if (fixed_width == 0)
#  495|               fixed_width = (int)info.width[wmode].x;

Error: CPPCHECK_WARNING (CWE-758): [#def490]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtd.c:497: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  495|               fixed_width = (int)info.width[wmode].x;
#  496|           else if (info.width[wmode].x != fixed_width)
#  497|->             fixed_width = min_int;
#  498|           if (desc.Flags & FONT_IS_SYMBOLIC)
#  499|               continue;		/* skip Roman-only computation */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def491]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdte.c: scope_hint: In function ‘pdf_process_string’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdte.c:992:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gdata’
#  990|           gs_glyph gdata_i, *gdata_p = (gs_glyph *)gdata;
#  991|           if (penum->text.operation & TEXT_FROM_SINGLE_GLYPH) {
#  992|->             gdata_i = *gdata;
#  993|               gdata_p = &gdata_i;
#  994|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def492]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c: scope_hint: In function ‘find_std_appearance’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:240:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘psf’
#  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): [#def493]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c: scope_hint: In function ‘font_resource_alloc’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:400:13: warning[-Wanalyzer-null-argument]: use of NULL ‘widths’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfcache.h:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:284:13: note: in expansion of macro ‘uid_is_UniqueID’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c: scope_hint: In function ‘font_resource_alloc’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:19: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:394:16: note: in expansion of macro ‘gs_alloc_bytes’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  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-457): [#def494]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c: scope_hint: In function ‘font_resource_simple_alloc’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:593:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pfres’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c: scope_hint: In function ‘font_resource_simple_alloc’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:284:13: note: in expansion of macro ‘uid_is_UniqueID’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c: scope_hint: In function ‘font_resource_simple_alloc’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:389:30: note: in expansion of macro ‘gs_alloc_byte_array’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:419:5: note: in expansion of macro ‘gs_free_object’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:419:5: note: in expansion of macro ‘gs_free_object’
#  591|       if (code < 0)
#  592|           return code;
#  593|->     pfres->u.simple.FirstChar = 256;
#  594|       pfres->u.simple.LastChar = -1;
#  595|       pfres->u.simple.BaseEncoding = -1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def495]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c: scope_hint: In function ‘pdf_compute_BaseFont’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:993:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:135:12: note: in definition of macro ‘gs_free_object’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:993:13: note: in expansion of macro ‘uid_free’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:135:12: note: in definition of macro ‘gs_free_object’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:993:13: note: in expansion of macro ‘uid_free’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:135:12: note: in definition of macro ‘gs_free_object’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:993:13: note: in expansion of macro ‘uid_free’
#  991|           /* Don't write a UID for subset fonts. */
#  992|           if (uid_is_XUID(&pbfont->UID)) {
#  993|->             uid_free(&pbfont->UID, pbfont->memory, "gs_font_finalize");
#  994|           }
#  995|           uid_set_invalid(&pbfont->UID);

Error: CPPCHECK_WARNING (CWE-758): [#def496]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.c:995: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  993|               uid_free(&pbfont->UID, pbfont->memory, "gs_font_finalize");
#  994|           }
#  995|->         uid_set_invalid(&pbfont->UID);
#  996|       }
#  997|       if (pdfont->FontType != ft_composite && pdsubf->FontDescriptor)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def497]
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gx.h:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdti.c:19: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.h: scope_hint: In function ‘pdf_copy_string_to_encoding’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtf.h:129:62: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gnstr’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:243:36: note: in definition of macro ‘gs_alloc_bytes’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdti.c:25: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsmemory.h:243:36: note: in definition of macro ‘gs_alloc_bytes’
#  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-758): [#def498]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtt.c:227: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  225|                    * comparefiles/Bug687044.ps, therefore we divide them by 2.
#  226|                    */
#  227|->                 clip_box.p.x = clip_box.p.y = min_int / 2;
#  228|                   clip_box.q.x = clip_box.q.y = max_int / 2;
#  229|               }

Error: CPPCHECK_WARNING (CWE-758): [#def499]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtt.c:228: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  226|                    */
#  227|                   clip_box.p.x = clip_box.p.y = min_int / 2;
#  228|->                 clip_box.q.x = clip_box.q.y = max_int / 2;
#  229|               }
#  230|               code = gx_clip_to_rectangle(penum_s->pgs, &clip_box);

Error: CPPCHECK_WARNING (CWE-457): [#def500]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtt.c:2357: warning[uninitvar]: Uninitialized variable: s2->size
# 2355|   strings_equal(const gs_const_string *s1, const gs_const_string *s2)
# 2356|   {
# 2357|->     return s1->size == s2->size &&
# 2358|               !memcmp(s1->data, s2->data, s1->size);
# 2359|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def501]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtt.c: scope_hint: In function ‘pdf_find_glyph’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtt.c:2406:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdfont’
# 2404|   pdf_find_glyph(pdf_font_resource_t *pdfont, gs_glyph glyph)
# 2405|   {
# 2406|->     if (pdfont->FontType != ft_user_defined &&
# 2407|           pdfont->FontType != ft_PDF_user_defined &&
# 2408|           pdfont->FontType != ft_PCL_user_defined &&

Error: CPPCHECK_WARNING (CWE-758): [#def502]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpdtt.c:3129: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 3127|           if (penum->current_font->FontType == ft_PDF_user_defined) {
# 3128|               if (!pdev->Scaled_accumulator) {
# 3129|->                 if (pdev->width > max_int / 100 || pdev->height > max_int / 100)
# 3130|                       return_error(gs_error_rangecheck);
# 3131|                   pdev->width *= 100;

Error: CPPCHECK_WARNING (CWE-190): [#def503]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-758): [#def504]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:495: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  493|            int wmode)
#  494|   {
#  495|->     int prev_width = min_int;
#  496|       uint last_width = 0; /* pacify compilers */
#  497|       double factor = pfont->data.unitsPerEm * (wmode ? -1 : 1);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def505]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c: scope_hint: In function ‘remove_table’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:749:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tab + 16’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfcid.h:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:828:5: note: in expansion of macro ‘READ_SFNTS’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:829:9: note: in expansion of macro ‘u32’
#  747|   
#  748|           if (!memcmp(tab, tag, 4)) {
#  749|->             memmove(tab, tab + 16, 16 * (*numTables - i - 1));
#  750|               --*numTables;
#  751|           } else

Error: GCC_ANALYZER_WARNING (CWE-1335): [#def506]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c: scope_hint: In function ‘psf_write_truetype_data’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:1111:22: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘4294967295’) >= precision of type (‘32’)
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:828:5: note: in expansion of macro ‘READ_SFNTS’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:829:9: note: in expansion of macro ‘u32’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxfont42.h:148:47: note: in definition of macro ‘READ_SFNTS’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:843:9: note: in expansion of macro ‘READ_SFNTS’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:844:17: note: in expansion of macro ‘u32’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpsft.c:109:28: note: in definition of macro ‘u32’
# 1109|           DO_NOTHING;
# 1110|       --i;
# 1111|->     put_ushort(s, 16 << i);	/* searchRange */
# 1112|       put_ushort(s, i);		/* entrySelectors */
# 1113|       put_ushort(s, numTables * 16 - (16 << i)); /* rangeShift */

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

Error: GCC_ANALYZER_WARNING (CWE-457): [#def508]
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpx.c: scope_hint: In function ‘pclxl_set_color_palette’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpx.c:270:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘palette’
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpx.c:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/vector/gdevpx.c:1731:5: note: in expansion of macro ‘fit_copy’
#  268|           xdev->color_space = color_space;
#  269|           xdev->palette.size = palette_size;
#  270|->         memcpy(xdev->palette.data, palette, palette_size);
#  271|       }
#  272|   }

Error: CPPCHECK_WARNING (CWE-190): [#def509]
ghostscript-10.04.0-build/ghostscript-10.04.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-476): [#def510]
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/boxer.c: scope_hint: In function ‘boxer_feed’
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/boxer.c:149:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘boxer’
/usr/include/string.h:33: included_from: Included from here.
/usr/include/memory.h:29: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/boxer.c:3: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/boxer.c:6: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/boxer.c: scope_hint: In function ‘boxer_feed’
#  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): [#def511]
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/boxer.c: scope_hint: In function ‘boxer_margins’
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/boxer.c:241:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘boxer’
#  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): [#def512]
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/boxer.c: scope_hint: In function ‘boxer_subdivide’
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/boxer.c:289:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘boxer’
#  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): [#def513]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def514]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/extract/src/join.c: scope_hint: In function ‘join_content’
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def515]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def516]
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/xml.c: scope_hint: In function ‘str_catl’
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/xml.c:30:9: warning[-Wanalyzer-null-argument]: use of NULL ‘s’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#   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): [#def517]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-457): [#def518]
ghostscript-10.04.0-build/ghostscript-10.04.0/extract/src/zip.c:236: error[uninitvar]: Uninitialized variable: buffer
#  234|   			/* Send the new compressed data to buffer. */
#  235|   			size_t  bytes_written;
#  236|-> 			int e = extract_buffer_write(zip->buffer, buffer, zstream.next_out - buffer, &bytes_written);
#  237|   			if (o_compressed_length)
#  238|   			{

Error: COMPILER_WARNING (CWE-563): [#def519]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_annot.c: scope_hint: In function ‘pdfi_annot_draw_Popup’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_annot.c:2863:10: warning[-Wunused-variable]: unused variable ‘known’
# 2863 |     bool known = false;
#      |          ^~~~~
# 2861|       gs_rect rect, rect2;
# 2862|       bool need_grestore = false;
# 2863|->     bool known = false;
# 2864|   
# 2865|       /* Render only if open */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def520]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_cmap.c: scope_hint: In function ‘pdfi_make_gs_cmap’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_cmap.c:931:13: warning[-Wanalyzer-null-argument]: use of NULL ‘ndlookups’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/base/scommon.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/strmio.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_cmap.c:16: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_cmap.c:888:9: note: in expansion of macro ‘gs_free_object’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  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): [#def521]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def522]
ghostscript-10.04.0-build/ghostscript-10.04.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, Key->length + 1, "pdfi_dict_find_key");
#  304|       if (Test == NULL)
#  305|           return_error(gs_error_VMerror);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def523]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_doc.c: scope_hint: In function ‘pdfi_doc_EmbeddedFiles_Names’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_doc.c:1660:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘code’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_doc.c:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_doc.c:1658:5: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_doc.c: scope_hint: In function ‘pdfi_doc_EmbeddedFiles_Names’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_doc.c:1659:5: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_doc.c:1659:5: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_doc.c: scope_hint: In function ‘pdfi_doc_EmbeddedFiles_Names’
# 1658|       pdfi_countdown(name);
# 1659|       pdfi_countdown(filespec);
# 1660|->     return code;
# 1661|   }
# 1662|   

Error: CPPCHECK_WARNING (CWE-909): [#def524]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_fapi.c:767: error[uninitStructMember]: Uninitialized struct member: subrstring.length
#  765|                   if (pdfi_type_of(subrstring) == PDF_STRING) {
#  766|                       if (subrstring->length > 0) {
#  767|->                         code = subrstring->length - leniv;
#  768|                           if (buf && buf_length >= code) {
#  769|                               if (ff->need_decrypt && pfont->data.lenIV >= 0) {

Error: CPPCHECK_WARNING (CWE-758): [#def525]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_fmap.c:75: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   73|           file_size = sftell(s);
#   74|           sfseek(s, 0, SEEK_SET);
#   75|->         if (file_size < 0 || file_size > max_int - poststringlen) {
#   76|               code = gs_note_error(gs_error_ioerror);
#   77|           } else {

Error: CPPCHECK_WARNING (CWE-562): [#def526]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_fmap.c:146: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  144|   
#  145|                   if (ctx->main_stream == NULL) {
#  146|->                     ctx->main_stream = &fakemainstream;
#  147|                   }
#  148|   

Error: CPPCHECK_WARNING (CWE-457): [#def527]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_fmap.c:954: error[legacyUninitvar]: Uninitialized variable: mname
#  952|           }
#  953|       }
#  954|->     if (mname != NULL && pdfi_type_of(mname) == PDF_STRING && pdfi_fmap_file_exists(ctx, (pdf_string *)mname)) {
#  955|           *mapname = mname;
#  956|           (void)pdfi_dict_put(ctx, font_dict, ".Path", mname);

Error: CPPCHECK_WARNING (CWE-758): [#def528]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font.c:2475: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 2473|           if (uid_is_XUID(&pfont->UID))
# 2474|               xuidlen += uid_XUID_size(&pfont->UID);
# 2475|->         else if (uid_is_valid(&pfont->UID))
# 2476|               xuidlen++;
# 2477|   

Error: CPPCHECK_WARNING (CWE-758): [#def529]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font.c:2493: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 2491|               uid_free(&pfont->UID, pfont->memory, "pdfi_font_generate_pseudo_XUID");
# 2492|           }
# 2493|->         else if (uid_is_valid(&pfont->UID))
# 2494|               xvalues[3] = pfont->UID.id;
# 2495|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def530]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1.c: scope_hint: In function ‘pop_pfb_filter’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1.c:360:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
#  358|   pop_pfb_filter(gs_memory_t *mem, stream *s)
#  359|   {
#  360|->     stream *src = s->strm;
#  361|       byte *b = s->cbuf;
#  362|   

Error: CPPCHECK_WARNING (CWE-758): [#def531]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1.c:701: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  699|               if (uid_is_XUID(&t1f->pfont->UID))
#  700|                   uid_free(&t1f->pfont->UID, t1f->pfont->memory, "pdfi_read_type1_font");
#  701|->             uid_set_invalid(&t1f->pfont->UID);
#  702|   
#  703|               t1f->CharStrings = fpriv.u.t1.CharStrings;

Error: CPPCHECK_WARNING (CWE-758): [#def532]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1.c:943: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  941|          we cannot reliably use the UniqueID/XUID for copied fonts.
#  942|        */
#  943|->     uid_set_invalid(&font->pfont->UID);
#  944|   
#  945|       if (ctx->args.ignoretounicode != true) {

Error: CPPCHECK_WARNING (CWE-758): [#def533]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font11.c:506: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  504|       if (uid_is_XUID(&font->pfont->UID))
#  505|           uid_free(&font->pfont->UID, font->pfont->memory, "pdfi_read_type1_font");
#  506|->     uid_set_invalid(&font->pfont->UID);
#  507|       font->pfont->id = gs_next_ids(ctx->memory, 1);
#  508|   

Error: CPPCHECK_WARNING (CWE-758): [#def534]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1C.c:2132: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 2130|       /* We may want to do something clever with an XUID here */
# 2131|       pfont->id = gs_next_ids(ctx->memory, 1);
# 2132|->     uid_set_invalid(&pfont->UID);
# 2133|   
# 2134|       /* The buildchar proc will be filled in by FAPI -

Error: CPPCHECK_WARNING (CWE-758): [#def535]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1C.c:2219: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 2217|       /* We may want to do something clever with an XUID here */
# 2218|       pfont->id = gs_next_ids(ctx->memory, 1);
# 2219|->     uid_set_invalid(&pfont->UID);
# 2220|   
# 2221|       /* The buildchar proc will be filled in by FAPI -

Error: CPPCHECK_WARNING (CWE-758): [#def536]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1C.c:2297: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 2295|       /* We may want to do something clever with an XUID here */
# 2296|       cffpriv->id = gs_next_ids(ctx->memory, 1);
# 2297|->     uid_set_invalid(&cffpriv->UID);
# 2298|   
# 2299|   

Error: CPPCHECK_WARNING (CWE-758): [#def537]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1C.c:2570: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 2568|                   if (uid_is_XUID(&cffcid->pfont->UID))
# 2569|                       uid_free(&cffcid->pfont->UID, cffcid->pfont->memory, "pdfi_read_type1_font");
# 2570|->                 uid_set_invalid(&cffcid->pfont->UID);
# 2571|                   cffcid->pfont->id = gs_next_ids(ctx->memory, 1);
# 2572|               }

Error: CPPCHECK_WARNING (CWE-758): [#def538]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1C.c:2782: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 2780|                   if (uid_is_XUID(&cffcid->pfont->UID))
# 2781|                       uid_free(&cffcid->pfont->UID, cffcid->pfont->memory, "pdfi_read_type1_font");
# 2782|->                 uid_set_invalid(&cffcid->pfont->UID);
# 2783|                   cffcid->pfont->id = gs_next_ids(ctx->memory, 1);
# 2784|               }

Error: CPPCHECK_WARNING (CWE-758): [#def539]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1C.c:2915: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 2913|                   if (uid_is_XUID(&cfffont->pfont->UID))
# 2914|                       uid_free(&cfffont->pfont->UID, cfffont->pfont->memory, "pdfi_read_type1_font");
# 2915|->                 uid_set_invalid(&cfffont->pfont->UID);
# 2916|                   cfffont->pfont->id = gs_next_ids(ctx->memory, 1);
# 2917|   

Error: CPPCHECK_WARNING (CWE-758): [#def540]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font1C.c:3173: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 3171|          we cannot reliably use the UniqueID/XUID for copied fonts.
# 3172|        */
# 3173|->     uid_set_invalid(&font->pfont->UID);
# 3174|   
# 3175|       if (ctx->args.ignoretounicode != true) {

Error: CPPCHECK_WARNING (CWE-758): [#def541]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_font3.c:181: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  179|       t3font->pfont->client_data = (void *)t3font;
#  180|       t3font->pfont->id = gs_next_ids(ctx->memory, 1);
#  181|->     uid_set_UniqueID(&t3font->pfont->UID, no_UniqueID);
#  182|   
#  183|       *font = (pdf_font_type3 *)t3font;

Error: CPPCHECK_WARNING (CWE-758): [#def542]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_fontTT.c:651: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  649|       if (uid_is_XUID(&font->pfont->UID))
#  650|           uid_free(&font->pfont->UID, font->pfont->memory, "pdfi_read_type1_font");
#  651|->     uid_set_invalid(&font->pfont->UID);
#  652|   
#  653|       code = pdfi_font_generate_pseudo_XUID(ctx, font_dict, font->pfont);

Error: CPPCHECK_WARNING (CWE-758): [#def543]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_fontTT.c:857: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  855|          we cannot reliably use the UniqueID/XUID for copied fonts.
#  856|        */
#  857|->     uid_set_invalid(&font->pfont->UID);
#  858|   
#  859|       if (ctx->args.ignoretounicode != true) {

Error: CPPCHECK_WARNING (CWE-457): [#def544]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_gstate.c:2338: warning[uninitvar]: Uninitialized variable: code
# 2336|           }
# 2337|       }
# 2338|->     return code;
# 2339|   }
# 2340|   

Error: CPPCHECK_WARNING (CWE-758): [#def545]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_int.c:235: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  233|       int code = 0, malformed = false, doubleneg = false, recovered = false, negative = false, overflowed = false;
#  234|       unsigned int int_val = 0;
#  235|->     int tenth_max_int = max_int / 10, tenth_max_uint = max_uint / 10;
#  236|   
#  237|       pdfi_skip_white(ctx, s);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def546]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:61:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘page_dict’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:19: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:773:9: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:774:9: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:774:9: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:932:5: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:934:5: note: in expansion of macro ‘pdfi_countup’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/ghostpdf.h:31: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_int.h:19: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:18: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:60:9: note: in expansion of macro ‘pdfi_type_of’
#   59|   
#   60|       if (pdfi_type_of(o) == PDF_INDIRECT) {
#   61|->         if (((pdf_indirect_ref *)o)->ref_object_num == page_dict->object_num)
#   62|               return_error(gs_error_circular_reference);
#   63|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def547]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:104:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘page_dict’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:773:9: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:774:9: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:774:9: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:932:5: note: in expansion of macro ‘pdfi_countdown’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:934:5: note: in expansion of macro ‘pdfi_countup’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c: scope_hint: In function ‘pdfi_process_page_contents’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:60:9: note: in expansion of macro ‘pdfi_type_of’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_page.c:93:17: note: in expansion of macro ‘pdfi_type_of’
#  102|                           goto page_error;
#  103|                   } else {
#  104|->                     if (r->ref_object_num == page_dict->object_num) {
#  105|                           pdfi_countdown(r);
#  106|                           code = gs_note_error(gs_error_circular_reference);

Error: COMPILER_WARNING: [#def548]
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_sec.c:402:9: warning[-Wstringop-overflow=]: ‘pdf_compute_hardened_hash_r6’ accessing 16 bytes in a region of size 8
#  402 |         pdf_compute_hardened_hash_r6(password, pwlen,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  403 |         (ownerkey ? O : U) + 40,
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~
#  404 |         (ownerkey ? U : NULL), hash);
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_sec.c:402:9: note: referencing argument 3 of type ‘unsigned char[16]’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_sec.c:402:9: note: referencing argument 5 of type ‘unsigned char[32]’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_sec.c: scope_hint: In function ‘check_owner_password_R6.constprop.0’
ghostscript-10.04.0-build/ghostscript-10.04.0/pdf/pdf_sec.c:324:1: note: in a call to function ‘pdf_compute_hardened_hash_r6’
#  324 | pdf_compute_hardened_hash_r6(unsigned char *password, int pwlen, unsigned char salt[16], unsigned char *ownerkey, unsigned char hash[32])
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  400|   		(ownerkey ? O : U) + 32,
#  401|   		ownerkey ? U : NULL, validationkey);
#  402|-> 	pdf_compute_hardened_hash_r6(password, pwlen,
#  403|           (ownerkey ? O : U) + 40,
#  404|           (ownerkey ? U : NULL), hash);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def549]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/dxmain.c: scope_hint: In function ‘main’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/dxmain.c:1206:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nargv’
# 1204|       nargc = argc + 1;
# 1205|       nargv = (char **)malloc(nargc * sizeof(char *));
# 1206|->     nargv[0] = argv[0];
# 1207|       nargv[1] = dformat;
# 1208|       memcpy(&nargv[2], &argv[1], (argc-1) * sizeof(char *));

Error: CPPCHECK_WARNING (CWE-758): [#def550]
ghostscript-10.04.0-build/ghostscript-10.04.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-758): [#def551]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/idict.c:326: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  324|                */
#  325|   
#  326|->             if (expt < sizeof(long) * 8 || pkey->value.realval == min_long)
#  327|                   i = (int)pkey->value.realval;
#  328|               else

Error: CPPCHECK_WARNING (CWE-758): [#def552]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/idict.c:329: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  327|                   i = (int)pkey->value.realval;
#  328|               else
#  329|->                 i = (int)(mant * min_long); /* MSVC 6.00.8168.0 cannot compile this */
#  330|               hash = (uint)i * 30503;         /*   with -O2 as a single expression    */
#  331|           }

Error: CPPCHECK_WARNING (CWE-457): [#def553]
ghostscript-10.04.0-build/ghostscript-10.04.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-758): [#def554]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/idparam.c:198: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  196|                   break;
#  197|               case t_real:
#  198|->                 if (pa.value.realval < min_int ||
#  199|                       pa.value.realval > max_int ||
#  200|                       pa.value.realval != (int)pa.value.realval

Error: CPPCHECK_WARNING (CWE-758): [#def555]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/idparam.c:199: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  197|               case t_real:
#  198|                   if (pa.value.realval < min_int ||
#  199|->                     pa.value.realval > max_int ||
#  200|                       pa.value.realval != (int)pa.value.realval
#  201|                       )

Error: CPPCHECK_WARNING (CWE-758): [#def556]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/idparam.c:341: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  339|   
#  340|       if (pdict == 0) {
#  341|->         uid_set_invalid(puid);
#  342|           return defaultval;
#  343|       }

Error: CPPCHECK_WARNING (CWE-758): [#def557]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/idparam.c:378: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  376|       /* and if it is, the legal range is 0 to 2^24-1. */
#  377|       if (dict_find_string(pdict, "UniqueID", &puniqueid) <= 0) {
#  378|->         uid_set_invalid(puid);
#  379|           return defaultval;
#  380|       } else {

Error: CPPCHECK_WARNING (CWE-758): [#def558]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/idparam.c:389: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  387|           /* Treat 0 as equivalent to -1 (no UniqueID). */
#  388|           if (puniqueid->value.intval == 0) {
#  389|->             uid_set_invalid(puid);
#  390|               return defaultval;
#  391|           } else

Error: CPPCHECK_WARNING (CWE-909): [#def559]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def560]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def561]
ghostscript-10.04.0-build/ghostscript-10.04.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-457): [#def562]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/igc.c:539: warning[uninitvar]: Uninitialized variables: total.limit, total.max_used, total.is_thread_safe
#  537|           }
#  538|           mem = space_memories[ispace];
#  539|->         mem->previous_status = total;
#  540|           mem->gc_allocated = mem->allocated + total.allocated;
#  541|           if_debug3m('6', (const gs_memory_t *)mem,

Error: CPPCHECK_WARNING (CWE-190): [#def563]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def564]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def565]
ghostscript-10.04.0-build/ghostscript-10.04.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-758): [#def566]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/imainarg.c:689: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  687|   
#  688|                   (void)sscanf((const char *)arg, "%ld", &msize);
#  689|->                 if (msize <= 0 || msize > max_long >> 10) {
#  690|                       outprintf(minst->heap, "-K<numK> must have 1 <= numK <= %ld\n",
#  691|                                 max_long >> 10);

Error: CPPCHECK_WARNING (CWE-758): [#def567]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/imainarg.c:691: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  689|                   if (msize <= 0 || msize > max_long >> 10) {
#  690|                       outprintf(minst->heap, "-K<numK> must have 1 <= numK <= %ld\n",
#  691|->                               max_long >> 10);
#  692|                       return gs_error_Fatal;
#  693|                   }

Error: CPPCHECK_WARNING (CWE-190): [#def568]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def569]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def570]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def571]
ghostscript-10.04.0-build/ghostscript-10.04.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): [#def572]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iparam.c:667: error[invalidLifetime]: Using object that points to local variable 'elt' that is out of scope.
#  665|       if (code < 0) {
#  666|           gs_free_object(plist->memory, psv, "ref_param_read_string_array");
#  667|->         return (*loc.presult = code);
#  668|       }
#  669|       pvalue->data = psv;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def573]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/isave.c:727:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/isave.c: scope_hint: In function ‘alloc_restore_all’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iastate.h:25: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/isave.c:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/isave.c:883:71: note: in expansion of macro ‘idmemory’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/isave.c: scope_hint: In function ‘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): [#def574]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c: scope_hint: In function ‘gs_scan_token’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:540:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pstate.s_pdepth’
#  538|       /* sstate.s_scan_type == scanning_none. */
#  539|       sstate.s_pstack = pstate->s_pstack;
#  540|->     sstate.s_pdepth = pstate->s_pdepth;
#  541|       ref_assign(&sstate.s_file, &pstate->s_file);
#  542|       sstate.s_options = pstate->s_options;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def575]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:817:21: warning[-Wanalyzer-null-argument]: use of NULL ‘sptr’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:21: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:544:5: note: in expansion of macro ‘s_begin_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:549:11: note: in expansion of macro ‘sgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:322:4: note: in expansion of macro ‘s_end_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:320:39: note: in expansion of macro ‘spgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:549:11: note: in expansion of macro ‘sgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:323:4: note: in expansion of macro ‘s_begin_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:320:39: note: in expansion of macro ‘spgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:549:11: note: in expansion of macro ‘sgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:323:4: note: in expansion of macro ‘s_begin_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:320:39: note: in expansion of macro ‘spgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:549:11: note: in expansion of macro ‘sgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:323:4: note: in expansion of macro ‘s_begin_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:320:39: note: in expansion of macro ‘spgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:549:11: note: in expansion of macro ‘sgetc_inline’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  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-476): [#def576]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:944:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sptr’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:512:17: note: in expansion of macro ‘s_begin_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:1231:9: note: in expansion of macro ‘if_not_spush1’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:1231:9: note: in expansion of macro ‘if_not_spush1’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:549:11: note: in expansion of macro ‘sgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:322:4: note: in expansion of macro ‘s_end_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:320:39: note: in expansion of macro ‘spgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:549:11: note: in expansion of macro ‘sgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:323:4: note: in expansion of macro ‘s_begin_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/stream.h:320:39: note: in expansion of macro ‘spgetc_inline’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscan.c:549:11: note: in expansion of macro ‘sgetc_inline’
#  942|                           goto do_name;
#  943|                       }
#  944|->                     if (*(sptr + 1) == '-') {
#  945|                           sptr++;
#  946|                       } else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def577]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscanbin.c: scope_hint: In function ‘scan_bos’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscanbin.c:183:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscanbin.c:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscanbin.c:180:5: note: in expansion of macro ‘s_begin_inline’
#  181|       {
#  182|           uint rcnt = rlimit - p;
#  183|->         uint top_size = p[1];
#  184|           uint hsize, size;
#  185|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def578]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscanbin.c: scope_hint: In function ‘scan_bin_scalar’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscanbin.c:282:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscanbin.c:281:5: note: in expansion of macro ‘s_begin_inline’
#  280|   
#  281|       s_begin_inline(s, p, rlimit);
#  282|->     wanted = bin_token_bytes[*p - MIN_BIN_TOKEN_TYPE] - 1;
#  283|       switch (*p) {
#  284|           case BT_INT8:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def579]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscanbin.c: scope_hint: In function ‘scan_bos_continue’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscanbin.c:531:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscanbin.c:517:5: note: in expansion of macro ‘s_begin_inline’
#  529|               return scan_Refill;
#  530|           }
#  531|->         if (p[2] != 0) { /* reserved, must be 0 */
#  532|               scan_bos_error(pstate, "non-zero unused field");
#  533|               return_error(gs_error_syntaxerror);

Error: CPPCHECK_WARNING (CWE-758): [#def580]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscannum.c:102: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  100|       }
#  101|   
#  102|->     max_ps_int_scan = scanner_options & SCAN_CPSI_MODE ? MAX_PS_INT32 : MAX_PS_INT;
#  103|       min_ps_int_scan = scanner_options & SCAN_CPSI_MODE ? MIN_PS_INT32 : MIN_PS_INT;
#  104|   

Error: CPPCHECK_WARNING (CWE-758): [#def581]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscannum.c:102: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  100|       }
#  101|   
#  102|->     max_ps_int_scan = scanner_options & SCAN_CPSI_MODE ? MAX_PS_INT32 : MAX_PS_INT;
#  103|       min_ps_int_scan = scanner_options & SCAN_CPSI_MODE ? MIN_PS_INT32 : MIN_PS_INT;
#  104|   

Error: CPPCHECK_WARNING (CWE-758): [#def582]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscannum.c:103: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  101|   
#  102|       max_ps_int_scan = scanner_options & SCAN_CPSI_MODE ? MAX_PS_INT32 : MAX_PS_INT;
#  103|->     min_ps_int_scan = scanner_options & SCAN_CPSI_MODE ? MIN_PS_INT32 : MIN_PS_INT;
#  104|   
#  105|       for (;; ival = ival * 10 + d) {

Error: CPPCHECK_WARNING (CWE-758): [#def583]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscannum.c:103: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  101|   
#  102|       max_ps_int_scan = scanner_options & SCAN_CPSI_MODE ? MAX_PS_INT32 : MAX_PS_INT;
#  103|->     min_ps_int_scan = scanner_options & SCAN_CPSI_MODE ? MIN_PS_INT32 : MIN_PS_INT;
#  104|   
#  105|       for (;; ival = ival * 10 + d) {

Error: CPPCHECK_WARNING (CWE-758): [#def584]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iscannum.c:275: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  273|               break;
#  274|           }
#  275|->         if (WOULD_OVERFLOW(ival, d, max_int)) {
#  276|               dval = (double)ival;
#  277|               goto fd;

Error: COMPILER_WARNING: [#def585]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iutil.c: scope_hint: In function ‘obj_cvp’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iutil.c:540:5: warning[-Wundef]: "DEBUG" is not defined, evaluates to 0
#  540 | #if DEBUG
#      |     ^~~~~
#  538|           }
#  539|           /* Internal operator, no name. */
#  540|-> #if DEBUG
#  541|           gs_snprintf(buf, sizeof(buf), "@"PRI_INTPTR, (intptr_t) op->value.opproc);
#  542|   #else

Error: CPPCHECK_WARNING (CWE-758): [#def586]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zarith.c:307: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  305|               if (sizeof(ps_int) != 4 && gs_currentcpsimode(imemory)) {
#  306|                   double ab = (double)op[-1].value.intval * op->value.intval;
#  307|->                 if (ab > (double)MAX_PS_INT32)       /* (double)0x7fffffff */
#  308|                       make_real(op - 1, ab);
#  309|                   else if (ab < (double)MIN_PS_INT32) /* (double)(int)0x80000000 */

Error: CPPCHECK_WARNING (CWE-758): [#def587]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zarith.c:309: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  307|                   if (ab > (double)MAX_PS_INT32)       /* (double)0x7fffffff */
#  308|                       make_real(op - 1, ab);
#  309|->                 else if (ab < (double)MIN_PS_INT32) /* (double)(int)0x80000000 */
#  310|                       make_real(op - 1, ab);
#  311|                   else

Error: CPPCHECK_WARNING (CWE-758): [#def588]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zarith.c:411: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  409|       if (sizeof(ps_int) && gs_currentcpsimode(imemory)) {
#  410|           int tmpval;
#  411|->         if ((op->value.intval == 0) || (op[-1].value.intval == (ps_int)MIN_PS_INT32 && op->value.intval == -1)) {
#  412|               /* Anomalous boundary case: -MININT / -1, fail. */
#  413|               return_error(gs_error_undefinedresult);

Error: CPPCHECK_WARNING (CWE-758): [#def589]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zarith.c:419: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  417|       }
#  418|       else {
#  419|->         if ((op->value.intval == 0) || (op[-1].value.intval == MIN_PS_INT && op->value.intval == -1)) {
#  420|               /* Anomalous boundary case: -MININT / -1, fail. */
#  421|               return_error(gs_error_undefinedresult);

Error: CPPCHECK_WARNING (CWE-758): [#def590]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zarith.c:438: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  436|       check_type(*op, t_integer);
#  437|       check_type(op[-1], t_integer);
#  438|->     if (op->value.intval == 0 || op[-1].value.intval == MIN_PS_INT)
#  439|           return_error(gs_error_undefinedresult);
#  440|       op[-1].value.intval %= op->value.intval;

Error: CPPCHECK_WARNING (CWE-758): [#def591]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zarith.c:460: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  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: CPPCHECK_WARNING (CWE-758): [#def592]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zarith.c:461: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  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
#  463|                       op->value.intval = -op->value.intval;

Error: CPPCHECK_WARNING (CWE-758): [#def593]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zarith.c:466: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  464|               }
#  465|               else {
#  466|->                 if (op->value.intval == MIN_PS_INT)
#  467|                       make_real(op, -(float)MIN_PS_INT);
#  468|                   else

Error: CPPCHECK_WARNING (CWE-758): [#def594]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zarith.c:467: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  465|               else {
#  466|                   if (op->value.intval == MIN_PS_INT)
#  467|->                     make_real(op, -(float)MIN_PS_INT);
#  468|                   else
#  469|                       op->value.intval = -op->value.intval;

Error: CPPCHECK_WARNING (CWE-758): [#def595]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:431: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  429|       /* Check that the UniqueIDs match.  This is part of the */
#  430|       /* Adobe protection scheme, but we may as well emulate it. */
#  431|->     if (uid_is_valid(&pfont->UID) &&
#  432|           !dict_check_uid_param(op, &pfont->UID)
#  433|           )

Error: CPPCHECK_WARNING (CWE-758): [#def596]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:434: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  432|           !dict_check_uid_param(op, &pfont->UID)
#  433|           )
#  434|->         uid_set_invalid(&pfont->UID);
#  435|       if (uid_is_valid(&pfont->UID)) {
#  436|           const gs_font *pfont0 = (const gs_font *)pfont;

Error: CPPCHECK_WARNING (CWE-758): [#def597]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:435: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  433|           )
#  434|           uid_set_invalid(&pfont->UID);
#  435|->     if (uid_is_valid(&pfont->UID)) {
#  436|           const gs_font *pfont0 = (const gs_font *)pfont;
#  437|   

Error: CPPCHECK_WARNING (CWE-758): [#def598]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:443: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  441|               return code; /* Must not happen. */
#  442|           if (code)
#  443|->             uid_set_invalid(&pfont->UID);
#  444|       }
#  445|       return 0;

Error: CPPCHECK_WARNING (CWE-758): [#def599]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:486: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  484|       make_null(&pdata->CharStrings);
#  485|       /* Fill in members normally set by build_gs_simple_font. */
#  486|->     uid_set_invalid(&uid);
#  487|       init_gs_simple_font(pfont, bbox, &uid);
#  488|       pfont->encoding_index = ENCODING_INDEX_UNKNOWN;

Error: CPPCHECK_WARNING (CWE-758): [#def600]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:573: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  571|           return code;
#  572|       if ((options & bf_UniqueID_ignored) && uid_is_UniqueID(&uid))
#  573|->         uid_set_invalid(&uid);
#  574|       code = build_gs_font(i_ctx_p, op, (gs_font **) ppfont, ftype, pstype,
#  575|                            pbuild, options);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def601]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c: scope_hint: In function ‘copy_font_name’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:981:5: warning[-Wanalyzer-null-argument]: use of NULL ‘fname.value.bytes’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ghost.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:20: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iref.h:499:31: note: in expansion of macro ‘r_type’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:742:10: note: in expansion of macro ‘r_has_type’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:836:17: note: in expansion of macro ‘r_ptr’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/store.h:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/files.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/icstate.h:30: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ostack.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/oper.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:21: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ialloc.h:30:33: note: in expansion of macro ‘iimemory’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:853:40: note: in expansion of macro ‘imemory’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/store.h:236:3: note: in expansion of macro ‘make_tasv’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/store.h:240:3: note: in expansion of macro ‘make_string’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:713:9: note: in expansion of macro ‘make_empty_string’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  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): [#def602]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:981:5: warning[-Wanalyzer-null-argument]: use of NULL ‘kname.value.bytes’ where non-null expected
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ivmspace.h:43:33: note: in expansion of macro ‘r_type_attrs’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:567:32: note: in expansion of macro ‘r_space’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/store.h:236:3: note: in expansion of macro ‘make_tasv’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/store.h:240:3: note: in expansion of macro ‘make_string’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:969:13: note: in expansion of macro ‘make_empty_string’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iref.h:499:31: note: in expansion of macro ‘r_type’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:742:10: note: in expansion of macro ‘r_has_type’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:836:17: note: in expansion of macro ‘r_ptr’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ialloc.h:30:33: note: in expansion of macro ‘iimemory’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:853:40: note: in expansion of macro ‘imemory’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/store.h:236:3: note: in expansion of macro ‘make_tasv’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/store.h:240:3: note: in expansion of macro ‘make_string’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zbfont.c:713:9: note: in expansion of macro ‘make_empty_string’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  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: CPPCHECK_WARNING (CWE-758): [#def603]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcid.c:48: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   46|       pcidsi->Ordering.data = pordering->value.const_bytes;
#   47|       pcidsi->Ordering.size = r_size(pordering);
#   48|->     code = dict_int_param(prcidsi, "Supplement", 0, max_int, -1,
#   49|                             &pcidsi->Supplement);
#   50|       return (code < 0 ? code : 0);

Error: GCC_ANALYZER_WARNING (CWE-835): [#def604]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c: scope_hint: In function ‘setcmykspace’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c:1723:17: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1721|   
# 1722|       do {
# 1723|->         switch (*stage) {
# 1724|               case 0:
# 1725|                   if (istate->use_cie_color.value.boolval && !CIESubst) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def605]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c: scope_hint: In function ‘checkrangeab’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c:5502:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘value[1]’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ghost.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c:20: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iref.h:512:3: note: in expansion of macro ‘_REF_HAS_MASKED_TYPE_ATTRS’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c:5486:14: note: in expansion of macro ‘r_is_array’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c:5488:13: note: in expansion of macro ‘r_size’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iref.h:499:31: note: in expansion of macro ‘r_type’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c:5495:17: note: in expansion of macro ‘r_has_type’
# 5500|                   return_error(gs_error_typecheck);
# 5501|           }
# 5502|->         if (value[1] < value[0] || value[3] < value[2] )
# 5503|               return_error(gs_error_rangecheck);
# 5504|       }

Error: CPPCHECK_WARNING (CWE-457): [#def606]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c:6724: warning[uninitvar]: Uninitialized variable: obj
# 6722|   
# 6723|       /* Remove our next continuation and our data */
# 6724|->     obj->numcomponents(i_ctx_p, parr, &i);
# 6725|       /* This would be better done sooner, but we need the color space object first */
# 6726|       check_op(i);

Error: GCC_ANALYZER_WARNING (CWE-835): [#def607]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c: scope_hint: In function ‘setdevicecolor_cont’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcolor.c:6857:9: warning[-Wanalyzer-infinite-loop]: infinite loop
# 6855|   
# 6856|       do {
# 6857|->         switch(stage) {
# 6858|               case 0:
# 6859|                   make_int(pstage, ++stage);

Error: CPPCHECK_WARNING (CWE-758): [#def608]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zcssepr.c:145: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  143|   
#  144|       check_op(1);
#  145|->     code = int_param(op, max_int, &param);
#  146|   
#  147|       if (code < 0 || (code = gs_setoverprintmode(igs, param)) < 0)

Error: CPPCHECK_WARNING (CWE-758): [#def609]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfcid.c:49: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   47|       check_type(*op, t_dictionary);
#   48|       if ((code = cid_font_system_info_param(&pdata->CIDSystemInfo, op)) < 0 ||
#   49|->         (code = dict_int_param(op, "CIDCount", 0, max_int, -1,
#   50|                                  &pdata->CIDCount)) < 0
#   51|           )

Error: GCC_ANALYZER_WARNING (CWE-457): [#def610]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfcid0.c: scope_hint: In function ‘get_index’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfcid0.c:57:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pgd.bits.size’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ghost.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfcid0.c:19: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iref.h:499:31: note: in expansion of macro ‘r_type’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfcid0.c:80:9: note: in expansion of macro ‘r_has_type’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iref.h:499:31: note: in expansion of macro ‘r_type’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfcid0.c:108:22: note: in expansion of macro ‘r_has_type’
#   55|       int i;
#   56|   
#   57|->     if (pgd->bits.size < count)
#   58|           return_error(gs_error_rangecheck);
#   59|       *pval = 0;

Error: CPPCHECK_WARNING (CWE-758): [#def611]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfdecode.c:265: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  263|                                  &bpc)) < 0 ||
#  264|           (bpc & (bpc - 1)) != 0 ||
#  265|->         (code = dict_int_param(op, "Columns", 1, max_int, 1,
#  266|                                  &ppds->Columns)) < 0
#  267|           )

Error: CPPCHECK_WARNING (CWE-758): [#def612]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfilter.c:143: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  141|   
#  142|           check_dict_read(*dop);
#  143|->         if ((code = dict_int_param(dop, "Width", 1, max_int, PWG_default_width, width)) < 0)
#  144|               return code;
#  145|           if ((code = dict_int_param(dop, "BPP", 1, 120, PWG_default_bpp, bpp)) < 0)

Error: CPPCHECK_WARNING (CWE-758): [#def613]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfilter.c:198: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  196|            * zero.  Thus we are doing the same.
#  197|            */
#  198|->         if ((code = dict_int_param(op, "EODCount", 0, max_int, 0, &count)) < 0)
#  199|               return code;
#  200|           if (dict_find_string(op, "EODString", &sop) <= 0)

Error: CPPCHECK_WARNING (CWE-758): [#def614]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfont.c:529: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  527|                n > 0; pair++, n--
#  528|               )
#  529|->             if (!fm_pair_is_free(pair)) {
#  530|   #if 0
#  531|                   /* We disabled this code portion because

Error: CPPCHECK_WARNING (CWE-758): [#def615]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfont.c:548: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  546|                       alloc_is_since_save((char *)pair->font, save)
#  547|                       ) {
#  548|->                     if (!uid_is_valid(&pair->UID))
#  549|                           gs_clean_fm_pair(pdir, pair);
#  550|                       /* Don't discard pairs with a surviving UID. */

Error: CPPCHECK_WARNING (CWE-758): [#def616]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfont1.c:476: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  474|        * if it weren't for this, the only legal values should be 0 or 1.
#  475|        */
#  476|->     if ((code = dict_int_param(pprivate, "LanguageGroup", min_int, max_int, 0, &pdata1->LanguageGroup)) < 0)
#  477|           return code;
#  478|       if ((code = pdata1->OtherBlues.count = dict_float_array_param(mem, pprivate, "OtherBlues",

Error: CPPCHECK_WARNING (CWE-758): [#def617]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-758): [#def618]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfrsd.c:142: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  140|       os_ptr op = osp;
#  141|       os_ptr source_op = op - 1;
#  142|->     long length = max_long;
#  143|       bool close_source;
#  144|       int code;

Error: CPPCHECK_WARNING (CWE-758): [#def619]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfrsd.c:381: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  379|       s->state = (stream_state *)ss;
#  380|       s->file_offset = 0;
#  381|->     s->file_limit = S_FILE_LIMIT_MAX;
#  382|       s->close_at_eod = false;
#  383|       s->read_id = 1;

Error: CPPCHECK_WARNING (CWE-758): [#def620]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zfunc.c:199: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  197|           return_error(gs_error_limitcheck);
#  198|       check_type(*op, t_dictionary);
#  199|->     code = dict_int_param(op, "FunctionType", 0, max_int, -1, &type);
#  200|       if (code < 0)
#  201|           return code;

Error: COMPILER_WARNING (CWE-1164): [#def621]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zgstate.c:53:1: warning[-Wunused-function]: ‘zcurrent_real’ defined but not used
#   53 | zcurrent_real(i_ctx_t *i_ctx_p, double (*current_proc)(const gs_gstate *))
#      | ^~~~~~~~~~~~~
#   51|   
#   52|   static int
#   53|-> zcurrent_real(i_ctx_t *i_ctx_p, double (*current_proc)(const gs_gstate *))
#   54|   {
#   55|       os_ptr op = osp;

Error: COMPILER_WARNING (CWE-1164): [#def622]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zgstate.c:95:1: warning[-Wunused-function]: ‘zcurrent_uint’ defined but not used
#   95 | zcurrent_uint(i_ctx_t *i_ctx_p, uint (*current_proc)(const gs_gstate *))
#      | ^~~~~~~~~~~~~
#   93|   
#   94|   static int
#   95|-> zcurrent_uint(i_ctx_t *i_ctx_p, uint (*current_proc)(const gs_gstate *))
#   96|   {
#   97|       os_ptr op = osp;

Error: CPPCHECK_WARNING (CWE-758): [#def623]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zgstate.c:249: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  247|   
#  248|       check_op(1);
#  249|->     code = int_param(op, max_int, &param);
#  250|   
#  251|       if (code < 0 || (code = gs_setlinecap(igs, (gs_line_cap) param)) < 0)

Error: CPPCHECK_WARNING (CWE-758): [#def624]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zgstate.c:277: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  275|   
#  276|       check_op(1);
#  277|->     code = int_param(op, max_int, &param);
#  278|   
#  279|       if (code < 0 || (code = gs_setlinejoin(igs, (gs_line_join) param)) < 0)

Error: CPPCHECK_WARNING (CWE-758): [#def625]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zgstate.c:414: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  412|   
#  413|       check_type(*op, t_integer);
#  414|->     if (op->value.intval < -1 || op->value.intval > max_int)
#  415|           return_error(gs_error_rangecheck);
#  416|       code = gs_setcurvejoin(igs, (int)op->value.intval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def626]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c: scope_hint: In function ‘seticc’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:229:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘picc_profile’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ghost.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:21: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iref.h:540:3: note: in expansion of macro ‘_REF_HAS_MASKED_TYPE_ATTRS’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/oper.h:73:9: note: in expansion of macro ‘r_has_type_attrs’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/oper.h:77:3: note: in expansion of macro ‘check_type_access’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/files.h:63:5: note: in expansion of macro ‘check_read_type’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:79:5: note: in expansion of macro ‘check_read_file’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:22: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/oper.h:77:3: note: in expansion of macro ‘check_type_access’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/files.h:63:5: note: in expansion of macro ‘check_read_type’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:79:5: note: in expansion of macro ‘check_read_file’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/icstate.h:30: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ostack.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/oper.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/files.h:67:3: note: in expansion of macro ‘check_read_known_file_else’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/files.h:64:5: note: in expansion of macro ‘check_read_known_file’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:79:5: note: in expansion of macro ‘check_read_file’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:32: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:116:62: note: in expansion of macro ‘igs’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:125:71: note: in expansion of macro ‘igs’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gscspace.h:24: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gxcspace.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsnamecl.h:23: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/iref.h:26: included_from: Included from here.
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:166:7: note: in expansion of macro ‘RC_DO_ADJUST’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:175:3: note: in expansion of macro ‘rc_adjust_’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:181:3: note: in expansion of macro ‘rc_adjust’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:226:9: note: in expansion of macro ‘rc_decrement’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:175:3: note: in expansion of macro ‘rc_adjust_’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:181:3: note: in expansion of macro ‘rc_adjust’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:226:9: note: in expansion of macro ‘rc_decrement’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:168:9: note: in expansion of macro ‘rc_free_struct’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:175:3: note: in expansion of macro ‘rc_adjust_’
ghostscript-10.04.0-build/ghostscript-10.04.0/base/gsrefct.h:181:3: note: in expansion of macro ‘rc_adjust’
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zicc.c:226:9: note: in expansion of macro ‘rc_decrement’
#  227|           if (code >= 0) {
#  228|               /* Save this colorspace in the iccprofile_cache */
#  229|->             gsicc_add_cs(igs, pcs, picc_profile->hashcode);
#  230|               /* should be an integer, but if for some reason it isn't, don't update */
#  231|               if (phashval && r_has_type(phashval, t_integer))

Error: CPPCHECK_WARNING (CWE-758): [#def627]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zimage.c:65: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   63|       check_type(*op, t_dictionary);
#   64|       check_dict_read(*op);
#   65|->     code = dict_int_param(op, "Width", 0, max_int_in_fixed/2, -1, &pim->Width);
#   66|       if (code < 0)
#   67|       	return code;

Error: CPPCHECK_WARNING (CWE-758): [#def628]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zimage.c:68: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   66|       if (code < 0)
#   67|       	return code;
#   68|->     code = dict_int_param(op, "Height", 0, max_int_in_fixed/2, -1, &pim->Height);
#   69|       if (code < 0)
#   70|       	return code;

Error: CPPCHECK_WARNING (CWE-758): [#def629]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zimage.c:509: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  507|   
#  508|       for (;;) {
#  509|->         uint min_avail = max_int;
#  510|           gs_const_string plane_data[GS_IMAGE_MAX_COMPONENTS];
#  511|           int code;

Error: CPPCHECK_WARNING (CWE-758): [#def630]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ziodevsc.c:153: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  151|           s->file_modes = s->modes;
#  152|           s->file_offset = 0;
#  153|->         s->file_limit = S_FILE_LIMIT_MAX;
#  154|           s->save_close = s_std_null;
#  155|           make_file(&ref_stdin, a_readonly | avm_system, s->read_id, s);

Error: CPPCHECK_WARNING (CWE-758): [#def631]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ziodevsc.c:230: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  228|           s->file_modes = s->modes;
#  229|           s->file_offset = 0;		/* in case we switch to reading later */
#  230|->         s->file_limit = S_FILE_LIMIT_MAX;
#  231|           s->save_close = s->procs.flush;
#  232|           make_file(&ref_stdout, a_write | avm_system, s->write_id, s);

Error: CPPCHECK_WARNING (CWE-758): [#def632]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ziodevsc.c:301: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  299|           s->file_modes = s->modes;
#  300|           s->file_offset = 0;		/* in case we switch to reading later */
#  301|->         s->file_limit = S_FILE_LIMIT_MAX;
#  302|           s->save_close = s->procs.flush;
#  303|           make_file(&ref_stderr, a_write | avm_system, s->write_id, s);

Error: CPPCHECK_WARNING (CWE-758): [#def633]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zmedia2.c:56: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#   54|       os_ptr pkeys = op;		/* *const */
#   55|       int policy_default;
#   56|->     float best_mismatch = (float)max_long;	/* adhoc */
#   57|       float mepos_penalty;
#   58|       float mbest = best_mismatch;

Error: CPPCHECK_WARNING (CWE-758): [#def634]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zmedia2.c:240: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  238|       os_ptr op = osp;
#  239|       gs_matrix mat;
#  240|->     float ignore_mismatch = (float)max_long;
#  241|       gs_point media_size;
#  242|       int orient;

Error: CPPCHECK_WARNING (CWE-758): [#def635]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zmisc1.c:121: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  119|           if ((code = dict_uint_param(op, "seed", 0, 0xffff, 0x10000,
#  120|                                       &cstate)) < 0 ||
#  121|->             (code = dict_int_param(op, "lenIV", 0, max_int, 4,
#  122|                                      &state.lenIV)) < 0 ||
#  123|               (code = dict_bool_param(op, "eexec", false,

Error: CPPCHECK_WARNING (CWE-758): [#def636]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zpdfops.c:1468: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1466|       check_op(2);
# 1467|   
# 1468|->     code = int_param(op, max_int, &num_pages);
# 1469|       if (code < 0)
# 1470|           return code;

Error: CPPCHECK_WARNING (CWE-758): [#def637]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zshade.c:620: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  618|                               &params.Decode, &params.Function, mem)) < 0 ||
#  619|           (code = check_indexed_vs_function(i_ctx_p, op, params.ColorSpace, params.Function)) < 0 ||
#  620|->         (code = dict_int_param(op, "VerticesPerRow", 2, max_int, 0,
#  621|                                  &params.VerticesPerRow)) < 0 ||
#  622|           (code = gs_shading_LfGt_init(ppsh, &params, mem)) < 0

Error: CPPCHECK_WARNING (CWE-758): [#def638]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zstring.c:39: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   37|   
#   38|       check_op(1);
#   39|->     check_int_leu(*op, max_int);
#   40|       size = (uint)op->value.intval;
#   41|       sbody = ialloc_bytes(size, ".bytestring");

Error: CPPCHECK_WARNING (CWE-758): [#def639]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ztrans.c:525: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  523|       }
#  524|       /* Get the PageSpotColors value from the userdict, if it is defined */
#  525|->     code = dict_int_param(puserdict, "PageSpotColors", -1, max_int, -1, &spot_color_count);
#  526|       if (code < 0)
#  527|           return code;

Error: CPPCHECK_WARNING (CWE-758): [#def640]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ztype.c:293: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  291|           return_error(gs_error_rangecheck);
#  292|       if (sizeof(ps_int) != 4 && gs_currentcpsimode(imemory)) {
#  293|->         if ((double)fval > (double)MAX_PS_INT32)       /* (double)0x7fffffff */
#  294|               return_error(gs_error_rangecheck);
#  295|           else if ((double)fval < (double)MIN_PS_INT32) /* (double)(int)0x80000000 */

Error: CPPCHECK_WARNING (CWE-758): [#def641]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ztype.c:295: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  293|           if ((double)fval > (double)MAX_PS_INT32)       /* (double)0x7fffffff */
#  294|               return_error(gs_error_rangecheck);
#  295|->         else if ((double)fval < (double)MIN_PS_INT32) /* (double)(int)0x80000000 */
#  296|               return_error(gs_error_rangecheck);
#  297|           else {

Error: CPPCHECK_WARNING (CWE-758): [#def642]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ztype.c:418: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  416|                       ival = (ps_uint)fval;
#  417|                       if (sizeof(ps_int) != 4 && gs_currentcpsimode(imemory)) {
#  418|->                         if ((double)fval > (double)MAX_PS_INT32)       /* (double)0x7fffffff */
#  419|                               return_error(gs_error_rangecheck);
#  420|                           else if ((double)fval < (double)MIN_PS_INT32) /* (double)(int)0x80000000 */

Error: CPPCHECK_WARNING (CWE-758): [#def643]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/ztype.c:420: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  418|                           if ((double)fval > (double)MAX_PS_INT32)       /* (double)0x7fffffff */
#  419|                               return_error(gs_error_rangecheck);
#  420|->                         else if ((double)fval < (double)MIN_PS_INT32) /* (double)(int)0x80000000 */
#  421|                               return_error(gs_error_rangecheck);
#  422|                       }

Error: CPPCHECK_WARNING (CWE-758): [#def644]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zupath.c:210: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  208|       gx_device_init_on_stack((gx_device *) phdev, (const gx_device *)&gs_hit_device,
#  209|                               imemory);
#  210|->     phdev->width = phdev->height = max_int;
#  211|       gx_device_fill_in_procs(phdev);
#  212|       gx_set_device_only(igs, phdev);

Error: CPPCHECK_WARNING (CWE-457): [#def645]
ghostscript-10.04.0-build/ghostscript-10.04.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: CPPCHECK_WARNING (CWE-758): [#def646]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:209: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  207|           return stat.max_vm & 0x7fffffff;
#  208|       /* else clamp at the maximum positive value for the size_t size signed integer */
#  209|->     val = min(stat.max_vm, MAX_VM_THRESHOLD);
#  210|       return val;
#  211|   }

Error: CPPCHECK_WARNING (CWE-758): [#def647]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:244: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  242|   {
#  243|       /* Extensions */
#  244|->     {"MaxGlobalVM", MIN_VM_THRESHOLD, MAX_VM_THRESHOLD, current_MaxGlobalVM, set_MaxGlobalVM}
#  245|   };
#  246|   

Error: CPPCHECK_WARNING (CWE-758): [#def648]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:249: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  247|   static const long_param_def_t system_long_params[] =
#  248|   {
#  249|->     {"BuildTime", min_long, max_long, current_BuildTime, NULL},
#  250|       {"MaxFontCache", 0, MAX_UINT_PARAM, current_MaxFontCache, set_MaxFontCache},
#  251|       {"CurFontCache", 0, MAX_UINT_PARAM, current_CurFontCache, NULL},

Error: CPPCHECK_WARNING (CWE-758): [#def649]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:252: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  250|       {"MaxFontCache", 0, MAX_UINT_PARAM, current_MaxFontCache, set_MaxFontCache},
#  251|       {"CurFontCache", 0, MAX_UINT_PARAM, current_CurFontCache, NULL},
#  252|->     {"Revision", min_long, max_long, current_Revision, NULL},
#  253|       {"PageCount", min_long, max_long, current_PageCount, NULL}
#  254|   };

Error: CPPCHECK_WARNING (CWE-758): [#def650]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:253: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  251|       {"CurFontCache", 0, MAX_UINT_PARAM, current_CurFontCache, NULL},
#  252|       {"Revision", min_long, max_long, current_Revision, NULL},
#  253|->     {"PageCount", min_long, max_long, current_PageCount, NULL}
#  254|   };
#  255|   

Error: CPPCHECK_WARNING (CWE-758): [#def651]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:448: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  446|           return stat.max_vm & 0x7fffffff;
#  447|       /* else clamp at the maximun positive value for the size_t size signed integer */
#  448|->     val = min(stat.max_vm, MAX_VM_THRESHOLD);
#  449|       return val;
#  450|   }

Error: CPPCHECK_WARNING (CWE-758): [#def652]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:623: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  621|   static const size_t_param_def_t user_size_t_params[] =
#  622|   {
#  623|->     {"MaxLocalVM", MIN_VM_THRESHOLD, MAX_VM_THRESHOLD, current_MaxLocalVM, set_MaxLocalVM}
#  624|   };
#  625|   

Error: CPPCHECK_WARNING (CWE-758): [#def653]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:628: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  626|   static const i64_param_def_t user_i64_params[] =
#  627|   {
#  628|->     {"VMThreshold", -1, MAX_VM_THRESHOLD, current_VMThreshold, set_vm_threshold},
#  629|   };
#  630|   

Error: CPPCHECK_WARNING (CWE-758): [#def654]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:635: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  633|       {"JobTimeout", 0, MAX_UINT_PARAM,
#  634|        current_JobTimeout, set_JobTimeout},
#  635|->     {"MaxFontItem", MIN_INT_PARAM, MAX_UINT_PARAM,
#  636|        current_MaxFontItem, set_MaxFontItem},
#  637|       {"MinFontCompress", MIN_INT_PARAM, MAX_UINT_PARAM,

Error: CPPCHECK_WARNING (CWE-758): [#def655]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:637: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  635|       {"MaxFontItem", MIN_INT_PARAM, MAX_UINT_PARAM,
#  636|        current_MaxFontItem, set_MaxFontItem},
#  637|->     {"MinFontCompress", MIN_INT_PARAM, MAX_UINT_PARAM,
#  638|        current_MinFontCompress, set_MinFontCompress},
#  639|       {"MaxOpStack", -1, max_long,

Error: CPPCHECK_WARNING (CWE-758): [#def656]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:639: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  637|       {"MinFontCompress", MIN_INT_PARAM, MAX_UINT_PARAM,
#  638|        current_MinFontCompress, set_MinFontCompress},
#  639|->     {"MaxOpStack", -1, max_long,
#  640|        current_MaxOpStack, set_MaxOpStack},
#  641|       {"MaxDictStack", -1, max_long,

Error: CPPCHECK_WARNING (CWE-758): [#def657]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:641: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  639|       {"MaxOpStack", -1, max_long,
#  640|        current_MaxOpStack, set_MaxOpStack},
#  641|->     {"MaxDictStack", -1, max_long,
#  642|        current_MaxDictStack, set_MaxDictStack},
#  643|       {"MaxExecStack", -1, max_long,

Error: CPPCHECK_WARNING (CWE-758): [#def658]
ghostscript-10.04.0-build/ghostscript-10.04.0/psi/zusparam.c:643: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  641|       {"MaxDictStack", -1, max_long,
#  642|        current_MaxDictStack, set_MaxDictStack},
#  643|->     {"MaxExecStack", -1, max_long,
#  644|        current_MaxExecStack, set_MaxExecStack},
#  645|       {"VMReclaim", -2, 0,

Error: COMPILER_WARNING (CWE-704): [#def659]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def660]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def661]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def662]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def663]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def664]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def665]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def666]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def667]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def668]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def669]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def670]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def671]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:1158:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
# 1158 | const gx_device_pdf_image gs_PCLm_device = {
#      |                           ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:1158: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): [#def672]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:1176:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
# 1176 | const gx_device_pdf_image gs_PCLm8_device = {
#      |                           ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:1176: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): [#def673]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def674]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def675]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def676]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def677]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def678]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def679]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def680]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def681]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def682]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def683]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def684]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def685]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def686]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevccr.c:113:24: note: ‘gs_ccr_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevccr.c:113:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   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): [#def687]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def688]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def689]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def690]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdfax.c:62:25: note: ‘gs_dfaxhigh_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevdfax.c:62:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   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): [#def691]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdfax.c:54:25: note: ‘gs_dfaxlow_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevdfax.c:54:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   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): [#def692]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def693]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def694]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def695]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def696]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def697]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def698]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevifno.c:97:25: note: ‘gs_inferno_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevifno.c:97:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   53|   #endif
#   54|   #ifdef device_
#   55|-> device_(gs_inferno_device)
#   56|   #endif
#   57|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def699]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def700]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def701]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevjpeg.c:77:22: note: type ‘const struct gx_device_jpeg’ should match type ‘const struct gx_device’
#   77 | const gx_device_jpeg gs_jpeg_device =
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevjpeg.c:77: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): [#def702]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevjpeg.c:132:22: note: type ‘const struct gx_device_jpeg’ should match type ‘const struct gx_device’
#  132 | const gx_device_jpeg gs_jpegcmyk_device =
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevjpeg.c:132: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): [#def703]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevjpeg.c:102:22: note: type ‘const struct gx_device_jpeg’ should match type ‘const struct gx_device’
#  102 | const gx_device_jpeg gs_jpeggray_device =
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevjpeg.c:102: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): [#def704]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:123:24: note: ‘gs_mgr4_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:123:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   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): [#def705]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:125:24: note: ‘gs_mgr8_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:125:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   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): [#def706]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:117:24: note: ‘gs_mgrgray2_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:117:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   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): [#def707]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:119:24: note: ‘gs_mgrgray4_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:119:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   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): [#def708]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:121:24: note: ‘gs_mgrgray8_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:121:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   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): [#def709]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:115:24: note: ‘gs_mgrmono_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevmgr.c:115:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#   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): [#def710]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def711]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def712]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def713]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def714]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def715]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def716]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def717]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def718]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def719]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def720]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def721]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def722]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:105:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
#  105 | const gx_device_pdf_image gs_pdfimage24_device = {
#      |                           ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:105: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): [#def723]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:136:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
#  136 | const gx_device_pdf_image gs_pdfimage32_device = {
#      |                           ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:136: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): [#def724]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:74:27: note: type ‘const struct gx_device_pdf_image’ should match type ‘const struct gx_device’
#   74 | const gx_device_pdf_image gs_pdfimage8_device = {
#      |                           ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpdfimg.c:74: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): [#def725]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def726]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def727]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def728]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def729]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def730]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def731]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def732]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def733]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def734]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def735]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def736]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def737]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def738]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def739]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def740]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def741]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def742]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def743]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def744]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def745]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def746]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def747]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def748]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def749]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def750]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def751]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:552:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  552 | const psd_device gs_psdcmyk_device =
#      |                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:552: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): [#def752]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:603:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  603 | const psd_device gs_psdcmyk16_device =
#      |                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:603: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): [#def753]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcmykog.c:772:24: note: type ‘const struct gx_device_cmykog’ should match type ‘struct gx_device’
#  772 | const gx_device_cmykog gs_psdcmykog_device =
#      |                        ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcmykog.c:772: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): [#def754]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:577:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  577 | const psd_device gs_psdcmyktags_device =
#      |                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:577: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): [#def755]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:628:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  628 | const psd_device gs_psdcmyktags16_device =
#      |                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:628: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): [#def756]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:450:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  450 | const psd_device gs_psdrgb_device =
#      |                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:450: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): [#def757]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:474:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  474 | const psd_device gs_psdrgb16_device =
#      |                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:474: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): [#def758]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:501:18: note: type ‘const struct psd_device’ should match type ‘struct gx_device’
#  501 | const psd_device gs_psdrgbtags_device =
#      |                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevpsd.c:501: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): [#def759]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def760]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def761]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtfnx.c:82:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#   82 | const gx_device_tiff gs_tiff24nc_device = {
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtfnx.c:82: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): [#def762]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:563:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  563 | const gx_device_tiff gs_tiff32nc_device = {
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:563: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): [#def763]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtfnx.c:98:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#   98 | const gx_device_tiff gs_tiff48nc_device = {
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtfnx.c:98: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): [#def764]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:593:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  593 | const gx_device_tiff gs_tiff64nc_device = {
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:593: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): [#def765]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def766]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def767]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def768]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def769]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def770]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def771]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def772]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:133:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  133 | const gx_device_tiff gs_tiffscaled_device = {
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:133: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): [#def773]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:213:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  213 | const gx_device_tiff gs_tiffscaled24_device = {
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:213: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): [#def774]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:253:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  253 | const gx_device_tiff gs_tiffscaled32_device = {
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:253: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): [#def775]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:290:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  290 | const gx_device_tiff gs_tiffscaled4_device = {
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:290: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): [#def776]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:173:22: note: type ‘const struct gx_device_tiff’ should match type ‘const struct gx_device’
#  173 | const gx_device_tiff gs_tiffscaled8_device = {
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:173: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): [#def777]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:803:22: note: type ‘const struct tiffsep_device’ should match type ‘const struct gx_device’
#  803 | const tiffsep_device gs_tiffsep_device =
#      |                      ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:803: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): [#def778]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:820:23: note: type ‘const struct tiffsep1_device’ should match type ‘const struct gx_device’
#  820 | const tiffsep1_device gs_tiffsep1_device =
#      |                       ^
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevtsep.c:820: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): [#def779]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def780]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def781]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def782]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def783]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def784]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def785]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:280:25: note: ‘gs_alc1900_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:280:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def786]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:281:25: note: ‘gs_alc2000_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:281:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def787]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:282:25: note: ‘gs_alc4000_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:282:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def788]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:283:25: note: ‘gs_alc4100_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:283:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def789]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:284:25: note: ‘gs_alc8500_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:284:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def790]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:285:25: note: ‘gs_alc8600_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:285:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def791]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:286:25: note: ‘gs_alc9100_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:286:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def792]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def793]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:121:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  121 | const gx_device_printer far_data gs_appledmp_device =
#      |                                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:121:34: 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): [#def794]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def795]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def796]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def797]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def798]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdev10v.c:86:19: note: ‘gs_bj10v_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdev10v.c:86:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def799]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdev10v.c:95:19: note: ‘gs_bj10vh_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdev10v.c:95:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def800]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def801]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:660:27: note: ‘gs_bjc600_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:660:27: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def802]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:679:27: note: ‘gs_bjc800_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:679:27: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def803]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4r.c:170:26: note: ‘gs_bjc880j_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4r.c:170:26: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def804]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def805]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def806]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def807]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def808]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:590:24: note: ‘gs_cdeskjet_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:590:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def809]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def810]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:598:24: note: ‘gs_cdj500_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:598:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  190|   #endif
#  191|   #ifdef device_
#  192|-> device_(gs_cdj500_device)
#  193|   device_(gs_cdj550_device)
#  194|   #endif

Error: COMPILER_WARNING (CWE-704): [#def811]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:602:24: note: ‘gs_cdj550_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:602:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  191|   #ifdef device_
#  192|   device_(gs_cdj500_device)
#  193|-> device_(gs_cdj550_device)
#  194|   #endif
#  195|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def812]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def813]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def814]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def815]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def816]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def817]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:594:24: note: ‘gs_cdjcolor_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:594:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  201|   #endif
#  202|   #ifdef device_
#  203|-> device_(gs_cdjcolor_device)
#  204|   device_(gs_cdjmono_device)
#  205|   #endif

Error: COMPILER_WARNING (CWE-704): [#def818]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:586:24: note: ‘gs_cdjmono_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:586:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  202|   #ifdef device_
#  203|   device_(gs_cdjcolor_device)
#  204|-> device_(gs_cdjmono_device)
#  205|   #endif
#  206|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def819]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def820]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def821]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevclj.c:558:15: note: ‘gs_cljet5_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevclj.c:558:15: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def822]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def823]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevclj.c:684:15: note: ‘gs_cljet5pr_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevclj.c:684:15: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def824]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def825]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def826]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:621:23: note: ‘gs_declj250_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:621:23: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def827]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def828]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:617:24: note: ‘gs_dj505j_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:617:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  220|   #endif
#  221|   #ifdef device_
#  222|-> device_(gs_dj505j_device)
#  223|   #endif
#  224|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def829]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def830]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def831]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:104:19: note: ‘gs_dl2100_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:104:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def832]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:625:24: note: ‘gs_dnj650c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:625:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def833]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:245:25: note: ‘gs_epl2050_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:245:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def834]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:246:25: note: ‘gs_epl2050p_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:246:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def835]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:247:25: note: ‘gs_epl2120_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:247:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def836]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:248:25: note: ‘gs_epl2500_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:248:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def837]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:249:25: note: ‘gs_epl2750_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:249:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def838]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:250:25: note: ‘gs_epl5800_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:250:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def839]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:251:25: note: ‘gs_epl5900_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:251:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def840]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:252:25: note: ‘gs_epl6100_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:252:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def841]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:253:25: note: ‘gs_epl6200_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:253:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def842]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:298:25: note: ‘gs_eplcolor_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:298:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def843]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:277:25: note: ‘gs_eplmono_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:277:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def844]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def845]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def846]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def847]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def848]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:649:24: note: ‘gs_escp_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:649:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def849]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevespg.c:71:25: note: ‘gs_escpage_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevespg.c:71:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def850]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevfmlbp.c:73:19: note: ‘gs_fmlbp_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevfmlbp.c:73:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def851]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevfmpr.c:32:19: note: ‘gs_fmpr_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevfmpr.c:32:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def852]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def853]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevgdi.c:106:28: note: ‘gs_gdi_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevgdi.c:106:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def854]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def855]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def856]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def857]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:189:1: note: ‘gs_hpdj1120c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:189:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def858]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:169:1: note: ‘gs_hpdj310_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:169:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def859]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:170:1: note: ‘gs_hpdj320_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:170:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def860]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:171:1: note: ‘gs_hpdj340_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:171:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def861]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:172:1: note: ‘gs_hpdj400_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:172:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def862]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:173:1: note: ‘gs_hpdj500_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:173:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def863]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:174:1: note: ‘gs_hpdj500c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:174:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def864]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:175:1: note: ‘gs_hpdj510_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:175:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def865]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:176:1: note: ‘gs_hpdj520_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:176:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def866]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:177:1: note: ‘gs_hpdj540_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:177:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def867]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:178:1: note: ‘gs_hpdj550c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:178:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def868]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:179:1: note: ‘gs_hpdj560c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:179:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def869]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:180:1: note: ‘gs_hpdj600_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:180:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def870]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:181:1: note: ‘gs_hpdj660c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:181:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def871]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:182:1: note: ‘gs_hpdj670c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:182:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def872]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:183:1: note: ‘gs_hpdj680c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:183:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def873]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:184:1: note: ‘gs_hpdj690c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:184:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def874]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:185:1: note: ‘gs_hpdj850c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:185:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def875]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:186:1: note: ‘gs_hpdj855c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:186:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def876]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:187:1: note: ‘gs_hpdj870c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:187:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def877]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:188:1: note: ‘gs_hpdj890c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:188:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def878]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:167:1: note: ‘gs_hpdjplus_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:167:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def879]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:168:1: note: ‘gs_hpdjportable_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:168:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  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): [#def880]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def881]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def882]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def883]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.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): [#def884]
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:139:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  139 | const gx_device_printer far_data gs_iwhi_device =
#      |                                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:139:34: note: ‘gs_iwhi_device’ was previously declared here
#  288|   #endif
#  289|   #ifdef device_
#  290|-> device_(gs_iwhi_device)
#  291|   device_(gs_iwlo_device)
#  292|   device_(gs_iwlq_device)

Error: COMPILER_WARNING (CWE-704): [#def885]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:291:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwlo_device’ does not match original declaration
#  291 | device_(gs_iwlo_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:130:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  130 | const gx_device_printer far_data gs_iwlo_device =
#      |                                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:130:34: note: ‘gs_iwlo_device’ was previously declared here
#  289|   #ifdef device_
#  290|   device_(gs_iwhi_device)
#  291|-> device_(gs_iwlo_device)
#  292|   device_(gs_iwlq_device)
#  293|   device_(gs_jetp3852_device)

Error: COMPILER_WARNING (CWE-704): [#def886]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:292:1: warning[-Wlto-type-mismatch]: type of ‘gs_iwlq_device’ does not match original declaration
#  292 | device_(gs_iwlq_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:148:34: note: type ‘const struct gx_device_printer’ should match type ‘struct gx_device’
#  148 | const gx_device_printer far_data gs_iwlq_device =
#      |                                  ^
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevadmp.c:148:34: note: ‘gs_iwlq_device’ was previously declared here
#  290|   device_(gs_iwhi_device)
#  291|   device_(gs_iwlo_device)
#  292|-> device_(gs_iwlq_device)
#  293|   device_(gs_jetp3852_device)
#  294|   device_(gs_jj100_device)

Error: COMPILER_WARNING (CWE-704): [#def887]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:293:1: warning[-Wlto-type-mismatch]: type of ‘gs_jetp3852_device’ does not match original declaration
#  293 | device_(gs_jetp3852_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdev3852.c:57:34: note: ‘gs_jetp3852_device’ was previously declared here
#  291|   device_(gs_iwlo_device)
#  292|   device_(gs_iwlq_device)
#  293|-> device_(gs_jetp3852_device)
#  294|   device_(gs_jj100_device)
#  295|   device_(gs_la50_device)

Error: COMPILER_WARNING (CWE-704): [#def888]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:294:1: warning[-Wlto-type-mismatch]: type of ‘gs_jj100_device’ does not match original declaration
#  294 | device_(gs_jj100_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevj100.c:31:19: note: ‘gs_jj100_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevj100.c:31:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  292|   device_(gs_iwlq_device)
#  293|   device_(gs_jetp3852_device)
#  294|-> device_(gs_jj100_device)
#  295|   device_(gs_la50_device)
#  296|   device_(gs_la70_device)

Error: COMPILER_WARNING (CWE-704): [#def889]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:295:1: warning[-Wlto-type-mismatch]: type of ‘gs_la50_device’ does not match original declaration
#  295 | device_(gs_la50_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:129:19: note: ‘gs_la50_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:129:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  293|   device_(gs_jetp3852_device)
#  294|   device_(gs_jj100_device)
#  295|-> device_(gs_la50_device)
#  296|   device_(gs_la70_device)
#  297|   device_(gs_la75_device)

Error: COMPILER_WARNING (CWE-704): [#def890]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:296:1: warning[-Wlto-type-mismatch]: type of ‘gs_la70_device’ does not match original declaration
#  296 | device_(gs_la70_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:156:19: note: ‘gs_la70_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:156:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  294|   device_(gs_jj100_device)
#  295|   device_(gs_la50_device)
#  296|-> device_(gs_la70_device)
#  297|   device_(gs_la75_device)
#  298|   device_(gs_la75plus_device)

Error: COMPILER_WARNING (CWE-704): [#def891]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:297:1: warning[-Wlto-type-mismatch]: type of ‘gs_la75_device’ does not match original declaration
#  297 | device_(gs_la75_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:182:19: note: ‘gs_la75_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:182:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  295|   device_(gs_la50_device)
#  296|   device_(gs_la70_device)
#  297|-> device_(gs_la75_device)
#  298|   device_(gs_la75plus_device)
#  299|   #endif

Error: COMPILER_WARNING (CWE-704): [#def892]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:298:1: warning[-Wlto-type-mismatch]: type of ‘gs_la75plus_device’ does not match original declaration
#  298 | device_(gs_la75plus_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:209:19: note: ‘gs_la75plus_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:209:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  296|   device_(gs_la70_device)
#  297|   device_(gs_la75_device)
#  298|-> device_(gs_la75plus_device)
#  299|   #endif
#  300|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def893]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:301:1: warning[-Wlto-type-mismatch]: type of ‘gs_laserjet_device’ does not match original declaration
#  301 | device2_(gs_laserjet_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdjet.c:178:23: note: ‘gs_laserjet_device’ was previously declared here
#  299|   #endif
#  300|   #ifdef device2_
#  301|-> device2_(gs_laserjet_device)
#  302|   #endif
#  303|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def894]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:304:1: warning[-Wlto-type-mismatch]: type of ‘gs_lbp310_device’ does not match original declaration
#  304 | device_(gs_lbp310_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevlbp3.c:17:28: note: ‘gs_lbp310_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevlbp3.c:17:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  302|   #endif
#  303|   #ifdef device_
#  304|-> device_(gs_lbp310_device)
#  305|   device_(gs_lbp320_device)
#  306|   device_(gs_lbp8_device)

Error: COMPILER_WARNING (CWE-704): [#def895]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:305:1: warning[-Wlto-type-mismatch]: type of ‘gs_lbp320_device’ does not match original declaration
#  305 | device_(gs_lbp320_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevlbp3.c:29:28: note: ‘gs_lbp320_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevlbp3.c:29:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  303|   #ifdef device_
#  304|   device_(gs_lbp310_device)
#  305|-> device_(gs_lbp320_device)
#  306|   device_(gs_lbp8_device)
#  307|   device_(gs_lex2050_device)

Error: COMPILER_WARNING (CWE-704): [#def896]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:306:1: warning[-Wlto-type-mismatch]: type of ‘gs_lbp8_device’ does not match original declaration
#  306 | device_(gs_lbp8_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevlbp8.c:50:34: note: ‘gs_lbp8_device’ was previously declared here
#  304|   device_(gs_lbp310_device)
#  305|   device_(gs_lbp320_device)
#  306|-> device_(gs_lbp8_device)
#  307|   device_(gs_lex2050_device)
#  308|   device_(gs_lex3200_device)

Error: COMPILER_WARNING (CWE-704): [#def897]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:307:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex2050_device’ does not match original declaration
#  307 | device_(gs_lex2050_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevlx7.c:216:21: note: ‘gs_lex2050_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevlx7.c:216:21: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  305|   device_(gs_lbp320_device)
#  306|   device_(gs_lbp8_device)
#  307|-> device_(gs_lex2050_device)
#  308|   device_(gs_lex3200_device)
#  309|   device_(gs_lex5700_device)

Error: COMPILER_WARNING (CWE-704): [#def898]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:308:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex3200_device’ does not match original declaration
#  308 | device_(gs_lex3200_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevlx7.c:193:21: note: ‘gs_lex3200_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevlx7.c:193:21: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  306|   device_(gs_lbp8_device)
#  307|   device_(gs_lex2050_device)
#  308|-> device_(gs_lex3200_device)
#  309|   device_(gs_lex5700_device)
#  310|   device_(gs_lex7000_device)

Error: COMPILER_WARNING (CWE-704): [#def899]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:309:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex5700_device’ does not match original declaration
#  309 | device_(gs_lex5700_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevlx7.c:170:21: note: ‘gs_lex5700_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevlx7.c:170:21: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  307|   device_(gs_lex2050_device)
#  308|   device_(gs_lex3200_device)
#  309|-> device_(gs_lex5700_device)
#  310|   device_(gs_lex7000_device)
#  311|   device_(gs_lips2p_device)

Error: COMPILER_WARNING (CWE-704): [#def900]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:310:1: warning[-Wlto-type-mismatch]: type of ‘gs_lex7000_device’ does not match original declaration
#  310 | device_(gs_lex7000_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevlx7.c:147:21: note: ‘gs_lex7000_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevlx7.c:147:21: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  308|   device_(gs_lex3200_device)
#  309|   device_(gs_lex5700_device)
#  310|-> device_(gs_lex7000_device)
#  311|   device_(gs_lips2p_device)
#  312|   device_(gs_lips3_device)

Error: COMPILER_WARNING (CWE-704): [#def901]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:311:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips2p_device’ does not match original declaration
#  311 | device_(gs_lips2p_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4r.c:146:25: note: ‘gs_lips2p_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4r.c:146:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  309|   device_(gs_lex5700_device)
#  310|   device_(gs_lex7000_device)
#  311|-> device_(gs_lips2p_device)
#  312|   device_(gs_lips3_device)
#  313|   device_(gs_lips4_device)

Error: COMPILER_WARNING (CWE-704): [#def902]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:312:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips3_device’ does not match original declaration
#  312 | device_(gs_lips3_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4r.c:158:25: note: ‘gs_lips3_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4r.c:158:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  310|   device_(gs_lex7000_device)
#  311|   device_(gs_lips2p_device)
#  312|-> device_(gs_lips3_device)
#  313|   device_(gs_lips4_device)
#  314|   device_(gs_lips4v_device)

Error: COMPILER_WARNING (CWE-704): [#def903]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:313:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips4_device’ does not match original declaration
#  313 | device_(gs_lips4_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4r.c:182:26: note: ‘gs_lips4_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4r.c:182:26: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  311|   device_(gs_lips2p_device)
#  312|   device_(gs_lips3_device)
#  313|-> device_(gs_lips4_device)
#  314|   device_(gs_lips4v_device)
#  315|   device_(gs_lj250_device)

Error: COMPILER_WARNING (CWE-704): [#def904]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:314:1: warning[-Wlto-type-mismatch]: type of ‘gs_lips4v_device’ does not match original declaration
#  314 | device_(gs_lips4v_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4v.c:185:27: note: ‘gs_lips4v_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/lips4/gdevl4v.c:185:27: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  312|   device_(gs_lips3_device)
#  313|   device_(gs_lips4_device)
#  314|-> device_(gs_lips4v_device)
#  315|   device_(gs_lj250_device)
#  316|   device_(gs_lj3100sw_device)

Error: COMPILER_WARNING (CWE-704): [#def905]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:315:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj250_device’ does not match original declaration
#  315 | device_(gs_lj250_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpjet.c:48:34: note: ‘gs_lj250_device’ was previously declared here
#  313|   device_(gs_lips4_device)
#  314|   device_(gs_lips4v_device)
#  315|-> device_(gs_lj250_device)
#  316|   device_(gs_lj3100sw_device)
#  317|   device_(gs_lj4dith_device)

Error: COMPILER_WARNING (CWE-704): [#def906]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:316:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj3100sw_device’ does not match original declaration
#  316 | device_(gs_lj3100sw_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevl31s.c:92:28: note: ‘gs_lj3100sw_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevl31s.c:92:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  314|   device_(gs_lips4v_device)
#  315|   device_(gs_lj250_device)
#  316|-> device_(gs_lj3100sw_device)
#  317|   device_(gs_lj4dith_device)
#  318|   device_(gs_lj4dithp_device)

Error: COMPILER_WARNING (CWE-704): [#def907]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:317:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj4dith_device’ does not match original declaration
#  317 | device_(gs_lj4dith_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:629:24: note: ‘gs_lj4dith_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:629:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  315|   device_(gs_lj250_device)
#  316|   device_(gs_lj3100sw_device)
#  317|-> device_(gs_lj4dith_device)
#  318|   device_(gs_lj4dithp_device)
#  319|   device_(gs_lj5gray_device)

Error: COMPILER_WARNING (CWE-704): [#def908]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:318:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj4dithp_device’ does not match original declaration
#  318 | device_(gs_lj4dithp_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:633:24: note: ‘gs_lj4dithp_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:633:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  316|   device_(gs_lj3100sw_device)
#  317|   device_(gs_lj4dith_device)
#  318|-> device_(gs_lj4dithp_device)
#  319|   device_(gs_lj5gray_device)
#  320|   device_(gs_lj5mono_device)

Error: COMPILER_WARNING (CWE-704): [#def909]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:319:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj5gray_device’ does not match original declaration
#  319 | device_(gs_lj5gray_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevlj56.c:73:25: note: ‘gs_lj5gray_device’ was previously declared here
#  317|   device_(gs_lj4dith_device)
#  318|   device_(gs_lj4dithp_device)
#  319|-> device_(gs_lj5gray_device)
#  320|   device_(gs_lj5mono_device)
#  321|   #endif

Error: COMPILER_WARNING (CWE-704): [#def910]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:320:1: warning[-Wlto-type-mismatch]: type of ‘gs_lj5mono_device’ does not match original declaration
#  320 | device_(gs_lj5mono_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevlj56.c:54:25: note: ‘gs_lj5mono_device’ was previously declared here
#  318|   device_(gs_lj4dithp_device)
#  319|   device_(gs_lj5gray_device)
#  320|-> device_(gs_lj5mono_device)
#  321|   #endif
#  322|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def911]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:323:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet2p_device’ does not match original declaration
#  323 | device2_(gs_ljet2p_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdjet.c:192:23: note: ‘gs_ljet2p_device’ was previously declared here
#  321|   #endif
#  322|   #ifdef device2_
#  323|-> device2_(gs_ljet2p_device)
#  324|   device2_(gs_ljet3_device)
#  325|   device2_(gs_ljet3d_device)

Error: COMPILER_WARNING (CWE-704): [#def912]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:324:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet3_device’ does not match original declaration
#  324 | device2_(gs_ljet3_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdjet.c:199:23: note: ‘gs_ljet3_device’ was previously declared here
#  322|   #ifdef device2_
#  323|   device2_(gs_ljet2p_device)
#  324|-> device2_(gs_ljet3_device)
#  325|   device2_(gs_ljet3d_device)
#  326|   device2_(gs_ljet4_device)

Error: COMPILER_WARNING (CWE-704): [#def913]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:325:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet3d_device’ does not match original declaration
#  325 | device2_(gs_ljet3d_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdjet.c:206:23: note: ‘gs_ljet3d_device’ was previously declared here
#  323|   device2_(gs_ljet2p_device)
#  324|   device2_(gs_ljet3_device)
#  325|-> device2_(gs_ljet3d_device)
#  326|   device2_(gs_ljet4_device)
#  327|   device2_(gs_ljet4d_device)

Error: COMPILER_WARNING (CWE-704): [#def914]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:326:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet4_device’ does not match original declaration
#  326 | device2_(gs_ljet4_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdjet.c:213:23: note: ‘gs_ljet4_device’ was previously declared here
#  324|   device2_(gs_ljet3_device)
#  325|   device2_(gs_ljet3d_device)
#  326|-> device2_(gs_ljet4_device)
#  327|   device2_(gs_ljet4d_device)
#  328|   #endif

Error: COMPILER_WARNING (CWE-704): [#def915]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:327:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet4d_device’ does not match original declaration
#  327 | device2_(gs_ljet4d_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdjet.c:220:23: note: ‘gs_ljet4d_device’ was previously declared here
#  325|   device2_(gs_ljet3d_device)
#  326|   device2_(gs_ljet4_device)
#  327|-> device2_(gs_ljet4d_device)
#  328|   #endif
#  329|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def916]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:330:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljet4pjl_device’ does not match original declaration
#  330 | device_(gs_ljet4pjl_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdjet.c:241:25: note: ‘gs_ljet4pjl_device’ was previously declared here
#  328|   #endif
#  329|   #ifdef device_
#  330|-> device_(gs_ljet4pjl_device)
#  331|   #endif
#  332|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def917]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:333:1: warning[-Wlto-type-mismatch]: type of ‘gs_ljetplus_device’ does not match original declaration
#  333 | device2_(gs_ljetplus_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdjet.c:185:23: note: ‘gs_ljetplus_device’ was previously declared here
#  331|   #endif
#  332|   #ifdef device2_
#  333|-> device2_(gs_ljetplus_device)
#  334|   #endif
#  335|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def918]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:336:1: warning[-Wlto-type-mismatch]: type of ‘gs_ln03_device’ does not match original declaration
#  336 | device_(gs_ln03_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:67:19: note: ‘gs_ln03_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevln03.c:67:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  334|   #endif
#  335|   #ifdef device_
#  336|-> device_(gs_ln03_device)
#  337|   device_(gs_lp1800_device)
#  338|   device_(gs_lp1900_device)

Error: COMPILER_WARNING (CWE-704): [#def919]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:337:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp1800_device’ does not match original declaration
#  337 | device_(gs_lp1800_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:254:25: note: ‘gs_lp1800_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:254:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  335|   #ifdef device_
#  336|   device_(gs_ln03_device)
#  337|-> device_(gs_lp1800_device)
#  338|   device_(gs_lp1900_device)
#  339|   device_(gs_lp2000_device)

Error: COMPILER_WARNING (CWE-704): [#def920]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:338:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp1900_device’ does not match original declaration
#  338 | device_(gs_lp1900_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:255:25: note: ‘gs_lp1900_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:255:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  336|   device_(gs_ln03_device)
#  337|   device_(gs_lp1800_device)
#  338|-> device_(gs_lp1900_device)
#  339|   device_(gs_lp2000_device)
#  340|   device_(gs_lp2200_device)

Error: COMPILER_WARNING (CWE-704): [#def921]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:339:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2000_device’ does not match original declaration
#  339 | device_(gs_lp2000_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevespg.c:66:25: note: ‘gs_lp2000_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevespg.c:66:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  337|   device_(gs_lp1800_device)
#  338|   device_(gs_lp1900_device)
#  339|-> device_(gs_lp2000_device)
#  340|   device_(gs_lp2200_device)
#  341|   device_(gs_lp2400_device)

Error: COMPILER_WARNING (CWE-704): [#def922]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:340:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2200_device’ does not match original declaration
#  340 | device_(gs_lp2200_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:256:25: note: ‘gs_lp2200_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:256:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  338|   device_(gs_lp1900_device)
#  339|   device_(gs_lp2000_device)
#  340|-> device_(gs_lp2200_device)
#  341|   device_(gs_lp2400_device)
#  342|   device_(gs_lp2500_device)

Error: COMPILER_WARNING (CWE-704): [#def923]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:341:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2400_device’ does not match original declaration
#  341 | device_(gs_lp2400_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:257:25: note: ‘gs_lp2400_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:257:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  339|   device_(gs_lp2000_device)
#  340|   device_(gs_lp2200_device)
#  341|-> device_(gs_lp2400_device)
#  342|   device_(gs_lp2500_device)
#  343|   #endif

Error: COMPILER_WARNING (CWE-704): [#def924]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:342:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2500_device’ does not match original declaration
#  342 | device_(gs_lp2500_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:258:25: note: ‘gs_lp2500_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:258:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  340|   device_(gs_lp2200_device)
#  341|   device_(gs_lp2400_device)
#  342|-> device_(gs_lp2500_device)
#  343|   #endif
#  344|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def925]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:345:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp2563_device’ does not match original declaration
#  345 | device2_(gs_lp2563_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdjet.c:227:23: note: ‘gs_lp2563_device’ was previously declared here
#  343|   #endif
#  344|   #ifdef device2_
#  345|-> device2_(gs_lp2563_device)
#  346|   #endif
#  347|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def926]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:348:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp3000c_device’ does not match original declaration
#  348 | device_(gs_lp3000c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:287:25: note: ‘gs_lp3000c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:287:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  346|   #endif
#  347|   #ifdef device_
#  348|-> device_(gs_lp3000c_device)
#  349|   device_(gs_lp7500_device)
#  350|   device_(gs_lp7700_device)

Error: COMPILER_WARNING (CWE-704): [#def927]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:349:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp7500_device’ does not match original declaration
#  349 | device_(gs_lp7500_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:259:25: note: ‘gs_lp7500_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:259:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  347|   #ifdef device_
#  348|   device_(gs_lp3000c_device)
#  349|-> device_(gs_lp7500_device)
#  350|   device_(gs_lp7700_device)
#  351|   device_(gs_lp7900_device)

Error: COMPILER_WARNING (CWE-704): [#def928]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:350:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp7700_device’ does not match original declaration
#  350 | device_(gs_lp7700_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:260:25: note: ‘gs_lp7700_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:260:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  348|   device_(gs_lp3000c_device)
#  349|   device_(gs_lp7500_device)
#  350|-> device_(gs_lp7700_device)
#  351|   device_(gs_lp7900_device)
#  352|   device_(gs_lp8000_device)

Error: COMPILER_WARNING (CWE-704): [#def929]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:351:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp7900_device’ does not match original declaration
#  351 | device_(gs_lp7900_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:261:25: note: ‘gs_lp7900_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:261:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  349|   device_(gs_lp7500_device)
#  350|   device_(gs_lp7700_device)
#  351|-> device_(gs_lp7900_device)
#  352|   device_(gs_lp8000_device)
#  353|   device_(gs_lp8000c_device)

Error: COMPILER_WARNING (CWE-704): [#def930]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:352:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8000_device’ does not match original declaration
#  352 | device_(gs_lp8000_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevlp8k.c:172:28: note: ‘gs_lp8000_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevlp8k.c:172:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  350|   device_(gs_lp7700_device)
#  351|   device_(gs_lp7900_device)
#  352|-> device_(gs_lp8000_device)
#  353|   device_(gs_lp8000c_device)
#  354|   device_(gs_lp8100_device)

Error: COMPILER_WARNING (CWE-704): [#def931]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:353:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8000c_device’ does not match original declaration
#  353 | device_(gs_lp8000c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:288:25: note: ‘gs_lp8000c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:288:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  351|   device_(gs_lp7900_device)
#  352|   device_(gs_lp8000_device)
#  353|-> device_(gs_lp8000c_device)
#  354|   device_(gs_lp8100_device)
#  355|   device_(gs_lp8200c_device)

Error: COMPILER_WARNING (CWE-704): [#def932]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:354:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8100_device’ does not match original declaration
#  354 | device_(gs_lp8100_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:262:25: note: ‘gs_lp8100_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:262:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  352|   device_(gs_lp8000_device)
#  353|   device_(gs_lp8000c_device)
#  354|-> device_(gs_lp8100_device)
#  355|   device_(gs_lp8200c_device)
#  356|   device_(gs_lp8300c_device)

Error: COMPILER_WARNING (CWE-704): [#def933]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:355:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8200c_device’ does not match original declaration
#  355 | device_(gs_lp8200c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:289:25: note: ‘gs_lp8200c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:289:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  353|   device_(gs_lp8000c_device)
#  354|   device_(gs_lp8100_device)
#  355|-> device_(gs_lp8200c_device)
#  356|   device_(gs_lp8300c_device)
#  357|   device_(gs_lp8300f_device)

Error: COMPILER_WARNING (CWE-704): [#def934]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:356:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8300c_device’ does not match original declaration
#  356 | device_(gs_lp8300c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:290:25: note: ‘gs_lp8300c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:290:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  354|   device_(gs_lp8100_device)
#  355|   device_(gs_lp8200c_device)
#  356|-> device_(gs_lp8300c_device)
#  357|   device_(gs_lp8300f_device)
#  358|   device_(gs_lp8400f_device)

Error: COMPILER_WARNING (CWE-704): [#def935]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:357:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8300f_device’ does not match original declaration
#  357 | device_(gs_lp8300f_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:263:25: note: ‘gs_lp8300f_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:263:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  355|   device_(gs_lp8200c_device)
#  356|   device_(gs_lp8300c_device)
#  357|-> device_(gs_lp8300f_device)
#  358|   device_(gs_lp8400f_device)
#  359|   device_(gs_lp8500c_device)

Error: COMPILER_WARNING (CWE-704): [#def936]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:358:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8400f_device’ does not match original declaration
#  358 | device_(gs_lp8400f_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:264:25: note: ‘gs_lp8400f_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:264:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  356|   device_(gs_lp8300c_device)
#  357|   device_(gs_lp8300f_device)
#  358|-> device_(gs_lp8400f_device)
#  359|   device_(gs_lp8500c_device)
#  360|   device_(gs_lp8600_device)

Error: COMPILER_WARNING (CWE-704): [#def937]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:359:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8500c_device’ does not match original declaration
#  359 | device_(gs_lp8500c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:291:25: note: ‘gs_lp8500c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:291:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  357|   device_(gs_lp8300f_device)
#  358|   device_(gs_lp8400f_device)
#  359|-> device_(gs_lp8500c_device)
#  360|   device_(gs_lp8600_device)
#  361|   device_(gs_lp8600f_device)

Error: COMPILER_WARNING (CWE-704): [#def938]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:360:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8600_device’ does not match original declaration
#  360 | device_(gs_lp8600_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:265:25: note: ‘gs_lp8600_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:265:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  358|   device_(gs_lp8400f_device)
#  359|   device_(gs_lp8500c_device)
#  360|-> device_(gs_lp8600_device)
#  361|   device_(gs_lp8600f_device)
#  362|   device_(gs_lp8700_device)

Error: COMPILER_WARNING (CWE-704): [#def939]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:361:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8600f_device’ does not match original declaration
#  361 | device_(gs_lp8600f_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:266:25: note: ‘gs_lp8600f_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:266:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  359|   device_(gs_lp8500c_device)
#  360|   device_(gs_lp8600_device)
#  361|-> device_(gs_lp8600f_device)
#  362|   device_(gs_lp8700_device)
#  363|   device_(gs_lp8800c_device)

Error: COMPILER_WARNING (CWE-704): [#def940]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:362:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8700_device’ does not match original declaration
#  362 | device_(gs_lp8700_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:267:25: note: ‘gs_lp8700_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:267:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  360|   device_(gs_lp8600_device)
#  361|   device_(gs_lp8600f_device)
#  362|-> device_(gs_lp8700_device)
#  363|   device_(gs_lp8800c_device)
#  364|   device_(gs_lp8900_device)

Error: COMPILER_WARNING (CWE-704): [#def941]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:363:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8800c_device’ does not match original declaration
#  363 | device_(gs_lp8800c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:292:25: note: ‘gs_lp8800c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:292:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  361|   device_(gs_lp8600f_device)
#  362|   device_(gs_lp8700_device)
#  363|-> device_(gs_lp8800c_device)
#  364|   device_(gs_lp8900_device)
#  365|   device_(gs_lp9000b_device)

Error: COMPILER_WARNING (CWE-704): [#def942]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:364:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp8900_device’ does not match original declaration
#  364 | device_(gs_lp8900_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:268:25: note: ‘gs_lp8900_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:268:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  362|   device_(gs_lp8700_device)
#  363|   device_(gs_lp8800c_device)
#  364|-> device_(gs_lp8900_device)
#  365|   device_(gs_lp9000b_device)
#  366|   device_(gs_lp9000c_device)

Error: COMPILER_WARNING (CWE-704): [#def943]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:365:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9000b_device’ does not match original declaration
#  365 | device_(gs_lp9000b_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:269:25: note: ‘gs_lp9000b_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:269:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  363|   device_(gs_lp8800c_device)
#  364|   device_(gs_lp8900_device)
#  365|-> device_(gs_lp9000b_device)
#  366|   device_(gs_lp9000c_device)
#  367|   device_(gs_lp9100_device)

Error: COMPILER_WARNING (CWE-704): [#def944]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:366:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9000c_device’ does not match original declaration
#  366 | device_(gs_lp9000c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:293:25: note: ‘gs_lp9000c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:293:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  364|   device_(gs_lp8900_device)
#  365|   device_(gs_lp9000b_device)
#  366|-> device_(gs_lp9000c_device)
#  367|   device_(gs_lp9100_device)
#  368|   device_(gs_lp9200b_device)

Error: COMPILER_WARNING (CWE-704): [#def945]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:367:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9100_device’ does not match original declaration
#  367 | device_(gs_lp9100_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:270:25: note: ‘gs_lp9100_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:270:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  365|   device_(gs_lp9000b_device)
#  366|   device_(gs_lp9000c_device)
#  367|-> device_(gs_lp9100_device)
#  368|   device_(gs_lp9200b_device)
#  369|   device_(gs_lp9200c_device)

Error: COMPILER_WARNING (CWE-704): [#def946]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:368:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9200b_device’ does not match original declaration
#  368 | device_(gs_lp9200b_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:271:25: note: ‘gs_lp9200b_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:271:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  366|   device_(gs_lp9000c_device)
#  367|   device_(gs_lp9100_device)
#  368|-> device_(gs_lp9200b_device)
#  369|   device_(gs_lp9200c_device)
#  370|   device_(gs_lp9300_device)

Error: COMPILER_WARNING (CWE-704): [#def947]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:369:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9200c_device’ does not match original declaration
#  369 | device_(gs_lp9200c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:294:25: note: ‘gs_lp9200c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:294:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  367|   device_(gs_lp9100_device)
#  368|   device_(gs_lp9200b_device)
#  369|-> device_(gs_lp9200c_device)
#  370|   device_(gs_lp9300_device)
#  371|   device_(gs_lp9400_device)

Error: COMPILER_WARNING (CWE-704): [#def948]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:370:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9300_device’ does not match original declaration
#  370 | device_(gs_lp9300_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:272:25: note: ‘gs_lp9300_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:272:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  368|   device_(gs_lp9200b_device)
#  369|   device_(gs_lp9200c_device)
#  370|-> device_(gs_lp9300_device)
#  371|   device_(gs_lp9400_device)
#  372|   device_(gs_lp9500c_device)

Error: COMPILER_WARNING (CWE-704): [#def949]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:371:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9400_device’ does not match original declaration
#  371 | device_(gs_lp9400_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:273:25: note: ‘gs_lp9400_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:273:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  369|   device_(gs_lp9200c_device)
#  370|   device_(gs_lp9300_device)
#  371|-> device_(gs_lp9400_device)
#  372|   device_(gs_lp9500c_device)
#  373|   device_(gs_lp9600_device)

Error: COMPILER_WARNING (CWE-704): [#def950]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:372:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9500c_device’ does not match original declaration
#  372 | device_(gs_lp9500c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:295:25: note: ‘gs_lp9500c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:295:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  370|   device_(gs_lp9300_device)
#  371|   device_(gs_lp9400_device)
#  372|-> device_(gs_lp9500c_device)
#  373|   device_(gs_lp9600_device)
#  374|   device_(gs_lp9600s_device)

Error: COMPILER_WARNING (CWE-704): [#def951]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:373:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9600_device’ does not match original declaration
#  373 | device_(gs_lp9600_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:274:25: note: ‘gs_lp9600_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:274:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  371|   device_(gs_lp9400_device)
#  372|   device_(gs_lp9500c_device)
#  373|-> device_(gs_lp9600_device)
#  374|   device_(gs_lp9600s_device)
#  375|   device_(gs_lp9800c_device)

Error: COMPILER_WARNING (CWE-704): [#def952]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:374:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9600s_device’ does not match original declaration
#  374 | device_(gs_lp9600s_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:275:25: note: ‘gs_lp9600s_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:275:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  372|   device_(gs_lp9500c_device)
#  373|   device_(gs_lp9600_device)
#  374|-> device_(gs_lp9600s_device)
#  375|   device_(gs_lp9800c_device)
#  376|   device_(gs_lps4500_device)

Error: COMPILER_WARNING (CWE-704): [#def953]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:375:1: warning[-Wlto-type-mismatch]: type of ‘gs_lp9800c_device’ does not match original declaration
#  375 | device_(gs_lp9800c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:296:25: note: ‘gs_lp9800c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:296:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  373|   device_(gs_lp9600_device)
#  374|   device_(gs_lp9600s_device)
#  375|-> device_(gs_lp9800c_device)
#  376|   device_(gs_lps4500_device)
#  377|   device_(gs_lps6500_device)

Error: COMPILER_WARNING (CWE-704): [#def954]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:376:1: warning[-Wlto-type-mismatch]: type of ‘gs_lps4500_device’ does not match original declaration
#  376 | device_(gs_lps4500_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:276:25: note: ‘gs_lps4500_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:276:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  374|   device_(gs_lp9600s_device)
#  375|   device_(gs_lp9800c_device)
#  376|-> device_(gs_lps4500_device)
#  377|   device_(gs_lps6500_device)
#  378|   device_(gs_lq850_device)

Error: COMPILER_WARNING (CWE-704): [#def955]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:377:1: warning[-Wlto-type-mismatch]: type of ‘gs_lps6500_device’ does not match original declaration
#  377 | device_(gs_lps6500_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:297:25: note: ‘gs_lps6500_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/eplaser/gdevescv.c:297:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  375|   device_(gs_lp9800c_device)
#  376|   device_(gs_lps4500_device)
#  377|-> device_(gs_lps6500_device)
#  378|   device_(gs_lq850_device)
#  379|   device_(gs_lxm3200_device)

Error: COMPILER_WARNING (CWE-704): [#def956]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:378:1: warning[-Wlto-type-mismatch]: type of ‘gs_lq850_device’ does not match original declaration
#  378 | device_(gs_lq850_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdm24.c:38:25: note: ‘gs_lq850_device’ was previously declared here
#  376|   device_(gs_lps4500_device)
#  377|   device_(gs_lps6500_device)
#  378|-> device_(gs_lq850_device)
#  379|   device_(gs_lxm3200_device)
#  380|   device_(gs_lxm5700m_device)

Error: COMPILER_WARNING (CWE-704): [#def957]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:379:1: warning[-Wlto-type-mismatch]: type of ‘gs_lxm3200_device’ does not match original declaration
#  379 | device_(gs_lxm3200_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevlx32.c:318:21: note: ‘gs_lxm3200_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevlx32.c:318:21: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  377|   device_(gs_lps6500_device)
#  378|   device_(gs_lq850_device)
#  379|-> device_(gs_lxm3200_device)
#  380|   device_(gs_lxm5700m_device)
#  381|   device_(gs_m8510_device)

Error: COMPILER_WARNING (CWE-704): [#def958]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:380:1: warning[-Wlto-type-mismatch]: type of ‘gs_lxm5700m_device’ does not match original declaration
#  380 | device_(gs_lxm5700m_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevlxm.c:62:21: note: ‘gs_lxm5700m_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevlxm.c:62:21: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  378|   device_(gs_lq850_device)
#  379|   device_(gs_lxm3200_device)
#  380|-> device_(gs_lxm5700m_device)
#  381|   device_(gs_m8510_device)
#  382|   device_(gs_md1xMono_device)

Error: COMPILER_WARNING (CWE-704): [#def959]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:381:1: warning[-Wlto-type-mismatch]: type of ‘gs_m8510_device’ does not match original declaration
#  381 | device_(gs_m8510_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdev8510.c:26:34: note: ‘gs_m8510_device’ was previously declared here
#  379|   device_(gs_lxm3200_device)
#  380|   device_(gs_lxm5700m_device)
#  381|-> device_(gs_m8510_device)
#  382|   device_(gs_md1xMono_device)
#  383|   device_(gs_md2k_device)

Error: COMPILER_WARNING (CWE-704): [#def960]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:382:1: warning[-Wlto-type-mismatch]: type of ‘gs_md1xMono_device’ does not match original declaration
#  382 | device_(gs_md1xMono_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevalps.c:86:28: note: ‘gs_md1xMono_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevalps.c:86:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  380|   device_(gs_lxm5700m_device)
#  381|   device_(gs_m8510_device)
#  382|-> device_(gs_md1xMono_device)
#  383|   device_(gs_md2k_device)
#  384|   device_(gs_md50Eco_device)

Error: COMPILER_WARNING (CWE-704): [#def961]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:383:1: warning[-Wlto-type-mismatch]: type of ‘gs_md2k_device’ does not match original declaration
#  383 | device_(gs_md2k_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevmd2k.c:95:25: note: ‘gs_md2k_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevmd2k.c:95:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  381|   device_(gs_m8510_device)
#  382|   device_(gs_md1xMono_device)
#  383|-> device_(gs_md2k_device)
#  384|   device_(gs_md50Eco_device)
#  385|   device_(gs_md50Mono_device)

Error: COMPILER_WARNING (CWE-704): [#def962]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:384:1: warning[-Wlto-type-mismatch]: type of ‘gs_md50Eco_device’ does not match original declaration
#  384 | device_(gs_md50Eco_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevalps.c:77:28: note: ‘gs_md50Eco_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevalps.c:77:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  382|   device_(gs_md1xMono_device)
#  383|   device_(gs_md2k_device)
#  384|-> device_(gs_md50Eco_device)
#  385|   device_(gs_md50Mono_device)
#  386|   device_(gs_md5k_device)

Error: COMPILER_WARNING (CWE-704): [#def963]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:385:1: warning[-Wlto-type-mismatch]: type of ‘gs_md50Mono_device’ does not match original declaration
#  385 | device_(gs_md50Mono_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevalps.c:68:28: note: ‘gs_md50Mono_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevalps.c:68:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  383|   device_(gs_md2k_device)
#  384|   device_(gs_md50Eco_device)
#  385|-> device_(gs_md50Mono_device)
#  386|   device_(gs_md5k_device)
#  387|   device_(gs_mj500c_device)

Error: COMPILER_WARNING (CWE-704): [#def964]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:386:1: warning[-Wlto-type-mismatch]: type of ‘gs_md5k_device’ does not match original declaration
#  386 | device_(gs_md5k_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevmd2k.c:96:25: note: ‘gs_md5k_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevmd2k.c:96:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  384|   device_(gs_md50Eco_device)
#  385|   device_(gs_md50Mono_device)
#  386|-> device_(gs_md5k_device)
#  387|   device_(gs_mj500c_device)
#  388|   device_(gs_mj6000c_device)

Error: COMPILER_WARNING (CWE-704): [#def965]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:387:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj500c_device’ does not match original declaration
#  387 | device_(gs_mj500c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevmjc.c:265:23: note: ‘gs_mj500c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevmjc.c:265:23: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  385|   device_(gs_md50Mono_device)
#  386|   device_(gs_md5k_device)
#  387|-> device_(gs_mj500c_device)
#  388|   device_(gs_mj6000c_device)
#  389|   device_(gs_mj700v2c_device)

Error: COMPILER_WARNING (CWE-704): [#def966]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:388:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj6000c_device’ does not match original declaration
#  388 | device_(gs_mj6000c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevmjc.c:270:23: note: ‘gs_mj6000c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevmjc.c:270:23: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  386|   device_(gs_md5k_device)
#  387|   device_(gs_mj500c_device)
#  388|-> device_(gs_mj6000c_device)
#  389|   device_(gs_mj700v2c_device)
#  390|   device_(gs_mj8000c_device)

Error: COMPILER_WARNING (CWE-704): [#def967]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:389:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj700v2c_device’ does not match original declaration
#  389 | device_(gs_mj700v2c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevmjc.c:259:23: note: ‘gs_mj700v2c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevmjc.c:259:23: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  387|   device_(gs_mj500c_device)
#  388|   device_(gs_mj6000c_device)
#  389|-> device_(gs_mj700v2c_device)
#  390|   device_(gs_mj8000c_device)
#  391|   device_(gs_ml600_device)

Error: COMPILER_WARNING (CWE-704): [#def968]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:390:1: warning[-Wlto-type-mismatch]: type of ‘gs_mj8000c_device’ does not match original declaration
#  390 | device_(gs_mj8000c_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevmjc.c:275:23: note: ‘gs_mj8000c_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevmjc.c:275:23: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  388|   device_(gs_mj6000c_device)
#  389|   device_(gs_mj700v2c_device)
#  390|-> device_(gs_mj8000c_device)
#  391|   device_(gs_ml600_device)
#  392|   device_(gs_necp6_device)

Error: COMPILER_WARNING (CWE-704): [#def969]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:391:1: warning[-Wlto-type-mismatch]: type of ‘gs_ml600_device’ does not match original declaration
#  391 | device_(gs_ml600_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevml6.c:44:19: note: ‘gs_ml600_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevml6.c:44:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  389|   device_(gs_mj700v2c_device)
#  390|   device_(gs_mj8000c_device)
#  391|-> device_(gs_ml600_device)
#  392|   device_(gs_necp6_device)
#  393|   device_(gs_npdl_device)

Error: COMPILER_WARNING (CWE-704): [#def970]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:392:1: warning[-Wlto-type-mismatch]: type of ‘gs_necp6_device’ does not match original declaration
#  392 | device_(gs_necp6_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdm24.c:27:34: note: ‘gs_necp6_device’ was previously declared here
#  390|   device_(gs_mj8000c_device)
#  391|   device_(gs_ml600_device)
#  392|-> device_(gs_necp6_device)
#  393|   device_(gs_npdl_device)
#  394|   #endif

Error: COMPILER_WARNING (CWE-704): [#def971]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:393:1: warning[-Wlto-type-mismatch]: type of ‘gs_npdl_device’ does not match original declaration
#  393 | device_(gs_npdl_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevnpdl.c:132:25: note: ‘gs_npdl_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevnpdl.c:132:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  391|   device_(gs_ml600_device)
#  392|   device_(gs_necp6_device)
#  393|-> device_(gs_npdl_device)
#  394|   #endif
#  395|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def972]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:396:1: warning[-Wlto-type-mismatch]: type of ‘gs_oce9050_device’ does not match original declaration
#  396 | device2_(gs_oce9050_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevdjet.c:234:23: note: ‘gs_oce9050_device’ was previously declared here
#  394|   #endif
#  395|   #ifdef device2_
#  396|-> device2_(gs_oce9050_device)
#  397|   #endif
#  398|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def973]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:399:1: warning[-Wlto-type-mismatch]: type of ‘gs_oki182_device’ does not match original declaration
#  399 | device_(gs_oki182_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevo182.c:67:34: note: ‘gs_oki182_device’ was previously declared here
#  397|   #endif
#  398|   #ifdef device_
#  399|-> device_(gs_oki182_device)
#  400|   device_(gs_oki4w_device)
#  401|   device_(gs_okiibm_device)

Error: COMPILER_WARNING (CWE-704): [#def974]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:400:1: warning[-Wlto-type-mismatch]: type of ‘gs_oki4w_device’ does not match original declaration
#  400 | device_(gs_oki4w_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevop4w.c:106:28: note: ‘gs_oki4w_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevop4w.c:106:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  398|   #ifdef device_
#  399|   device_(gs_oki182_device)
#  400|-> device_(gs_oki4w_device)
#  401|   device_(gs_okiibm_device)
#  402|   device_(gs_oprp_device)

Error: COMPILER_WARNING (CWE-704): [#def975]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:401:1: warning[-Wlto-type-mismatch]: type of ‘gs_okiibm_device’ does not match original declaration
#  401 | device_(gs_okiibm_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevokii.c:77:34: note: ‘gs_okiibm_device’ was previously declared here
#  399|   device_(gs_oki182_device)
#  400|   device_(gs_oki4w_device)
#  401|-> device_(gs_okiibm_device)
#  402|   device_(gs_oprp_device)
#  403|   device_(gs_opvp_device)

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

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

Error: COMPILER_WARNING (CWE-704): [#def978]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:404:1: warning[-Wlto-type-mismatch]: type of ‘gs_paintjet_device’ does not match original declaration
#  404 | device_(gs_paintjet_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpjet.c:55:34: note: ‘gs_paintjet_device’ was previously declared here
#  402|   device_(gs_oprp_device)
#  403|   device_(gs_opvp_device)
#  404|-> device_(gs_paintjet_device)
#  405|   device_(gs_pcl3_device)
#  406|   device_(gs_photoex_device)

Error: COMPILER_WARNING (CWE-704): [#def979]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:405:1: warning[-Wlto-type-mismatch]: type of ‘gs_pcl3_device’ does not match original declaration
#  405 | device_(gs_pcl3_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:162:1: note: ‘gs_pcl3_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/pcl3/src/gdevpcl3.c:162:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  403|   device_(gs_opvp_device)
#  404|   device_(gs_paintjet_device)
#  405|-> device_(gs_pcl3_device)
#  406|   device_(gs_photoex_device)
#  407|   device_(gs_picty180_device)

Error: COMPILER_WARNING (CWE-704): [#def980]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:406:1: warning[-Wlto-type-mismatch]: type of ‘gs_photoex_device’ does not match original declaration
#  406 | device_(gs_photoex_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevphex.c:1030:28: note: ‘gs_photoex_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevphex.c:1030:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  404|   device_(gs_paintjet_device)
#  405|   device_(gs_pcl3_device)
#  406|-> device_(gs_photoex_device)
#  407|   device_(gs_picty180_device)
#  408|   device_(gs_pj_device)

Error: COMPILER_WARNING (CWE-704): [#def981]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:407:1: warning[-Wlto-type-mismatch]: type of ‘gs_picty180_device’ does not match original declaration
#  407 | device_(gs_picty180_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:613:24: note: ‘gs_picty180_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:613:24: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  405|   device_(gs_pcl3_device)
#  406|   device_(gs_photoex_device)
#  407|-> device_(gs_picty180_device)
#  408|   device_(gs_pj_device)
#  409|   device_(gs_pjetxl_device)

Error: COMPILER_WARNING (CWE-704): [#def982]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:408:1: warning[-Wlto-type-mismatch]: type of ‘gs_pj_device’ does not match original declaration
#  408 | device_(gs_pj_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:637:23: note: ‘gs_pj_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:637:23: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  406|   device_(gs_photoex_device)
#  407|   device_(gs_picty180_device)
#  408|-> device_(gs_pj_device)
#  409|   device_(gs_pjetxl_device)
#  410|   device_(gs_pjxl_device)

Error: COMPILER_WARNING (CWE-704): [#def983]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:409:1: warning[-Wlto-type-mismatch]: type of ‘gs_pjetxl_device’ does not match original declaration
#  409 | device_(gs_pjetxl_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevpjet.c:63:34: note: ‘gs_pjetxl_device’ was previously declared here
#  407|   device_(gs_picty180_device)
#  408|   device_(gs_pj_device)
#  409|-> device_(gs_pjetxl_device)
#  410|   device_(gs_pjxl_device)
#  411|   device_(gs_pjxl300_device)

Error: COMPILER_WARNING (CWE-704): [#def984]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:410:1: warning[-Wlto-type-mismatch]: type of ‘gs_pjxl_device’ does not match original declaration
#  410 | device_(gs_pjxl_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:641:25: note: ‘gs_pjxl_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:641:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  408|   device_(gs_pj_device)
#  409|   device_(gs_pjetxl_device)
#  410|-> device_(gs_pjxl_device)
#  411|   device_(gs_pjxl300_device)
#  412|   device_(gs_pr1000_device)

Error: COMPILER_WARNING (CWE-704): [#def985]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:411:1: warning[-Wlto-type-mismatch]: type of ‘gs_pjxl300_device’ does not match original declaration
#  411 | device_(gs_pjxl300_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:645:25: note: ‘gs_pjxl300_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevcdj.c:645:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  409|   device_(gs_pjetxl_device)
#  410|   device_(gs_pjxl_device)
#  411|-> device_(gs_pjxl300_device)
#  412|   device_(gs_pr1000_device)
#  413|   device_(gs_pr1000_4_device)

Error: COMPILER_WARNING (CWE-704): [#def986]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:412:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr1000_device’ does not match original declaration
#  412 | device_(gs_pr1000_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevp201.c:52:19: note: ‘gs_pr1000_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevp201.c:52:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  410|   device_(gs_pjxl_device)
#  411|   device_(gs_pjxl300_device)
#  412|-> device_(gs_pr1000_device)
#  413|   device_(gs_pr1000_4_device)
#  414|   device_(gs_pr150_device)

Error: COMPILER_WARNING (CWE-704): [#def987]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:413:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr1000_4_device’ does not match original declaration
#  413 | device_(gs_pr1000_4_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevp201.c:70:19: note: ‘gs_pr1000_4_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevp201.c:70:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  411|   device_(gs_pjxl300_device)
#  412|   device_(gs_pr1000_device)
#  413|-> device_(gs_pr1000_4_device)
#  414|   device_(gs_pr150_device)
#  415|   device_(gs_pr201_device)

Error: COMPILER_WARNING (CWE-704): [#def988]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:414:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr150_device’ does not match original declaration
#  414 | device_(gs_pr150_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevp201.c:61:19: note: ‘gs_pr150_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevp201.c:61:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  412|   device_(gs_pr1000_device)
#  413|   device_(gs_pr1000_4_device)
#  414|-> device_(gs_pr150_device)
#  415|   device_(gs_pr201_device)
#  416|   #endif

Error: COMPILER_WARNING (CWE-704): [#def989]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:415:1: warning[-Wlto-type-mismatch]: type of ‘gs_pr201_device’ does not match original declaration
#  415 | device_(gs_pr201_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevp201.c:43:19: note: ‘gs_pr201_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevp201.c:43:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  413|   device_(gs_pr1000_4_device)
#  414|   device_(gs_pr150_device)
#  415|-> device_(gs_pr201_device)
#  416|   #endif
#  417|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def990]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:418:1: warning[-Wlto-type-mismatch]: type of ‘gs_pxlcolor_device’ does not match original declaration
#  418 | device2_(gs_pxlcolor_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/vector/gdevpx.c:200:23: note: ‘gs_pxlcolor_device’ was previously declared here
#  416|   #endif
#  417|   #ifdef device2_
#  418|-> device2_(gs_pxlcolor_device)
#  419|   device2_(gs_pxlmono_device)
#  420|   #endif

Error: COMPILER_WARNING (CWE-704): [#def991]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:419:1: warning[-Wlto-type-mismatch]: type of ‘gs_pxlmono_device’ does not match original declaration
#  419 | device2_(gs_pxlmono_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/vector/gdevpx.c:196:23: note: ‘gs_pxlmono_device’ was previously declared here
#  417|   #ifdef device2_
#  418|   device2_(gs_pxlcolor_device)
#  419|-> device2_(gs_pxlmono_device)
#  420|   #endif
#  421|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def992]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:422:1: warning[-Wlto-type-mismatch]: type of ‘gs_r4081_device’ does not match original declaration
#  422 | device_(gs_r4081_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdev4081.c:24:34: note: ‘gs_r4081_device’ was previously declared here
#  420|   #endif
#  421|   #ifdef device_
#  422|-> device_(gs_r4081_device)
#  423|   device_(gs_rinkj_device)
#  424|   device_(gs_rpdl_device)

Error: COMPILER_WARNING (CWE-704): [#def993]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:423:1: warning[-Wlto-type-mismatch]: type of ‘gs_rinkj_device’ does not match original declaration
#  423 | device_(gs_rinkj_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevrinkj.c:145:20: note: ‘gs_rinkj_device’ was previously declared here
#  421|   #ifdef device_
#  422|   device_(gs_r4081_device)
#  423|-> device_(gs_rinkj_device)
#  424|   device_(gs_rpdl_device)
#  425|   device_(gs_samsunggdi_device)

Error: COMPILER_WARNING (CWE-704): [#def994]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:424:1: warning[-Wlto-type-mismatch]: type of ‘gs_rpdl_device’ does not match original declaration
#  424 | device_(gs_rpdl_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevrpdl.c:48:25: note: ‘gs_rpdl_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/japanese/gdevrpdl.c:48:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  422|   device_(gs_r4081_device)
#  423|   device_(gs_rinkj_device)
#  424|-> device_(gs_rpdl_device)
#  425|   device_(gs_samsunggdi_device)
#  426|   device_(gs_sj48_device)

Error: COMPILER_WARNING (CWE-704): [#def995]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:425:1: warning[-Wlto-type-mismatch]: type of ‘gs_samsunggdi_device’ does not match original declaration
#  425 | device_(gs_samsunggdi_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevgdi.c:114:28: note: ‘gs_samsunggdi_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevgdi.c:114:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  423|   device_(gs_rinkj_device)
#  424|   device_(gs_rpdl_device)
#  425|-> device_(gs_samsunggdi_device)
#  426|   device_(gs_sj48_device)
#  427|   device_(gs_st800_device)

Error: COMPILER_WARNING (CWE-704): [#def996]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:426:1: warning[-Wlto-type-mismatch]: type of ‘gs_sj48_device’ does not match original declaration
#  426 | device_(gs_sj48_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevsj48.c:43:28: note: ‘gs_sj48_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevsj48.c:43:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  424|   device_(gs_rpdl_device)
#  425|   device_(gs_samsunggdi_device)
#  426|-> device_(gs_sj48_device)
#  427|   device_(gs_st800_device)
#  428|   device_(gs_stcolor_device)

Error: COMPILER_WARNING (CWE-704): [#def997]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:427:1: warning[-Wlto-type-mismatch]: type of ‘gs_st800_device’ does not match original declaration
#  427 | device_(gs_st800_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevescp.c:89:34: note: ‘gs_st800_device’ was previously declared here
#  425|   device_(gs_samsunggdi_device)
#  426|   device_(gs_sj48_device)
#  427|-> device_(gs_st800_device)
#  428|   device_(gs_stcolor_device)
#  429|   device_(gs_t4693d2_device)

Error: COMPILER_WARNING (CWE-704): [#def998]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:428:1: warning[-Wlto-type-mismatch]: type of ‘gs_stcolor_device’ does not match original declaration
#  428 | device_(gs_stcolor_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevstc.c:163:25: note: ‘gs_stcolor_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevstc.c:163:25: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  426|   device_(gs_sj48_device)
#  427|   device_(gs_st800_device)
#  428|-> device_(gs_stcolor_device)
#  429|   device_(gs_t4693d2_device)
#  430|   device_(gs_t4693d4_device)

Error: COMPILER_WARNING (CWE-704): [#def999]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:429:1: warning[-Wlto-type-mismatch]: type of ‘gs_t4693d2_device’ does not match original declaration
#  429 | device_(gs_t4693d2_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdev4693.c:44:25: note: ‘gs_t4693d2_device’ was previously declared here
#  427|   device_(gs_st800_device)
#  428|   device_(gs_stcolor_device)
#  429|-> device_(gs_t4693d2_device)
#  430|   device_(gs_t4693d4_device)
#  431|   device_(gs_t4693d8_device)

Error: COMPILER_WARNING (CWE-704): [#def1000]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:430:1: warning[-Wlto-type-mismatch]: type of ‘gs_t4693d4_device’ does not match original declaration
#  430 | device_(gs_t4693d4_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdev4693.c:45:25: note: ‘gs_t4693d4_device’ was previously declared here
#  428|   device_(gs_stcolor_device)
#  429|   device_(gs_t4693d2_device)
#  430|-> device_(gs_t4693d4_device)
#  431|   device_(gs_t4693d8_device)
#  432|   device_(gs_tek4696_device)

Error: COMPILER_WARNING (CWE-704): [#def1001]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:431:1: warning[-Wlto-type-mismatch]: type of ‘gs_t4693d8_device’ does not match original declaration
#  431 | device_(gs_t4693d8_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdev4693.c:46:25: note: ‘gs_t4693d8_device’ was previously declared here
#  429|   device_(gs_t4693d2_device)
#  430|   device_(gs_t4693d4_device)
#  431|-> device_(gs_t4693d8_device)
#  432|   device_(gs_tek4696_device)
#  433|   device_(gs_uniprint_device)

Error: COMPILER_WARNING (CWE-704): [#def1002]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:432:1: warning[-Wlto-type-mismatch]: type of ‘gs_tek4696_device’ does not match original declaration
#  432 | device_(gs_tek4696_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevtknk.c:52:34: note: ‘gs_tek4696_device’ was previously declared here
#  430|   device_(gs_t4693d4_device)
#  431|   device_(gs_t4693d8_device)
#  432|-> device_(gs_tek4696_device)
#  433|   device_(gs_uniprint_device)
#  434|   device_(gs_xes_device)

Error: COMPILER_WARNING (CWE-704): [#def1003]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:433:1: warning[-Wlto-type-mismatch]: type of ‘gs_uniprint_device’ does not match original declaration
#  433 | device_(gs_uniprint_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:248:21: note: ‘gs_uniprint_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevupd.c:248:21: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  431|   device_(gs_t4693d8_device)
#  432|   device_(gs_tek4696_device)
#  433|-> device_(gs_uniprint_device)
#  434|   device_(gs_xes_device)
#  435|   #endif

Error: COMPILER_WARNING (CWE-704): [#def1004]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:434:1: warning[-Wlto-type-mismatch]: type of ‘gs_xes_device’ does not match original declaration
#  434 | device_(gs_xes_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/contrib/gdevxes.c:69:19: note: ‘gs_xes_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/contrib/gdevxes.c:69:19: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  432|   device_(gs_tek4696_device)
#  433|   device_(gs_uniprint_device)
#  434|-> device_(gs_xes_device)
#  435|   #endif
#  436|   #ifdef device2_

Error: COMPILER_WARNING (CWE-704): [#def1005]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:437:1: warning[-Wlto-type-mismatch]: type of ‘gs_appleraster_device’ does not match original declaration
#  437 | device2_(gs_appleraster_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/cups/gdevcups.c:486:17: note: ‘gs_appleraster_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/cups/gdevcups.c:486:17: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  435|   #endif
#  436|   #ifdef device2_
#  437|-> device2_(gs_appleraster_device)
#  438|   device2_(gs_cups_device)
#  439|   device2_(gs_pwgraster_device)

Error: COMPILER_WARNING (CWE-704): [#def1006]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:438:1: warning[-Wlto-type-mismatch]: type of ‘gs_cups_device’ does not match original declaration
#  438 | device2_(gs_cups_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/cups/gdevcups.c:482:17: note: ‘gs_cups_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/cups/gdevcups.c:482:17: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  436|   #ifdef device2_
#  437|   device2_(gs_appleraster_device)
#  438|-> device2_(gs_cups_device)
#  439|   device2_(gs_pwgraster_device)
#  440|   device2_(gs_urf_device)

Error: COMPILER_WARNING (CWE-704): [#def1007]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:439:1: warning[-Wlto-type-mismatch]: type of ‘gs_pwgraster_device’ does not match original declaration
#  439 | device2_(gs_pwgraster_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/cups/gdevcups.c:483:17: note: ‘gs_pwgraster_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/cups/gdevcups.c:483:17: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  437|   device2_(gs_appleraster_device)
#  438|   device2_(gs_cups_device)
#  439|-> device2_(gs_pwgraster_device)
#  440|   device2_(gs_urf_device)
#  441|   #endif

Error: COMPILER_WARNING (CWE-704): [#def1008]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:440:1: warning[-Wlto-type-mismatch]: type of ‘gs_urf_device’ does not match original declaration
#  440 | device2_(gs_urf_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/cups/gdevcups.c:488:17: note: ‘gs_urf_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/cups/gdevcups.c:488:17: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  438|   device2_(gs_cups_device)
#  439|   device2_(gs_pwgraster_device)
#  440|-> device2_(gs_urf_device)
#  441|   #endif
#  442|   #ifdef device_

Error: COMPILER_WARNING (CWE-704): [#def1009]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:443:1: warning[-Wlto-type-mismatch]: type of ‘gs_ijs_device’ does not match original declaration
#  443 | device_(gs_ijs_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/devices/gdevijs.c:144:15: note: ‘gs_ijs_device’ was previously declared here
ghostscript-10.04.0-build/ghostscript-10.04.0/devices/gdevijs.c:144:15: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
#  441|   #endif
#  442|   #ifdef device_
#  443|-> device_(gs_ijs_device)
#  444|   #endif
#  445|   #ifdef device2_

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

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

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

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

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

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

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

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

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

Error: COMPILER_WARNING (CWE-704): [#def1019]
ghostscript-10.04.0-build/ghostscript-10.04.0/soobj/gconfig.h:455:1: warning[-Wlto-type-mismatch]: type of ‘gs_nullpage_device’ does not match original declaration
#  455 | device2_(gs_nullpage_device)
#      | ^
ghostscript-10.04.0-build/ghostscript-10.04.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.04.0-build/ghostscript-10.04.0/base/gdevnfwd.c:1007:22: note: ‘gs_nullpage_device’ was previously declared here
#  453|   device2_(gs_pngmono_device)
#  454|   device2_(gs_pngmonod_device)
#  455|-> device2_(gs_nullpage_device)
#  456|   #endif
#  457|   #ifdef io_device_

Error: CPPCHECK_WARNING (CWE-758): [#def1020]
ghostscript-10.04.0-build/ghostscript-10.04.0/urf/urffilter.c:13: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   11|   
#   12|           check_dict_read(*dop);
#   13|->         if ((code = dict_int_param(dop, "Width", 1, max_int, URF_default_width, width)) < 0)
#   14|               return code;
#   15|           if ((code = dict_int_param(dop, "BPP", 8, 32, URF_default_bpp, bpp)) < 0)

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-148.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameghostscript-10.04.0-1.fc42
store-results-to/tmp/tmpuxbxhhnk/ghostscript-10.04.0-1.fc42.tar.xz
time-created2024-11-13 00:03:29
time-finished2024-11-13 00:13:02
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpuxbxhhnk/ghostscript-10.04.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpuxbxhhnk/ghostscript-10.04.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9