[foreign] test target fails on windows
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Wed Jan 16 12:14:54 UTC 2019
Hi,
I've tried to run tests on Windows the 'usual' way, but I get the
following failures - is this something known?
c:\cygwin64\home\mcimadam\panama\closed\open\test\jdk\com\sun\tools\jextract\testenum\enums.h(46):
error C2220: warning treated as error - no 'object' file generated
c:\cygwin64\home\mcimadam\panama\closed\open\test\jdk\com\sun\tools\jextract\testenum\enums.h(46):
warning C4309: 'initializing': truncation of constant value
c:\cygwin64\home\mcimadam\panama\closed\open\test\jdk\com\sun\tools\jextract\testenum\enums.h(48):
warning C4309: 'initializing': truncation of constant value
JtregNativeJdk.gmk:106: recipe for target
'/cygdrive/c/cygwin64/home/mcimadam/panama/closed/build/windows-x64/support/test/jdk/jtreg/native/support/libEnums/libEnums.obj'
failed
make[3]: ***
[/cygdrive/c/cygwin64/home/mcimadam/panama/closed/build/windows-x64/support/test/jdk/jtreg/native/support/libEnums/libEnums.obj]
Error 1
make[3]: *** Waiting for unfinished jobs....
c:/cygwin64/home/mcimadam/panama/closed/open/test/jdk/com/sun/tools/jextract/testStruct/libStruct.c(106):
error C2220: warning treated as error - no 'object' file generated
c:/cygwin64/home/mcimadam/panama/closed/open/test/jdk/com/sun/tools/jextract/testStruct/libStruct.c(106):
warning C4477: 'printf' : format string '%lu' requires an argument of
type 'unsigned long', but variadic argument 1 has type '::size_t'
c:/cygwin64/home/mcimadam/panama/closed/open/test/jdk/com/sun/tools/jextract/testStruct/libStruct.c(106):
note: consider using '%zu' in the format string
(**) - the way I run test is this:
make run-test-jdk_foreign
More information about the panama-dev
mailing list