(file) Return to make_basic.mk CVS log (file) (dir) Up to [Development] / JSOC

Diff for /JSOC/make_basic.mk between version 1.51 and 1.52

version 1.51, 2009/08/04 02:29:17 version 1.52, 2009/08/14 18:47:47
Line 60  endif
Line 60  endif
 # #
 # WARNINGS # WARNINGS
 # #
 # No warnings are displayed, by default, for a release build.  # Warnings ARE displayed, by default, for a release build.
 # #
 WARN = 0  WARN = 1
  
 # Builder can request warnings via environment variable (setenv JSOC_WARN 1). # Builder can request warnings via environment variable (setenv JSOC_WARN 1).
 #   The environment variable takes precedence. #   The environment variable takes precedence.
Line 74  WARN = 0
Line 74  WARN = 0
 endif endif
 endif endif
  
 # Warnings are always displayed for a debug build.  
 ifeq ($(DEBUG), 1)  
 WARN = 1  
 endif  
 #***********************************************************************************************# #***********************************************************************************************#
  
  
Line 170  endif
Line 166  endif
 # #
 # WARNINGS # WARNINGS
 # #
 # Disable several warnings/remarks when compiling with icc - icc's Wall is a bit picky, it  # NO LONGER USED - Disable several warnings/remarks when compiling with icc - icc's Wall is a bit picky, it
 # complains about extern declarations in .c files. # complains about extern declarations in .c files.
 #   1418 (remark) - external function definition with no prior declaration #   1418 (remark) - external function definition with no prior declaration
 #   1419 (warning) - external declaration in primary source file #   1419 (warning) - external declaration in primary source file
 #   310 (remark) - old style function declaration (pre-ANSI) #   310 (remark) - old style function declaration (pre-ANSI)
   #   279 ?
 #   981 (remark) - operands are evaluted in unspecified order #   981 (remark) - operands are evaluted in unspecified order
  
 # list of warnings to turn into errors # list of warnings to turn into errors
Line 182  ICC_WARNTOERR = -we266
Line 179  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_WARNTOERR)  ICC_WARN = -Winline -Wall
 GCC_WARN = -Winline -Wall -Wno-comment GCC_WARN = -Winline -Wall -Wno-comment
 FCOMPILER_WARN = FCOMPILER_WARN =
 else else


Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

Karen Tian
Powered by
ViewCVS 0.9.4