< prev index next >
make/autoconf/flags.m4
Print this page
rev 47445 : 8171853: Remove Shark compiler
*** 1095,1105 ****
# These flags either do not work or give spurious warnings prior to gcc 4.8.
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -Wno-format-zero-length -Wtype-limits -Wuninitialized"
]
)
fi
! if ! HOTSPOT_CHECK_JVM_VARIANT(zero) && ! HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then
# Non-zero builds have stricter warnings
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -Wreturn-type -Wundef -Wformat=2"
else
if test "x$TOOLCHAIN_TYPE" = xclang; then
# Some versions of llvm do not like -Wundef
--- 1095,1105 ----
# These flags either do not work or give spurious warnings prior to gcc 4.8.
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -Wno-format-zero-length -Wtype-limits -Wuninitialized"
]
)
fi
! if ! HOTSPOT_CHECK_JVM_VARIANT(zero); then
# Non-zero builds have stricter warnings
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -Wreturn-type -Wundef -Wformat=2"
else
if test "x$TOOLCHAIN_TYPE" = xclang; then
# Some versions of llvm do not like -Wundef
< prev index next >