Bug 690776 - Differences in compile #defines
Summary: Differences in compile #defines
Status: RESOLVED FIXED
Alias: None
Product: GhostPCL
Classification: Unclassified
Component: PCL interpreter (show other bugs)
Version: master
Hardware: PC Linux
: P4 normal
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
Depends on: 690878
Blocks:
  Show dependency tree
 
Reported: 2009-09-22 10:53 UTC by Marcos H. Woehrmann
Modified: 2013-11-08 01:32 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2009-09-22 10:53:07 UTC
When compiling Ghostscript the compiler variable HAVE_MKSTEMP64 is #defined by
the Makefile but this is not the case when building GhostPCL; this causes the
file gs/base/gp_unifs.c to be compiled differently.

In general this is probably not an issue, but it makes combining the coverage
results for Ghostscript and GhostPCL slightly non-trivial.
Comment 1 Henry Stiles 2009-09-24 21:06:42 UTC
Well we've discussed doing autoconf for the other languages and always decide
it's not worth the trouble.  We can enable the define by default or you can use
XCFLAGS=-DHAVE_MKSTEMP64 on the make command line?  Ralph will you decide about
this?
Comment 2 Hin-Tak Leung 2010-05-02 03:13:00 UTC
Grabbing a Ralph's bugs.
Comment 3 Hin-Tak Leung 2010-07-02 00:05:30 UTC
The autoconf patch in 690878 also auto-detect and set -DHAVE_MKSTEMP64 .
Comment 4 Henry Stiles 2011-11-10 17:17:21 UTC
Maybe a dup of 690878.
Comment 5 Chris Liddell (chrisl) 2013-11-08 01:32:01 UTC
GhostPDL uses the same checks and setting as Ghostscript:

http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=31120fdc