New Ghostscript/GhostPDL compiler warnings - 2018-12-14-11:45:26 - 085c795835284d2f0d91ebc87faf5b2da1376bca
[email protected] Fri, 14 Dec 2018 13:16:51 -0800 (PST)
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20181214211651.9DF902040380@i7> |
Previous Revision: 9d23c4d9a6c02416341992d8b29226273df07af8 Current Revision: 085c795835284d2f0d91ebc87faf5b2da1376bca commit 085c795835284d2f0d91ebc87faf5b2da1376bca Author: Robin Watts <[email protected]> AuthorDate: Wed Dec 12 12:48:39 2018 +0000 CommitDate: Fri Dec 14 19:34:59 2018 +0000 Fix header inclusions. Run a release build on a linux machine to make arch.h etc. Then run toolbin/headercompile.pl to test compiling each headerfile by itself. Resolve all the missing #includes, add missing repeated include guards and copyright statements. Also, update all the header dependencies in the makefiles. It is possible that the object dependencies in the makefiles can be simplified now, but that's a task for another day. base/ets.h base/ets_tm.h base/gdbflags.h base/gdebug.h base/gdevbbox.h base/gdevdcrd.h base/gdevddrw.h base/gdevdevn.h base/gdevdevnprn.h base/gdevmem.h base/gdevmpla.h base/gdevmplt.h base/gdevmrop.h base/gdevp14.h base/gdevpccm.h base/gdevplnx.h base/gdevppla.h base/gdevprn.c base/gen_ordered.h base/gp_mswin.h base/gp_os2.h base/gpcheck.h base/gpmisc.h base/gs.mak base/gsalloc.h base/gsalpha.h base/gsalphac.c base/gsalphac.h base/gsargs.h base/gsbitops.h base/gsbittab.h base/gsccode.h base/gscedata.h base/gschar.h base/gscie.h base/gsclipsr.h base/gscms.h base/gscolor.h base/gscolor1.h base/gscolor3.h base/gscompt.h base/gscoord.h base/gscpixel.h base/gscrypt1.h base/gscspace.h base/gsdevice.h base/gsdfilt.h base/gsdll.h base/gsdllwin.h base/gsdps.h base/gsequivc.h base/gsexit.h base/gsflip.h base/gsfname.h base/gsfont.h base/gsform1.h base/gsfunc.h base/gsgc.h base/gsgcache.h base/gsgstate.h base/gshsb.h base/gsht.h base/gshtx.h base/gsicc_cache.h base/gsicc_profilecache.h base/gsimage.h base/gsiparm2.h base/gslib.h base/gsline.h base/gsmatrix.h base/gsmchunk.h base/gsmemory.h base/gsnamecl.h base/gsovrc.h base/gspaint.h base/gsparamx.h base/gspath.h base/gspath2.h base/gspcolor.h base/gsrect.h base/gsrefct.h base/gsrop.h base/gsroprun1.h base/gsroprun24.h base/gsroprun8.h base/gsropt.h base/gsserial.h base/gsstate.h base/gsstrl.h base/gstext.h base/gstiffio.h base/gstype1.h base/gstypes.h base/gsuid.h base/gsutil.h base/gsxfont.h base/gx.h base/gxband.h base/gxbitfmt.h base/gxcdevn.h base/gxchrout.h base/gxcindex.h base/gxclip.h base/gxclpath.h base/gxclthrd.h base/gxcmap.h base/gxcomp.h base/gxcoord.h base/gxcpath.h base/gxctable.h base/gxdcconv.h base/gxdcolor.h base/gxdda.h base/gxdevbuf.h base/gxdevcli.h base/gxdevmem.h base/gxdevndi.h base/gxdevrop.h base/gxdevsop.h base/gxdht.h base/gxdhtserial.h base/gxdither.h base/gxdtfill.h base/gxfapi.h base/gxfarith.h base/gxfcache.h base/gxfill.h base/gxfillsl.h base/gxfilltr.h base/gxfillts.h base/gxfixed.h base/gxfont0.h base/gxfont1.h base/gxfont42.h base/gxgetbit.h base/gxgstate.h base/gxhintn.h base/gxhldevc.h base/gxht_thresh.h base/gxhttile.h base/gxiclass.h base/gxiscale.c base/gxmatrix.h base/gxmclip.h base/gxobj.h base/gxoprect.h base/gxp1impl.h base/gxpaint.h base/gxpath.h base/gxpcache.h base/gxsample.h base/gxsamplp.h base/gxshade4.h base/gxstate.h base/gxttf.h base/gxttfb.h base/gxtype1.h base/gxxfont.h base/gzht.h base/gzline.h base/jmemcust.c base/jmemcust.h base/lib.mak base/pcwin.mak base/sa85d.h base/sbcp.h base/sbtx.h base/scanchar.h base/sdcparam.h base/sdct.h base/sfilter.h base/simscale.h base/sisparam.h base/sjpeg.h base/sjpegc.c base/slzwx.h base/smd5.h base/smtf.h base/spdiffx.h base/spngpx.h base/spprint.h base/spwgx.h base/srdline.h base/srlx.h base/ssha2.h base/sstring.h base/strmio.h base/szlibx.h base/tiff.mak base/ttfinp.h base/ttfsfnt.h base/ttload.h base/ttobjs.h base/tttype.h devices/devs.mak devices/gdevxalt.c pcl/pcl/pcstate.h pcl/pcl/pgstate.h pcl/pl/plchar.c pcl/pl/pldraw.h pcl/pl/plht.c pcl/pl/plmain.h pcl/pxl/pxgstate.h psi/bfont.h psi/btoken.h psi/dscparse.h psi/dwdll.h psi/dwimg.h psi/files.h psi/ibnum.h psi/ichar.h psi/ichar1.h psi/icharout.h psi/icid.h psi/icie.h psi/icolor.h psi/iconf.h psi/icremap.h psi/icsmap.h psi/icstate.h psi/iddstack.h psi/idebug.h psi/idicttpl.h psi/idisp.h psi/idosave.h psi/idparam.h psi/ifcid.h psi/ifilter2.h psi/ifont.h psi/ifont1.h psi/ifont2.h psi/ifont42.h psi/ifrpred.h psi/ifunc.h psi/ifwpred.h psi/igc.h psi/igcstr.h psi/iht.h psi/iimage.h psi/iimage2.h psi/iinit.h psi/ilevel.h psi/imain.h psi/imainarg.h psi/imemory.h psi/iminst.h psi/inames.h psi/inamestr.h psi/int.mak psi/interp.h psi/iparam.h psi/iparray.h psi/ipcolor.h psi/isave.h psi/iscan.h psi/iscanbin.h psi/iscannum.h psi/isdata.h psi/isstate.h psi/istkparm.h psi/istream.h psi/istruct.h psi/itoken.h psi/iutil.h psi/iutil2.h psi/ivmem2.h psi/ivmspace.h psi/oparc.h psi/opcheck.h psi/opdef.h psi/opextern.h psi/winint.mak psi/zchar42.h psi/zcie.h psi/zcolor.h psi/zfile.h psi/zfrsd.h psi/zfunc.h psi/zicc.h toolbin/headercompile.pl windows/ghostscript.vcproj Ghostscript: new cppcheck warnings (Cppcheck 1.72): base/gxdtfill.h:138: error: Shifting a negative value is undefined behaviour base/gxdtfill.h:139: error: Shifting a negative value is undefined behaviour base/gxdtfill.h:260: error: Shifting a negative value is undefined behaviour base/gxdtfill.h:269: error: Shifting a negative value is undefined behaviour base/gxfilltr.h:146: error: Shifting a negative value is undefined behaviour base/gxfilltr.h:151: error: Shifting a negative value is undefined behaviour http://miles.ghostscript.com:8080/artifex/085c795835284d2f0d91ebc87faf5b2da1376bca/gs-cppcheck.txt