< prev index next >

make/solaris/makefiles/adlc.make

Print this page

        

*** 74,83 **** --- 74,88 ---- # CFLAGS_WARN holds compiler options to suppress/enable warnings. # Compiler warnings are treated as errors 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") # Enable the following CFLAGS addition if you need to compare the # built ELF objects.
< prev index next >