[gs-cvs] rev 8195 - trunk/gs/src
ray at ghostscript.com
ray at ghostscript.com
Fri Aug 17 11:50:33 PDT 2007
Author: ray
Date: 2007-08-17 11:50:33 -0700 (Fri, 17 Aug 2007)
New Revision: 8195
Modified:
trunk/gs/src/stdint_.h
trunk/gs/src/unix-gcc.mak
Log:
Fix stdint.h related problems with the Cygwin build (gcc 3.4.4)
DETAILS:
There was a workaround for an obsolete version of Cygwin tools that had
u_int32_t (and other types) instead of uint32_t that is standard on linux
and Cygwin stdint.h now. These changes were needed for the PCL, XPS and
language_switch builds -- the gs build worked thanks to autoconf.
Modified: trunk/gs/src/stdint_.h
===================================================================
--- trunk/gs/src/stdint_.h 2007-08-17 13:58:12 UTC (rev 8194)
+++ trunk/gs/src/stdint_.h 2007-08-17 18:50:33 UTC (rev 8195)
@@ -60,14 +60,6 @@
# elif defined(__VMS) /* OpenVMS provides these types in inttypes.h */
# include <inttypes.h>
# define STDINT_TYPES_DEFINED
-# elif defined(__CYGWIN__)
- /* Cygwin defines the signed versions in sys/types.h */
- /* but uses a u_ prefix for the unsigned versions */
- typedef u_int8_t uint8_t;
- typedef u_int16_t uint16_t;
- typedef u_int32_t uint32_t;
- typedef u_int64_t uint64_t;
-# define STDINT_TYPES_DEFINED
# endif
/* other archs may want to add defines here,
or use the fallbacks in std.h */
Modified: trunk/gs/src/unix-gcc.mak
===================================================================
--- trunk/gs/src/unix-gcc.mak 2007-08-17 13:58:12 UTC (rev 8194)
+++ trunk/gs/src/unix-gcc.mak 2007-08-17 18:50:33 UTC (rev 8195)
@@ -439,7 +439,7 @@
CCFLAGS=$(GENOPT) $(CAPOPT) $(CFLAGS) -DGX_COLOR_INDEX_TYPE='unsigned long long'
CC_=$(CC) `cat $(AK)` $(CCFLAGS)
-CCAUX=$(CC) `cat $(AK)`
+CCAUX=$(CC) `cat $(AK)` $(CFLAGS)
# These are the specific warnings we have to turn off to compile those
# specific few files that need this. We may turn off others in the future.
CC_NO_WARN=$(CC_) -Wno-cast-qual -Wno-traditional
More information about the gs-cvs
mailing list