Hi

Following is a patch to avoid warning messages produced by the VS2010 compiler when compiling SA as

cl: Ligne de commande warning D9035: l'option 'GZ' est deconseille et sera supprime dans une version ulterieure
cl: Ligne de commande warning D9036: utilisez 'RTC1' … la place de 'GZ'
cl: Ligne de commande warning D9035: l'option 'o' est deconseille et sera supprime dans une version ultrieure
cl: Ligne de commande warning D9002: option '-YX' inconnue ignoree


here the patch
-----------------------------------------------------------------------------------
diff --git a/make/windows/makefiles/sa.make b/make/windows/makefiles/sa.make
--- a/make/windows/makefiles/sa.make
+++ b/make/windows/makefiles/sa.make
@@ -94,7 +94,7 @@
SA_LD_FLAGS = bufferoverflowU.lib
!endif
!else
-SA_CFLAGS = -nologo $(MS_RUNTIME_OPTION) -W3 -Gm $(GX_OPTION) -Od -D "WIN32" -D "_WINDOWS" -D "_DEB
UG" -D "_CONSOLE" -D "_MBCS" -YX -FD -GZ -c
+SA_CFLAGS = -nologo $(MS_RUNTIME_OPTION) -W3 -Gm $(GX_OPTION) -Od -D "WIN32" -D "_WINDOWS" -D "_DEB
UG" -D "_CONSOLE" -D "_MBCS" -FD -RTC1 -c
!if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1"
SA_CFLAGS = $(SA_CFLAGS) -ZI
!endif


Francis

Reply via email to