[8] WXP fixes to avoid warning when compiling SA files (original) (raw)

Francis ANDRE francis.andre.kampbell at orange.fr
Sat Dec 21 17:09:57 UTC 2013


Staffan

By the way, I am working on the jdk7u... Could you also take in charge the backport to the jdk7u?

Francis

Le 09/12/2013 13:25, Staffan Larsen a écrit :

This change looks good to me.

I have created https://bugs.openjdk.java.net/browse/JDK-8029798 for this change, and I can sponsor it. There are currently no open repos for low-priority hotspot changes so I will have to wait before pushing the change. /Staffan

On 7 dec 2013, at 18:25, Francis ANDRE <francis.andre.kampbell at orange.fr> wrote: Hi

Compiling SA files leads to warning because of old or invalid options as below set INCLUDE=C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v7.0A\include;C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v7.0A\include C:\progra1\micros2.0\vc\bin\cl.exe @C:\cygwin\tmp\nmE2.tmp clÿ: Ligne de commande warning D9035ÿ: l'option 'GZ' est d‚conseill‚e et sera supprim‚e dans une version ult‚rieure clÿ: Ligne de commande warning D9036ÿ: utilisez 'RTC1' … la place de 'GZ' clÿ: Ligne de commande warning D9035ÿ: l'option 'o' est d‚conseill‚e et sera supprim‚e dans une version ult‚rieure clÿ: Ligne de commande warning D9002ÿ: option '-YX' inconnue ignor‚e clÿ: Ligne de commande warning D9030ÿ: '/Gm' incompatible avec le multitraitementÿ; commutateur /MP ignor‚ sadis.c

Here the diff 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 @@ SALDFLAGS = bufferoverflowU.lib !endif !else -SACFLAGS = -nologo (MSRUNTIMEOPTION)−W3−Gm(MSRUNTIMEOPTION) -W3 -Gm (MSRUNTIMEOPTION)W3Gm(GXOPTION) -Od -D "WIN32" -D "WINDOWS" -D "DEBUG" -D "CONSOLE" -D "MBCS" -YX -FD -GZ -c +SACFLAGS = -nologo (MSRUNTIMEOPTION)−W3(MSRUNTIMEOPTION) -W3 (MSRUNTIMEOPTION)W3(GXOPTION) -Od -D "WIN32" -D "WINDOWS" -D "DEBUG" -D "CONSOLE" -D "MBCS" -FD -RT C1 -c !if "$(ENABLEFULLDEBUGSYMBOLS)" == "1" SACFLAGS = $(SACFLAGS) -ZI !endif



More information about the build-dev mailing list