all devices regression report - 2017-12-17-08:02:11 - 8af42f2da3425a634ec78d8a0add1658778e2226
[email protected] Sun, 17 Dec 2017 08:02:11 -0800 (PST)
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20171217160211.DC3122040253@i7> |
Differences in all devices errors using gs/examples files Previous Revision: b35aa4c4e4a8e77395b45051ca2621e6823c5623 Current Revision: 8af42f2da3425a634ec78d8a0add1658778e2226 commit 8af42f2da3425a634ec78d8a0add1658778e2226 Author: Ken Sharp <[email protected]> AuthorDate: Sat Dec 16 11:01:40 2017 +0000 CommitDate: Sun Dec 17 12:26:09 2017 +0000 Define gs_restrict as a synonym for the compiler 'restrict' definition Using the 'restrict' tag tells the compiler that it can safely assume no aliasing of pointers is involved, allowing for even higher levels of optimisation. However since this is a non-standard extension (though widely supported) the exact definition varies. We know of 'restrict', '__restrict', '__restrict__' and 'cdecl(restrict)' The Visual Studio cdecl causes problems with us simply using 'restrict' and #defining it in stdpre.h because stdlib.h includes the cdecl. If we include stdpre.h before stdlib.h then the compiler tries to expand 'cdecl(resgister)' to 'cdecl(__register)' and that fails. The only way to accommodate all the various options is to use something other than the 'restrict' keyword, and to #define that as required for the different compilers. This commit introduces the 'gs_restrict' keyword and that is #defined in stdpre.h to be appropriate for whatever compiler is in use (the default is to define it to nothing). This means that wherever we want to use the restrict capability, we must include stdpre.h. base/claptrap-planar.c base/claptrap.c base/claptrap.h base/ets.c base/ets.h base/gxblend.c base/gxblend1.c base/gxscanc.c base/gxscanc.h base/siscale.c base/stdpre.h new errors: errors that went away: errors that are not whitelisted: === ghostpdl/examples/alphabet.ps === pclm === === ghostpdl/examples/alphabet.ps === pdfimage24 === === ghostpdl/examples/alphabet.ps === pdfimage32 === === ghostpdl/examples/alphabet.ps === pdfimage8 === === ghostpdl/examples/annots.pdf === pclm === === ghostpdl/examples/annots.pdf === pdfimage24 === === ghostpdl/examples/annots.pdf === pdfimage32 === === ghostpdl/examples/annots.pdf === pdfimage8 === === ghostpdl/examples/colorcir.ps === pclm === === ghostpdl/examples/colorcir.ps === pdfimage24 === === ghostpdl/examples/colorcir.ps === pdfimage32 === === ghostpdl/examples/colorcir.ps === pdfimage8 === === ghostpdl/examples/doretree.ps === pclm === === ghostpdl/examples/doretree.ps === pdfimage24 === === ghostpdl/examples/doretree.ps === pdfimage32 === === ghostpdl/examples/doretree.ps === pdfimage8 === === ghostpdl/examples/escher.ps === pclm === === ghostpdl/examples/escher.ps === pdfimage24 === === ghostpdl/examples/escher.ps === pdfimage32 === === ghostpdl/examples/escher.ps === pdfimage8 === === ghostpdl/examples/golfer.eps === pclm === === ghostpdl/examples/golfer.eps === pdfimage24 === === ghostpdl/examples/golfer.eps === pdfimage32 === === ghostpdl/examples/golfer.eps === pdfimage8 === === ghostpdl/examples/grayalph.ps === pclm === === ghostpdl/examples/grayalph.ps === pdfimage24 === === ghostpdl/examples/grayalph.ps === pdfimage32 === === ghostpdl/examples/grayalph.ps === pdfimage8 === === ghostpdl/examples/ridt91.eps === pclm === === ghostpdl/examples/ridt91.eps === pdfimage24 === === ghostpdl/examples/ridt91.eps === pdfimage32 === === ghostpdl/examples/ridt91.eps === pdfimage8 === === ghostpdl/examples/snowflak.ps === pclm === === ghostpdl/examples/snowflak.ps === pdfimage24 === === ghostpdl/examples/snowflak.ps === pdfimage32 === === ghostpdl/examples/snowflak.ps === pdfimage8 === === ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === pclm === === ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === pdfimage24 === === ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === pdfimage32 === === ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === pdfimage8 === === ghostpdl/examples/text_graphic_image.pdf === pclm === === ghostpdl/examples/text_graphic_image.pdf === pdfimage24 === === ghostpdl/examples/text_graphic_image.pdf === pdfimage32 === === ghostpdl/examples/text_graphic_image.pdf === pdfimage8 === === ghostpdl/examples/tiger.eps === pclm === === ghostpdl/examples/tiger.eps === pdfimage24 === === ghostpdl/examples/tiger.eps === pdfimage32 === === ghostpdl/examples/tiger.eps === pdfimage8 === === ghostpdl/examples/transparency_example.ps === cp50 === === ghostpdl/examples/transparency_example.ps === pclm === === ghostpdl/examples/transparency_example.ps === pdfimage24 === === ghostpdl/examples/transparency_example.ps === pdfimage32 === === ghostpdl/examples/transparency_example.ps === pdfimage8 === === ghostpdl/examples/transparency_example.ps === psdrgb === === ghostpdl/examples/vasarely.ps === pclm === === ghostpdl/examples/vasarely.ps === pdfimage24 === === ghostpdl/examples/vasarely.ps === pdfimage32 === === ghostpdl/examples/vasarely.ps === pdfimage8 === === ghostpdl/examples/waterfal.ps === pclm === === ghostpdl/examples/waterfal.ps === pdfimage24 === === ghostpdl/examples/waterfal.ps === pdfimage32 === === ghostpdl/examples/waterfal.ps === pdfimage8 ===