mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-01 22:18:23 +00:00
8134157: adlc fails to compile with SS12u4
Reviewed-by: dholmes, kbarrett, ihse
This commit is contained in:
parent
ec7659c972
commit
26b79e6c5c
@ -76,6 +76,11 @@ endif
|
||||
ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
|
||||
CFLAGS_WARN = +w -errwarn
|
||||
endif
|
||||
# When using compiler version 5.13 (Solaris Studio 12.4), calls to explicitly
|
||||
# instantiated template functions trigger this warning when +w is active.
|
||||
ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 513), 1)
|
||||
CFLAGS_WARN += -erroff=notemsource
|
||||
endif
|
||||
CFLAGS += $(CFLAGS_WARN)
|
||||
|
||||
ifeq ("${Platform_compiler}", "sparcWorks")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user