[gs-cvs] rev 9083 - trunk/ghostpdl/main

henrys at ghostscript.com henrys at ghostscript.com
Thu Sep 11 13:14:31 PDT 2008


Author: henrys
Date: 2008-09-11 13:14:31 -0700 (Thu, 11 Sep 2008)
New Revision: 9083

Modified:
   trunk/ghostpdl/main/pcl6_gcc.mak
Log:
remove extraneous -Wwrite-strings and default to unsigned long for
GX_COLOR_INDEX_DEFINE.  Last checkin mistakenly left
GX_COLOR_INDEX_DEFINE entirely undefined.


Modified: trunk/ghostpdl/main/pcl6_gcc.mak
===================================================================
--- trunk/ghostpdl/main/pcl6_gcc.mak	2008-09-11 19:56:53 UTC (rev 9082)
+++ trunk/ghostpdl/main/pcl6_gcc.mak	2008-09-11 20:14:31 UTC (rev 9083)
@@ -171,21 +171,20 @@
 endif # PL_SCALER = afs
 
 # a 64 bit type is needed for devicen color space/model support but
-# carries a performance burden.  Use this definition (uncomment) for
-# devicen support.
+# carries a performance burden.  Change unsigned long to unsigned long
+# long to enable large color indices.
+GX_COLOR_INDEX_DEFINE?=-DGX_COLOR_INDEX_TYPE="unsigned long"
 
-GX_COLOR_INDEX_DEFINE?=-DGX_COLOR_INDEX_TYPE="unsigned long long"
-
 HAVE_STDINT_H_DEFINE?=-DHAVE_STDINT_H
 HAVE_MKSTEMP_DEFINE?=-DHAVE_MKSTEMP
 HAVE_HYPOT_DEFINE?=-DHAVE_HYPOT
 
 GCFLAGS?=-Wall -Wundef -Wstrict-prototypes -Wmissing-declarations \
-         -Wmissing-prototypes -Wpointer-arith -Wwrite-strings \
+         -Wmissing-prototypes -Wpointer-arith \
          -Wwrite-strings -Wno-strict-aliasing \
          -fno-builtin -fno-common \
           $(HAVE_STDINT_H_DEFINE) $(HAVE_MKSTEMP_DEFINE) $(HAVE_HYPOT_DEFINE) \
-          $(PSICFLAGS) $(PDL_INCLUDE_FLAGS)
+          $(GX_COLOR_INDEX_DEFINE) $(PSICFLAGS) $(PDL_INCLUDE_FLAGS)
 
 CFLAGS?= $(GCFLAGS) $(XCFLAGS)
 



More information about the gs-cvs mailing list