Bug 690776

Summary: Differences in compile #defines
Product: GhostPCL Reporter: Marcos H. Woehrmann <marcos.woehrmann>
Component: PCL interpreterAssignee: Chris Liddell (chrisl) <chris.liddell>
Status: RESOLVED FIXED    
Severity: normal CC: christinedelight.top85
Priority: P4    
Version: master   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Bug Depends on: 690878    
Bug Blocks:    

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