[gs-cvs] rev 8824 - trunk/gs/src

ken at ghostscript.com ken at ghostscript.com
Mon Jul 7 06:43:38 PDT 2008


Author: ken
Date: 2008-07-07 06:43:38 -0700 (Mon, 07 Jul 2008)
New Revision: 8824

Modified:
   trunk/gs/src/msvccmd.mak
Log:
Fix warnings from the JPX decoder when using Visual Studio 9.

Details:
A compiler warning was disabled if the MSVC_VERSION variable was exactly 8, changed to
>7 so that it is also disabled for later versions of the compiler

Expected Differences:
None.


Modified: trunk/gs/src/msvccmd.mak
===================================================================
--- trunk/gs/src/msvccmd.mak	2008-07-07 08:56:59 UTC (rev 8823)
+++ trunk/gs/src/msvccmd.mak	2008-07-07 13:43:38 UTC (rev 8824)
@@ -73,7 +73,7 @@
 # Define the compilation flags.
 
 # MSVC 8 (2005) warns about deprecated unsafe common functions like strcpy.
-!if ($(MSVC_VERSION) == 8) || defined(WIN64)
+!if ($(MSVC_VERSION) > 7) || defined(WIN64)
 VC8WARN=/wd4996 /wd4224
 !else
 VC8WARN=



More information about the gs-cvs mailing list