ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/make_basic.mk
(Generate patch)

Comparing make_basic.mk (file contents):
Revision 1.50 by arta, Fri Jul 31 23:09:32 2009 UTC vs.
Revision 1.51 by arta, Tue Aug 4 02:29:17 2009 UTC

# Line 177 | Line 177 | endif
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
# Line 192 | Line 195 | else
195   FCOMPILER_WARN =
196   endif
197   endif
198 +
199   #***********************************************************************************************#
200  
201  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines