8134157: adlc fails to compile with SS12u4

Fri, 28 Aug 2015 09:57:54 +0200

author
erikj
date
Fri, 28 Aug 2015 09:57:54 +0200
changeset 9312
9d85c3e90648
parent 9311
cb0b95b67cb2
child 9313
fd0ca2c1433b

8134157: adlc fails to compile with SS12u4
Reviewed-by: dholmes, kbarrett, ihse

make/solaris/makefiles/adlc.make file | annotate | diff | comparison | revisions
     1.1 --- a/make/solaris/makefiles/adlc.make	Mon Apr 23 02:05:50 2018 -0700
     1.2 +++ b/make/solaris/makefiles/adlc.make	Fri Aug 28 09:57:54 2015 +0200
     1.3 @@ -76,6 +76,11 @@
     1.4  ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
     1.5    CFLAGS_WARN = +w -errwarn
     1.6  endif
     1.7 +# When using compiler version 5.13 (Solaris Studio 12.4), calls to explicitly 
     1.8 +# instantiated template functions trigger this warning when +w is active.
     1.9 +ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 513), 1)
    1.10 +  CFLAGS_WARN += -erroff=notemsource
    1.11 +endif
    1.12  CFLAGS += $(CFLAGS_WARN)
    1.13  
    1.14  ifeq ("${Platform_compiler}", "sparcWorks")

mercurial