Summary: | e_Fatal e_ExecStackUnderflow e_NeedInput (and others) missing since Ghostscript 9.18 | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | jsmeix |
Component: | Build Process | Assignee: | Chris Liddell (chrisl) <chris.liddell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 9.18 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
jsmeix
2015-11-02 03:44:17 UTC
The PS interpreter errors were amalgamated with the errors in the graphics library (gserrors.h). We felt that two separate lists of error code that had to stay synchronized was a disaster waiting to happen. e_ExecStackUnderflow == gs_error_ExecStackUnderflow e_Fatal == gs_error_Fatal e_NeedInput == gs_error_NeedInput Note that gserrors.h was erroneously left out of the installed files, so you'll want to pick up this commit to ensure it's available: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=feafe5e5 You could, as an interim measure, add: #define e_ExecStackUnderflow gs_error_ExecStackUnderflow #define e_Fatal gs_error_Fatal #define e_NeedInput gs_error_NeedInput But I would strongly urge that be no more than an interim measure, since we'll be moving forward using the "gs_error_*" style error codes. I'll fix the remaining references to the "e_" style codes shortly. Chris, many thanks for your prompt reply! I know about http://bugs.ghostscript.com/show_bug.cgi?id=696301 and I have your fix for it in the openSUSE Ghaostscript 9.18 (see my initial comment#0). (In reply to jsmeix from comment #2) > Chris, > many thanks for your prompt reply! > > I know about http://bugs.ghostscript.com/show_bug.cgi?id=696301 > and I have your fix for it in the openSUSE Ghaostscript 9.18 > (see my initial comment#0). No problem, sorry for the confusion. I actually (when I made those changes to the errors) thought that ierrors.h had been deprecated for some time, but I can't now find a reference for that - had I not thought that, I'd have been more conservative and given more notice of the change. Anyway, I believe the remaining references to the "e_*" style errors are removed with this commit: http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=6b1b1d72e |