--- old/make/solaris/makefiles/adlc.make Wed Aug 26 13:39:29 2015 +++ new/make/solaris/makefiles/adlc.make Wed Aug 26 13:39:29 2015 @@ -76,6 +76,11 @@ ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) CFLAGS_WARN = +w -errwarn endif +# When using 5.13, calls to explicitly instantiated template functions +# trigger this warning when +w is active +ifeq ($(COMPILER_REV_NUMERIC), 513) + CFLAGS_WARN += -erroff=notemsource +endif CFLAGS += $(CFLAGS_WARN) ifeq ("${Platform_compiler}", "sparcWorks")