make/solaris/makefiles/adlc.make

changeset 9312
9d85c3e90648
parent 6198
55fb97c4c58d
child 9448
73d689add964
equal deleted inserted replaced
9311:cb0b95b67cb2 9312:9d85c3e90648
73 73
74 # CFLAGS_WARN holds compiler options to suppress/enable warnings. 74 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
75 # Compiler warnings are treated as errors 75 # Compiler warnings are treated as errors
76 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 76 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
77 CFLAGS_WARN = +w -errwarn 77 CFLAGS_WARN = +w -errwarn
78 endif
79 # When using compiler version 5.13 (Solaris Studio 12.4), calls to explicitly
80 # instantiated template functions trigger this warning when +w is active.
81 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 513), 1)
82 CFLAGS_WARN += -erroff=notemsource
78 endif 83 endif
79 CFLAGS += $(CFLAGS_WARN) 84 CFLAGS += $(CFLAGS_WARN)
80 85
81 ifeq ("${Platform_compiler}", "sparcWorks") 86 ifeq ("${Platform_compiler}", "sparcWorks")
82 # Enable the following CFLAGS addition if you need to compare the 87 # Enable the following CFLAGS addition if you need to compare the

mercurial