Ali,

Seems like this bug https://bugs.openjdk.java.net/browse/JDK-8090061
Although it was pushed to the 9-dev in January.

Vadim

On 13.04.2016 10:50, Ali Ebrahimi wrote:
Hi Kevin,
I'm building with "Microsoft Visual Studio Ultimate 2013 Update 5" on
win8.1 64bit and FX repo http://hg.openjdk.java.net/openjfx/9-dev/rt.

On Wed, Apr 13, 2016 at 2:54 AM, Kevin Rushforth <kevin.rushfo...@oracle.com
wrote:
Hi Ali,

The production build of FX is done using VS2013 and we haven't seen this
error. Where are you getting FX from? Are you using VS2013 Express or Pro?
If Express, be aware that we do not support 64-bit builds (although this is
not likely your problem).

-- Kevin



Ali Ebrahimi wrote:

Hi,
When building with VS2013 I get following error:


..\..\..\..\src\main\native\Source\WebCore\platform\java\api\BackForwardListJava.cpp(46)
: error C2664: 'jmethodID initMethod(JNIEnv *,jclass,char *,const char
*)' : cannot convert argument 3 from 'const char [7]' to 'char *'
         Conversion from string literal loses const qualifier (see
/Zc:strictStrings)

..\..\..\..\src\main\native\Source\WebCore\platform\java\api\BackForwardListJava
.cpp(87) : error C2664: 'jmethodID initMethod(JNIEnv *,jclass,char *,const
char*)' : cannot convert argument 3 from 'const char [18]' to 'char *'
         Conversion from string literal loses const qualifier (see
/Zc:strictStrings)

..\..\..\..\src\main\native\Source\WebCore\platform\java\api\BackForwardListJava.cpp(98)
: error C2664: 'jmethodID initMethod(JNIEnv *,jclass,char *,const char
*)' : cannot convert argument 3 from 'const char [20]' to 'char *'
         Conversion from string literal loses const qualifier (see
/Zc:strictStrings)

..\..\..\..\src\main\native\Source\WebCore\platform\java\api\BackForwardListJava
.cpp(311) : error C2664: 'jmethodID initMethod(JNIEnv *,jclass,char
*,const
char *)' : cannot convert argument 3 from 'const char [14]' to 'char *'
         Conversion from string literal loses const qualifier (see
/Zc:strictStrings)
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio
12.0
\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '(' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
:web:compileNativeWin FAILED




Reply via email to