177 |
|
# 310 (remark) - old style function declaration (pre-ANSI) |
178 |
|
# 981 (remark) - operands are evaluted in unspecified order |
179 |
|
|
180 |
+ |
# list of warnings to turn into errors |
181 |
+ |
ICC_WARNTOERR = -we266 |
182 |
+ |
|
183 |
|
ifeq ($(WARN), 1) |
184 |
|
# Show warnings (always true for a debug build). |
185 |
< |
ICC_WARN = -Winline -Wall -wd1418 -wd1419 -wd310 -wd279 -wd981 -Wno-comment |
185 |
> |
ICC_WARN = -Winline -Wall -wd1418 -wd1419 -wd310 -wd279 -wd981 -Wno-comment $(ICC_WARNTOERR) |
186 |
|
GCC_WARN = -Winline -Wall -Wno-comment |
187 |
|
FCOMPILER_WARN = |
188 |
|
else |
189 |
|
# Don't show warnings. |
190 |
< |
ICC_WARN = -w0 -vec-report0 -Wno-comment |
190 |
> |
ICC_WARN = -w0 -vec-report0 -Wno-comment $(ICC_WARNTOERR) |
191 |
|
GCC_WARN = -Wno-comment |
192 |
|
ifeq ($(FCOMPILER), ifort) |
193 |
|
FCOMPILER_WARN = -vec-report0 |
195 |
|
FCOMPILER_WARN = |
196 |
|
endif |
197 |
|
endif |
198 |
+ |
|
199 |
|
#***********************************************************************************************# |
200 |
|
|
201 |
|
|