Mercurial > hg > truffle
comparison make/solaris/makefiles/gcc.make @ 14726:92aa6797d639
Backed out merge changeset: b51e29501f30
Backed out merge revision to its first parent (8f483e200405)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 24 Mar 2014 21:30:43 +0100 |
parents | d72cee0607a3 |
children |
comparison
equal
deleted
inserted
replaced
14719:0bdd0d157040 | 14726:92aa6797d639 |
---|---|
116 | 116 |
117 | 117 |
118 # Compiler warnings are treated as errors | 118 # Compiler warnings are treated as errors |
119 WARNINGS_ARE_ERRORS = -Werror | 119 WARNINGS_ARE_ERRORS = -Werror |
120 # Enable these warnings. See 'info gcc' about details on these options | 120 # Enable these warnings. See 'info gcc' about details on these options |
121 WARNING_FLAGS = -Wpointer-arith -Wconversion -Wsign-compare -Wundef -Wformat=2 | 121 WARNING_FLAGS = -Wpointer-arith -Wconversion -Wsign-compare -Wundef -Wformat=2 -Wno-error=format-nonliteral |
122 CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(WARNING_FLAGS) | 122 CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(WARNING_FLAGS) |
123 # Special cases | 123 # Special cases |
124 CFLAGS_WARN/BYFILE = $(CFLAGS_WARN/$@)$(CFLAGS_WARN/DEFAULT$(CFLAGS_WARN/$@)) | 124 CFLAGS_WARN/BYFILE = $(CFLAGS_WARN/$@)$(CFLAGS_WARN/DEFAULT$(CFLAGS_WARN/$@)) |
125 | 125 |
126 # The flags to use for an Optimized g++ build | 126 # The flags to use for an Optimized g++ build |