version 1.50, 2009/07/31 23:09:32
|
version 1.51, 2009/08/04 02:29:17
|
|
|
# 310 (remark) - old style function declaration (pre-ANSI) | # 310 (remark) - old style function declaration (pre-ANSI) |
# 981 (remark) - operands are evaluted in unspecified order | # 981 (remark) - operands are evaluted in unspecified order |
| |
|
# list of warnings to turn into errors |
|
ICC_WARNTOERR = -we266 |
|
|
ifeq ($(WARN), 1) | ifeq ($(WARN), 1) |
# Show warnings (always true for a debug build). | # Show warnings (always true for a debug build). |
ICC_WARN = -Winline -Wall -wd1418 -wd1419 -wd310 -wd279 -wd981 -Wno-comment |
ICC_WARN = -Winline -Wall -wd1418 -wd1419 -wd310 -wd279 -wd981 -Wno-comment $(ICC_WARNTOERR) |
GCC_WARN = -Winline -Wall -Wno-comment | GCC_WARN = -Winline -Wall -Wno-comment |
FCOMPILER_WARN = | FCOMPILER_WARN = |
else | else |
# Don't show warnings. | # Don't show warnings. |
ICC_WARN = -w0 -vec-report0 -Wno-comment |
ICC_WARN = -w0 -vec-report0 -Wno-comment $(ICC_WARNTOERR) |
GCC_WARN = -Wno-comment | GCC_WARN = -Wno-comment |
ifeq ($(FCOMPILER), ifort) | ifeq ($(FCOMPILER), ifort) |
FCOMPILER_WARN = -vec-report0 | FCOMPILER_WARN = -vec-report0 |
|
|
FCOMPILER_WARN = | FCOMPILER_WARN = |
endif | endif |
endif | endif |
|
|
#***********************************************************************************************# | #***********************************************************************************************# |
| |
| |